Boost logo

Boost-Build :

Subject: [Boost-build] Build Python Example
From: David Montgomery (davidmontgom_at_[hidden])
Date: 2008-10-21 15:51:59


Hi,
 
I have bjam built using the folowing options....
 
build bjam sh ./build.sh gcc --with-python=/usr
 
I am now trying to build the python "Hello World" app in /boost/python/example/tutorial
 
1) what does "use-project boost" refer to? e.g. /usr/local/include
 
 
# Specify the path to the Boost project. If you move this project,# adjust this path to refer to the Boost root directory.use-project boost#: ../../../.. ;
 
 
2) when I execute bjam...this is the error I get...
 
 bjam/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/tools/build/v2/build/toolset.jam:38: in toolset.using*** argument error* rule gcc.init ( version ? : command * : options * )* called with: ( 3.2: g++-3.2 : : : : : : : )* extra argument g++-3.2/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/tools/build/v2/tools/gcc.jam:87:see definition of rule 'init' being called/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/tools/build/v2/build/project.jam:843: in using/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/libs/python/example/../../../tools/build/v2/user-config.jam:46: in modules.load/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/tools/build/v2/build-system.jam:240: in load-config/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/tools/build/v2/build-system.jam:378: in load-configuration-files/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/tools/build/v2/build-system.jam:506: in load/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/libs/python/example/../../../tools/build/v2/kernel/modules.jam:281: in import/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/libs/python/example/../../../tools/build/v2/kernel/bootstrap.jam:128: in boost-build/home/davidmontgom/Download/boost_oct_2008/boost_1_36_0/libs/python/example/boost-build.jam:7: in module scope[davidmontgom_at_localhost tutorial]$
 
 
 
 



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