I am using bjam to build my application on suse linux. I have defined a<br>
environment variable BOOST_ROOT, which allows me to switch between<br>
boost builds. �I have used this approach for 1.38, 1.39,1.40.<br>
I always build the boost libraries I need myself using bjam.<br>
 � �bjam --build-dir=./tmpBuildDir toolset=gcc stage link=static<br>
--with-system<br>
i.e I don&#39;t bother with build scripts in $BOOST_ROOT<br>
<br>
With 1.42 when I build my application I get �an error of the form:<br>
<br>
error: Unable to find file or target named<br>
error: � � &#39;/var/tmp/ma0/boost/boost_1_<div id=":j0" class="ii gt">42_0/stage/lib/libboost_system.a&#39;<br>
error: referred from project at<br>
error: � � &#39;&#39;<br>
<br>
The error is very misleading because the file exists?<br>
When I switch back, to 1.39/1.40 there are no problems.<br>
<br>
This is what my boost-build.jam look like:<br>
--------------------------------------------------------------------------------<br>
BOOST_BUILD = [ MATCH --boost-build=(.*) : $(ARGV) ] ;<br>
BOOST_BUILD ?= $(BOOST_ROOT)/tools/build/v2 ;<br>
boost-build $(BOOST_BUILD) ;<br>
<br>
<br>
Here is jam file for my leaf project:<br>
----------------------------------------------------------------------------<br>
<br>
exe test : [ glob src/*.cpp �]<br>
 � � � � � /site-config//boost_system<br>
 � � � � � /site-config//boost_serialization<br>
 � � � � �: &lt;include&gt;../SCRATCH/src<br>
 � � � � � �&lt;variant&gt;debug:&lt;define&gt;DEBUG<br>
 � � � � ;<br>
--------------------------------------------------------------------------<br>
<br>
Notice that I reference /site-config// to reference the boost libs.<br>
for some reason in 1.42 �this fails !<br>
<br>
My site-config.file which is located in $BOOST_ROOT/tools/build/v2<br>
is of the form:<br>
------------------------------------------------------------------------<br>
import os ;<br>
local BOOST_ROOT = [ os.environ BOOST_ROOT ] ;<br>
<br>
lib boost_serialization : :<br>
&lt;file&gt;$(BOOST_ROOT)/stage/lib/libboost_serialization.a ;<br>
lib boost_system : : � �&lt;file&gt;$(BOOST_ROOT)/stage/lib/libboost_system.a ;<br>
<br>
project site-config<br>
 � �: requirements &lt;include&gt;$(BOOST_ROOT)<br>
 � �;<br>
using gcc ;<br>
using testing ;<br>
--------------------------------------------------------------------<br>
<br>
My site-config.jam is the same between 1.40 and 1.42. There is<br>
probably a silly mistake on my part somewhere, but its preventing me<br>
from moving to 1.42.<br>
<br>
Any help appreciated.<br>
<br>
 �Best regards,<br>
Ta,<br>
 � Avi</div><br>