|
Boost Users : |
Subject: [Boost-users] build without python
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2013-01-10 13:00:01
Hello,
I try to build Boost with MPI on a system and I get errors, because Boost try to build python also.
I run b2 and I build with the --with option the following libraries
Performing configuration checks
- gcc visibility : yes
- long double support : yes
- has_icu builds : no
Component configuration:
- chrono : not building
- context : not building
- date_time : building
- exception : building
- filesystem : building
- graph : not building
- graph_parallel : not building
- iostreams : building
- locale : not building
- math : building
- mpi : building
- program_options : building
- python : not building
- random : building
- regex : building
- serialization : building
- signals : not building
- system : building
- test : not building
- thread : building
- timer : not building
- wave : not building
The b2 command is: --with-exception --with-math --with-system --with-iostreams --layout=system link=shared runtime-link=shared threading=multi variant=release install --prefix=../build_release/boost/1.52.0 --with-regex --with-random --with-thread --with-date_time --with-program_options --with-filesystem --with-mpi --with-serialization
The build process breaks with the error eg:
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.6/release/threading-multi/long.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.6/release/threading-multi/dict.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/dict.hpp:8,
from libs/python/src/dict.cpp:4:
./boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory
compilation terminated.
If I mix --with and --without option on the b2 command I get the error: error: both --with-<library> and --without-<library> specified
How can I disable any Python builds?
Thanks
Phil
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net