Boost logo

Boost Users :

Subject: Re: [Boost-users] newbie question on quickbook install
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-12-17 13:59:06


Christof Warlich wrote:

> Hi,
>
> I'd like to use quickbook to document my project, but failed
> to install it on my system (Ubuntu Hardy Heron). When I run
> bjam --v2 in BOOST_ROOT/tools/quickbook, I get:
>
> generate.jam: No such file or directory
> ../../Jamroot:383: in modules.load
> *** argument error
> * rule path.glob ( dirs * : patterns + )
> * called with: ( boost/tr1/tr1 : * : bcc32 sun CVS .svn )
> * extra argument bcc32
> /usr/share/boost-build/util/path.jam:223:see definition of rule 'glob'
> being called
> /usr/share/boost-build/build/project.jam:312: in load-jamfile
> /usr/share/boost-build/build/project.jam:68: in load
> /usr/share/boost-build/build/project.jam:120: in load-parent
> /usr/share/boost-build/build/project.jam:447: in initialize
> /usr/share/boost-build/build/project.jam:301: in load-jamfile
> /usr/share/boost-build/build/project.jam:68: in load
> /usr/share/boost-build/build/project.jam:120: in load-parent
> /usr/share/boost-build/build/project.jam:447: in initialize
> /usr/share/boost-build/build/project.jam:301: in load-jamfile
> /usr/share/boost-build/build/project.jam:68: in load
> /usr/share/boost-build/build/project.jam:170: in project.find
> /usr/share/boost-build/build-system.jam:148: in load
> /usr/share/boost-build/kernel/modules.jam:261: in import
> /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
> /home/christof/work/boost/boost_1_37_0/boost-build.jam:16: in module scope
>
> Can anyone help?

Yes, please use bjam from Boost, not whatever version Ubuntu has. That
version has a bug that causes your build to use system-wide Boost.Build
install, whereas C++ Boost explicitly tries to use bundled version.
System-wide Boost.Build is too old.

- 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