Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-08 04:45:07


Hi Jürgen,

> I'm trying to get my automated boost update running without errors and
> found that V2 Jamfile for boost.python does not find my python
> installation.
> Configuration: SuSE 8.2
>
> Python is installed to /usr .
> Headers are in /usr/include/python2.2 (for 2.2)
> and in /usr/include/python2.1 (for 2.1, of course. mmh, why did YaST
> install this ?)
> So I had to make some changes to Jamfile.v2 (see patch attached).

It looks like Jamfile.v2 had "python2.2" parts if directory names not so long
ago, and then Dave accidentally comitted a version which works for Windows,
had no "python2.2" parts, and does not work for Linux.

> V1 has some magic [check-python-config] which autodetects my manual
> changes. It seems V2 need a similar mechanism to detect python version.

Definitely. I think I'll refrain from comitting your patch right now, since
this will break Windows again, and will file an issue. Okay, it's now

http://zigzag.cs.msu.su:7814/scarab/issues/id/BB59

Hopefully, it will be addressed in near future. Maybe, you can try to use your
locally modified version of Jamfile.v2 while this issue is pending?

> Volodya, it seems that my problem with "/usr/include" appearing on gcc
> command line is the usage of boost, which gets includes from
> boost.python usage-requirement. Thats okay.

Ah.. that's good to know.

- Volodya

 


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