Boost logo

Boost-Build :

From: Jeffrey Holle (jeffreyholle_at_[hidden])
Date: 2006-04-17 21:24:01


Note: I previously attempted to send this to
"gmane.comp.lib.boost.build" and "gmane.comp.lib.boost.user" with
errors, message wasn't accepted.

I have moved from Mandrake Linux to Ubuntu Linux.
With Mandrake, I used boost 1.32.0 and employed bjam successfully in a
foreign directory tree.

Now, with Ubuntu running bjam from a foreign directory isn't working.
I've installed boost 1_33_1 and defined:
   BOOST_ROOT=/home/jholle/boost_1_33_1
   BOOST_BUILD_PATH=/home/jholle/boost_1_33_1/tools/build/v2

I also have a project-root.jam file in my root project directory with
this contents:
   path-constant BOOST_ROOT : . ;

I have commented out the "using gcc ;" line in user-config.jam, because
I'm using gcc (4.0.1).

The jamfile that I'm trying to use is taken from
$BOOST_ROOT/libs/multi_index/example, slightly modified.
I've alternately trying the first active line in this Jamfile to be:
   * subproject testMultiIndex ;
   * project testMultiIndex ;
   * exe basic (without either "subproject" or "project")

When bjam is run against this file, I get these errors:

/home/jholle/boost_1_33_1/tools/build/v2/build/feature.jam:193: in
feature.attributes from module feature
error: "" is not a valid feature name
/home/jholle/boost_1_33_1/tools/build/v2/build/property.jam:409: in
property.translate-paths from module property
/home/jholle/boost_1_33_1/tools/build/v2/build/property-set.jam:375: in
property-set.create-from-user-input from module property-set
/home/jholle/boost_1_33_1/tools/build/v2/build/targets.jam:1293: in
targets.main-target-requirements from module targets
/home/jholle/boost_1_33_1/tools/build/v2/build/targets.jam:1364: in
targets.create-typed-target from module targets
/home/jholle/boost_1_33_1/tools/build/v2/build/type.jam:323: in exe from
module type
Jamfile:53: in modules.load from module
Jamfile</home/jholle/UMLPlus/testMultiIndex>
/home/jholle/boost_1_33_1/tools/build/v2/build/project.jam:306: in
load-jamfile from module project
/home/jholle/boost_1_33_1/tools/build/v2/build/project.jam:68: in load
from module project
/home/jholle/boost_1_33_1/tools/build/v2/build/project.jam:164: in
project.find from module project
/home/jholle/boost_1_33_1/tools/build/v2/build-system.jam:136: in load
from module build-system
/home/jholle/boost_1_33_1/tools/build/v2/kernel/modules.jam:259: in
import from module modules
/home/jholle/boost_1_33_1/tools/build/v2/kernel/bootstrap.jam:153: in
boost-build from module
/home/jholle/boost_1_33_1/tools/build/v2/boost-build.jam:2: in module
scope from module

What am I doing wrong?


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