Boost logo

Boost-Build :

Subject: Re: [Boost-build] building boost.python
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2015-05-08 14:09:53


On 08/05/15 02:01 PM, Steven Watanabe wrote:
> AMDG
>
> On 05/08/2015 11:45 AM, Stefan Seefeld wrote:
>> Is there a way for bjam (or boost.build) to detect the multiple
>> initialization, and simply skip all but the first ?
>>
> It's definitely possible to implement.
>
>>>> As to the stand-alone build: should I just remove the boost-build.jam
>>>> file entirely?
>>> I think so. If you're working inside
>>> the boost tree, then you'll pick up
>>> BOOST_ROOT/boost-build.jam.
>> Er, if I'm building stand-alone, I'm not inside the boost tree, and thus
>> there is no boost-build.jam.
>>
> Sorry, I didn't finish this statement. If you're
> building standalone, then you should be using
> an installed Boost.Build which doesn't need
> boost-build.jam.

OK, fair enough.

>>>> That yields the error "error: Unable to load Jamfile."
>>>> (Do I really need both a Jamfile and a Jamroot ?)
>>>>
>>> No. Is there any more to the error message?
>> The full error is:
>>
>> /usr/share/boost-build/build/project.jam:262: in find-jamfile from
>> module project
>> error: Unable to load Jamfile.
>> error: Could not find a Jamfile in directory '../../..'.
> in python/example/Jamroot:
> # Specify the path to the Boost project. If you move this project,
> # adjust this path to refer to the Boost root directory.
> use-project boost
> : ../../.. ;

Hah, and ironically the backtrace of the error message didn't even
mention that file.

What would I replace the above with to make this independent of the
"boost" project ? (What does "boost project" even mean in this context ?)

Many thanks,
       Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

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