On Tue, Oct 21, 2008 at 12:13 PM, Vladimir Prus <ghost@cs.msu.su> 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
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
-n Detecting Python version...
2.5
-n Detecting Python root...
/System/Library/Frameworks/Python.framework/Versions/2.5
-n Unicode/ICU support for Boost.Regex?...
not found.
Generating Boost.Build configuration in user-config.jam...
Generating Makefile...

mtec-hg-docking-1-dhcp-232:boost_1_36_0 JuWie$ sudo make install
Password:
./tools/jam/src/bin.macosxx86/bjam  --user-config=user-config.jam --prefix=/usr/local --exec-prefix=/usr/local --libdir=/usr/local/lib --includedir=/usr/local/include  install


and I set the env variable
mtec-hg-docking-1-dhcp-232:include JuWie$ DYLD_LIBRARY_PATH=/usr/local/lib/:${DYLD_LIBRARY_PATH}
mtec-hg-docking-1-dhcp-232:include JuWie$ export DYLD_LIBRARY_PATH


how do I find out about the timestamp of the boost library which I am using?
I downloaded it yesterday at 7:20 PM from this page and the folder boost_1_36_0 was created on the 14 Aug at 2:40 PM. does this answer your question?

Judith