Boost logo

Boost Testing :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-03-15 10:48:18


Vladimir Prus wrote:

> Markus Sch?pflin wrote:
>
>> Vladimir Prus wrote:
>>
>>> Oh, it looks like searching of user-config.jam in BOOST_BUILD_PATH is
>>> broken -- regularly, it's found in the HOME directory.
>> [...]
>>
>>> 3. Try a bit later. The fix is already comitted, but I'm not sure when it
>>> will appears in the CVS snapshot from metacomm. The fix, specifically, is
>>> that line 82 of tools/jam/src/Jambase contains this:
>>>
>>> BOOST_BUILD_PATH = $(BOOST_BUILD_PATH) $(dir:R=$(.boost-build-file:D))
>>> ;
>>>
>>> previously, the order of assigned values was reverse.
>> If I understand you correctly, placing the user-config.jam file into
>> BOOST_BUILD_PATH should now finally work?
>
> Yes, I did not know/realize it's was broken, but not it should really work.

(See also http://permalink.gmane.org/gmane.comp.lib.boost.build/11802)

Hmm, it now only works partially:

> echo $BOOST_BUILD_PATH
/vol2/boost

tools/build/v2/example/hello>
bjam --debug-configuration -n -a --v2 hp_cxx-71_006_tru64

notice: found boost-build.jam at
/vol2/boost/src/boost-HEAD/tools/build/v2/example/boost-build.jam
notice: loading Boost.Build from
/vol2/boost/src/boost-HEAD/tools/build/v2/kernel
notice: loading site-config.jam from
/vol2/boost/src/boost-HEAD/tools/build/v2/site-config.jam
notice: loading user-config.jam from /vol2/boost/user-config.jam
notice: Python include path is /opt/Python-2.4.1/include/python2.4
notice: Python library path is /opt/Python-2.4.1/lib/python2.4/config
notice: Python interpreter is /opt/Python-2.4.1/bin/python

...

libs/filesystem/test>
bjam --debug-configuration -n -a --v2 hp_cxx-71_006_tru64

notice: found boost-build.jam at /vol2/boost/src/boost-HEAD/boost-build.jam
notice: loading Boost.Build from /vol2/boost/src/boost-HEAD/tools/build/v2
notice: loading site-config.jam from
/vol2/boost/src/boost-HEAD/tools/build/v2/site-config.jam
notice: loading user-config.jam from
/vol2/boost/src/boost-HEAD/tools/build/v2/user-config.jam
notice: iostreams: using prebuilt zlib
notice: iostreams: using prebuilt bzip2
warning: Python location is not configured
warning: the Boost.Python library won't be built

...

It finds my user-config.jam in the first case, but not in the second. If I
move the file to my home directory, it's OK in both cases.

Markus


Boost-testing list run by mbergal at meta-comm.com