
21 Feb
2011
21 Feb
'11
12:45 p.m.
On Sun, Feb 20, 2011 at 11:08 PM, Dave Abrahams <dave@boostpro.com> wrote:
On Debian with GCC 4.5.2 x86_64-linux, build of several targets fails with the following message:
./boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory
That means bjam can't find Python (is it installed?) I suggest examining the output of bjam with --debug-configuration and also the site-/user-config.jam files.
Yep, Python is installed in /opt/..., updating site-config.jam with using python helped to solve the issue. The .tar.bz2 also bootstraps and builds on Vista with Cygwin + GCC 4.5.1 and the .zip bootstraps and builds with MSVC 9.0 on Vista, without problems. Matus