Boost logo

Boost :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-02-14 10:53:10


[2003-02-14] Neal D. Becker wrote:

>On Friday 14 February 2003 10:25 am, Vladimir Prus wrote:
>[...]
>> > Oh, I see. But this doesn't get installed by any RPM. Should it?
What
>> > is the minimum needed to install in order to be able to play with 3rd
>> > party boost packages?
>>
>> I'm afraid that full tree is needed now and I'm not sure what can be done
>> about it now. I think that for Boost.Build V2 will just have a separate
rpm
>> which would allow building 3rd party packages. This might be possible
>> with V1, although I'm not sure I have the time (and access to Redhat box
>> ;-) )
>>
>
>OK, I installed the whole boost src tree as /usr/local/src/boost_1_29_0
>
>I installed my 3rd party package in my home directory, as
~/program_options.
>
>Now let's try:
>
>cd ~/program_options/libs/program_options/build
>BOOST_BUILD_PATH=/usr/local/src/boost_1_29_0 bjam
>.../../../Jamrules: No such file or directory
>....found 69 targets...
>....updating 11 targets...
>MkDir1 ../../../libs/program_options/build/bin
>MkDir1 ../../../libs/program_options/build/bin/libprogram_options.a
>MkDir1 ../../../libs/program_options/build/bin/libprogram_options.a/gcc
>MkDir1
../../../libs/program_options/build/bin/libprogram_options.a/gcc/debug
>MkDir1
>.../../../libs/program_options/build/bin/libprogram_options.a/gcc/debug/runtime-link-dynamic
>gcc-C++-action
>.../../../libs/program_options/build/bin/libprogram_options.a/gcc/debug/runtime-link-dynamic/cmdline.o
>.../src/cmdline.cpp:19:45: boost/program_options/cmdline.hpp: No such file
or
>directory
>.../src/cmdline.cpp:20:44: boost/program_options/errors.hpp: No such file
or
>directory
>[...]
>
>Well, that doesn't work. Is it possible to build 3rd party packages like
this
>outside the boost tree?

As you can see from the errors themselves, the answer for that particular
package is no. It is expecting you to put it into the boost tree.

In general it is possible to build anything with Boost.Build outside of the
Boost tree, I do this many time daily in my project ;-) The problem is that
the "project_options" package you have has a Jamfile which doesn't work
outside of the Boost tree.

Perhaps you could show us the content of the Jamfile, or tell us where to
get that package so we can see how it's structured. But please reply to the
jamboost_at_[hidden] list, as that's a more appropriate list for build
issues.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk