Boost logo

Boost-Build :

Subject: Re: [Boost-build] path-constant in Jamroot does not work in subdirs
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-07-12 14:46:47


AMDG

On 07/07/2012 11:56 AM, Andrej van der Zee wrote:
> Cau Jurko,
>
> Sorry for the late reply.
>
>>> Note though that your project is not self-contained and it depends on
>>> targets defined in your site-config.jam file. Could you try to reduce it so
>>> it does not?
>
> I made a self-contained project that shows the strange problem that
> started about half a year ago. My apologies for sending you the
> non-self-contained project before, I should have stripped it to the
> bone. I did now, if you find the time, please look at the attachment.
>
> This is the projects's directory structure:
>
> andrej_at_amd64:~/bjam-problem$ tree
> .
> ├── cgi
> │ ├── base
> │ │ ├── Jamfile
> │ │ └── test.cpp
> │ └── Jamfile
> └── Jamroot
>
> Only when I run bjam from the "bjam-problem/cgi" directory I get the
> following error (in dirs "bjam-problem" and "bjam-problem/cgi/base" is
> works fine):
>
> andrej_at_amd64:~/bjam-problem/cgi$ bjam
> ../cgi/base/Jamfile:6: in modules.load
> *** argument error
> * rule install ( name : sources * : requirements * : default-build * )
> * called with: ( : test )
> * missing argument name
> <snip>
>
> What am I doing wrong?
>

This looks similar to the problem that
I fixed in r75407. Your project seems
to work with with the trunk_at_79340.
What version of Boost.Build are you
using exactly?

In Christ,
Steven Watanabe


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