Boost logo

Boost-Build :

Subject: Re: [Boost-build] Having problem with building with 1.42
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-02-18 11:53:38


On Tuesday 16 February 2010 17:34:41 Avi Bahra wrote:

> I am using bjam to build my application on suse linux. I have defined a
> environment variable BOOST_ROOT, which allows me to switch between
> boost builds. I have used this approach for 1.38, 1.39,1.40.
> I always build the boost libraries I need myself using bjam.
> bjam --build-dir=./tmpBuildDir toolset=gcc stage link=static
> --with-system
> i.e I don't bother with build scripts in $BOOST_ROOT
>
> With 1.42 when I build my application I get an error of the form:
>
> error: Unable to find file or target named
> error: '/var/tmp/ma0/boost/boost_1_
> 42_0/stage/lib/libboost_system.a'
> error: referred from project at
> error: ''

Avi,

this seems to be a problem in Boost.Build that comes with 1.42. At least, I've
managed to reproduce it with 1.42 version, and it's gone after svn up to HEAD.
Can you either:

- grab nightly build from http://boost.org/boost-build2
- apply https://svn.boost.org/trac/boost/changeset/57836 (which is the
  patch that likely fixed this)

Hope this helps,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk