Boost logo

Boost-Build :

From: Jeff Holle (jeff.holle_at_[hidden])
Date: 2004-01-22 23:18:23


First, thanks for the response.
Second, I now realize that my previous environment settings were wrong.
They have been changed to:
BOOST_ROOT=/home/jholle/boost_CVS/boost
BOOST_BUILD_PATH=/home/jholle/boost_CVS/boost/tools/build/v1
Third, the boost-build.jam and Jamrules files that I have at the root of
my project directory are attached.
Fourth, the output of running bjam from my project directory is:

/home/jholle/boost_CVS/boost/tools/build/v1/boost-base.jam:904: in
fixup-path-properties
*** argument error
* rule root-paths ( paths * : root )
* called with: ( <sysinclude> : )
* missing argument root
/home/jholle/boost_CVS/boost/tools/build/v1/allyourbase.jam:1441:see
definition of rule 'root-paths' being called
/home/jholle/boost_CVS/boost/tools/build/v1/boost-base.jam:1154: in
expand-build-request
/home/jholle/boost_CVS/boost/tools/build/v1/boost-base.jam:1918: in
expand-target-subvariants
/home/jholle/boost_CVS/boost/tools/build/v1/boost-base.jam:1957: in
main-target
/home/jholle/boost_CVS/boost/tools/build/v1/boost-base.jam:1304: in
declare-local-target
/home/jholle/boost_CVS/boost/tools/build/v1/python.jam:419: in extension
Jamfile:8: in load-jamfiles
/home/jholle/boost_CVS/boost/tools/build/v1/bootstrap.jam:15: in boost-build
/home/jholle/UMLPlus/pythonExtTest/boost-build.jam:3: in module scope

Rene Rivera wrote:

>
> Jeff Holle wrote:
>
> > I am getting frustrated attempting to use bjam outside of the boost
> > directory tree.
> >
> > My system is Mandrake Linux 9.1.
> >
> > I'm using the CVS head of boost obtained a few days ago.
> > Boost was built successfully with gcc v3.3 and testing boost::python
> > against python 2.3.2 seems to work. At least the getting_started2
> > extension module builds and works satisfactory.
> >
> > My bjam reports with -v:
> > Boost.Jam Version 3.1.9. OS=LINUX.
> > Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
> > Copyright 2001 David Turner.
> > Copyright 2001-2002 David Abrahams.
> >
> > Now I'm stuck attempting to use my project directory, which is outside
> > of the boost directory.
> >
> > Boost related environment variables are:
> > BOOST_ROOT=/home/jholle/boost_CVS
> > BOOST_BUILD_PATH=/home/jholle/boost_CVS/boost/tools/build/v1
> >
> > I attempted to employ the project.zip file obtained from the boost
> > website and have changed it to reflect my environment as follows:
> >
> > boost-build.jam:
> > BOOST_ROOT = $(BOOST_ROOT) ;
> > boost-build $(BOOST_BUILD_PATH) ;
> > Jamrules:
> > path-global BOOST_ROOT : $(BOOST_ROOT) ;
> >
> > Could somebody point out what I'm doing wrong?
>
> If you could shows a bit more detail I'm sure we can help. What kind
> of errors
> are you getting? What are you trying to do? Are you trying to use a Boost
> library from your project? Or just use Boost.Build for your project?
>
> I think I can guess some of the answers myself but knowing what is
> going wrong
> is probably the key ;-)
>
>
> --
> -- Grafik - Don't Assume Anything
> -- Redshift Software, Inc. - http://redshift-software.com
> -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> <http://rd.yahoo.com/SIG=12c1cf4pa/M=267637.4116730.5333196.1261774/D=egroupweb/S=1707281907:HM/EXP=1074909306/A=1945638/R=0/*http://www.netflix.com/Default?mqso=60178383&partid=4116730>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/jamboost/
>
> * To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
> <mailto:jamboost-unsubscribe_at_[hidden]?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
 --------------000809040100080008010901 Content-Type: text/plain;
name="boost-build.jam"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="boost-build.jam"

# Specify path to the boost build system
BOOST_ROOT = $(BOOST_ROOT) ;
boost-build $(BOOST_BUILD_PATH) ;
 --------------000809040100080008010901 Content-Type: text/plain;
name="Jamrules"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Jamrules"

# Top level Jamrules

# See tools/build/index.html for documentation.

# Set some important global variables if they haven't already been set by the
# user on the command-line or in the environment

# Establish the root of the boost installation. Most targets will want
# $(BOOST_ROOT) in their #include path. $(gTOP) is the name of the variable
# containing the path from the invocation directory to the project root.
path-global BOOST_ROOT : $(BOOST_ROOT) ;

 --------------000809040100080008010901--


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