Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-02-06 11:48:08


David P. Riedel wrote:

> Hi
>
> I have checked out the latest boost_1_34 RC from svn and am trying to
> build it for the first time. For various reasons,
> I have both gcc and Python in 'non-standard' locations on my linux box.
> For the v1 build system, I used the following command to build the
> libraries
>
> bjam -a --without-wave --without-test
> --prefix=/usr/local/boost-1.34.0_gcc-4.1.1
> --includedir=/usr/local/boost-1.34.0_gcc-4.1.1 "-sTOOLS=gcc"
> "-sGCC_ROOT_DIRECTORY=/usr/local/gcc-4.1.1"
> "-sPYTHON_ROOT=/usr/local/python-2.4.4_gcc-4.1.1" "-sPYTHON_VERSION=2.4"
> stage
>
> This doesn't work with v2 build. The getting started help page still
> seems to have the v1 related information.

The CVS version of getting started is about V2:

        http://boost-consulting.com/boost/more/getting_started/index.html
        
> So my question is: what would be the v2 bjam that corresponds to the v1
> version above?

        bjam -a --without-wave --without-test
        --prefix=/usr/local/boost-1.34.0_gcc-4.1.1
        --includedir=/usr/local/boost-1.34.0_gcc-4.1.1
        toolset=gcc

on the command line and

        using gcc : : /usr/local/gcc-4.1.1/bin/g++ ;
        using python : 2.4 : /usr/local/python-2.4.4_gcc-4.1.1 ;

in your user-config.jam

HTH,
Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net