[C++-sig] Cygwin Boost.Python Build

Scott A. Smith ssmith at magnet.fsu.edu
Sun May 26 19:32:50 CEST 2002


Hi Dave,

Apparently nobody takes vacations in this group. Me either.
My next attempt (home machine) fails too, but with a new problem!
Thanks to Raoul for detailing how he set his environment up.

To recap-

Fresh Cygwin with Python 2.2, Windows pre-build bjam.exe, patch
from Dave applied, and the following environment variables set:

export PYTHON='C:\cygwin\bin\python.exe'
export PYTHON_ROOT='C:\cygwin\lib\python2.2'
export PYTHON_VERSION='2.2'
export PYTHON_INCLUDES='C:\cygwin\usr\include\python2.2'
export PYTHON_LIB_PATH='C:\cygwin\lib\python2.2\config'
export PYTHON_STDLIB_PATH='C:\cygwin\lib\python2.2'
export GCC_PYTHON_ROOT='C:\cygwin\usr'

In the directory libs/python I issued the command

bjam -sTOOLS=gcc -sBUILD=release

Now I get a problem with missing includes from mpl, for example

.
.
c:/Program
Files/Boost/boost_1_28_0/boost/python/converter/from_python_data.hpp:
10: boost/mpl/select_type.hpp: No such file or directory
.
.

Sure enough, these are not there. I dutifully looked over the mail archives
as I remember someone having similar problems (shame they are not
searchable)
I found this:

> I gather that mpl is something that is newly needed....

> You don't need it today, unless you're trying to build from the
libs/python
> or libs/python/test subdirectories. It's only needed for Boost.Python v2,
> which is prerelease code.

Since I am just using 1.28.0 taken from the Boost site, not from CVS and not
having anything to do with v2, I am again stuck....

Regards,
Scott






More information about the Cplusplus-sig mailing list