Boost logo

Boost-Build :

Subject: Re: [Boost-build] prototyping alternative Boost.Build syntax
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2016-10-28 14:50:57


On 28.10.2016 14:22, Stefan Seefeld wrote:
> So I have built 'b2' with `./build.sh --python`
> Now, from inside the 'example/hello' directory, I invoke 'b2' and get
>
> $ ../../src/engine/bin.linuxx86_64/b2 --python -d2
> Boost.Build V2 Python port (experimental)
> /home/stefan/projects/boost.build/example/../src/kernel/bootstrap.jam:246:
> in boost-build
> ERROR: rule "PYTHON_IMPORT_RULE" unknown in root module.
> /home/stefan/projects/boost.build/example/boost-build.jam:6: in module scope
>
> What am I missing ?

Turns out the build silently ignored my --python option (and
--with-python=/usr failed, as build.jam didn't look for libpython2.7.so
in /usr/lib64 but only in /usr/lib.

OK, I hacked my way through this...

        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