Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem with Install Rule
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-21 06:57:26


On Tuesday 21 October 2008 14:44:05 Judith Wiesinger wrote:
> On Tue, Oct 21, 2008 at 12:13 PM, Vladimir Prus <ghost_at_[hidden]> wrote:
>
> > On Tuesday 21 October 2008 13:22:05 William Marié wrote:
> > >
> > > Hi,
> > >
> > > I have a problem with a really simple code, bjam keeps installing targets
> > > even if they are up to date :
> > >
> > > Here are the files i'm using :
> > >
> > > boost-build.jam
> > > boost-build ../source/trunk/libs/boost/tools/build/v2/kernel ;
> > >
> > >
> > > Jamroot
> > > use-project boost : ../source/trunk/libs/boost ;
> > >
> > > # Project Configuration
> > > project
> > > : build-dir build
> > > : requirements
> > > <include>.
> > > <dependency>/boost/system/<link>shared
> > > <dependency>/boost/filesystem/<link>shared
> > >
> > > : source-location
> > > .
> > > ;
> > >
> > > install system : /boost/system :
> > > <location>.
> > >
> > > <install-type>SHARED_LIB
> > > ;
> > >
> > > install filesystem : /boost/filesystem :
> > > <location>.
> > >
> > > <install-type>SHARED_LIB
> > > ;
> > >
> > > lib test : main.cpp ;
> > >
> > >
> > > main.cpp
> > > void main(int argc, char** argv )
> > > {
> > >
> > > }
> > >
> > >
> > > I'm using the actual boost trunk.
> > >
> > > if you try to run bjam with these files it will always re-install
> > > boost-system, and then relink test.dll
> > >
> > > Can someone tell me if this behavior is normal and what do i have to do
> > to
> > > make it work properly ?
> >
> > I don't get this behaviour, but I'm on linux. Does removing either
> > filesystem,
> > or system, from Jamfile still exposes the problem? I would like to find a
> > minimal project. Can you add -d+12 option to bjam invocation that should do
> > nothing, but installs those extra files and post it? What version of bjam
> > are you using? What are the timestamps of the boost.system library that is
> > installed, and the one that is built?
> >
> > - Volodya
> >
>
> hello Volodya,
>
> could you, please, be a bit more precise? in which file do I have to change
> what and where?
>
> I can take any sample project (which uses boost and not just the
> headerfiles, e.g.#include <boost/lambda/lambda.hpp>) and I still get the
> same error msg.
>
> for the installation I followed this
> guide<http://www.boost.org/doc/libs/1_36_0/more/getting_started/unix-variants.html>
> mtec-hg-docking-1-dhcp-232:boost_1_36_0 JuWie$ ./configure
> -n Building Boost.Jam with toolset darwin...
> tools/jam/src/bin.macosxx86/bjam

It looks like there's some confusion here. The email you respond to deals with
some files been installed every time. You message seem to talk about some
installation problem on OSX. Did you respond to a wrong email accidentally,
or I just fail to see the connection?

- Volodya


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