Boost logo

Boost-Build :

From: John Maddock (john_at_[hidden])
Date: 2003-10-13 05:40:32


> Well it took me a while to figure this one out. And as it turns out it's
not
> a bug in Boost.Build. The problem is in the way you are expecting
<template>
> to work. The basic problem is that you are refering to templates as global
> entities:
>
> <template>regex-options
>
> But templates are targets, and have to be referenced just like other
> targets. And they live in a single sub-project (Jamfile). To fix the
problem
> you should:

OK thanks for that, I've put the templates in libs/regex/build/Jamfile and
referenced them from there (and removed base.jam altogether).

However I now see:

/cygdrive/c/data/boost/develop/boost/libs/regex/base.jam: No such file or
directory

When building from the build_for_distribution revision of boost-root/Jamfile
*only*; it's fine from the regular boost-root/Jamfile. I've searched high
and low for anything left that may still be including that file and I simply
can't find anything. Any ideas on how to track this down?

At the same time I see:

Jamfile:119: in load-jamfiles
*** argument error
* rule install-subinclude ( jamfiles + : options * )
* called with: ( : )
* missing argument jamfiles
c:\data\boost\develop\boost\tools/build\boost-base.jam:2606:see definition
of rule 'install-subinclude' being called
c:\data\boost\develop\boost\tools\build\bootstrap.jam:15: in boost-build
c:\data\boost\develop\boost\boost-build.jam:17: in module scope

when building from the build_for_distribution Jamfile with vc7.1

Could be a forward/backward slash problem.

Thanks,

John.

 


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