Boost logo

Boost-Build :

Subject: Re: [Boost-build] python building errors
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-05-11 04:00:36


Sumit Ray wrote:
> Hi,
>
> I'm trying to build boost 1.43.0 on Ubuntu Karmic Linux environment on
> an x86 architecture machine. The compiler is gcc version 4.4.1. I'm
> getting a lot of python related build errors. I have Python 2.6.4
> installed on the machine. Here are the first few errors:
>
> gcc.compile.c++
> bin.v2/libs/python/build/gcc-4.4.1/release/threading-multi/numeric.o
> In file included from ./boost/python/detail/prefix.hpp:13,
> from ./boost/python/numeric.hpp:8,
> from libs/python/src/numeric.cpp:6:
> ./boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No
> such file or directory

You don't have python headers installed. Search for libpython-dev package
or some such (I am not on Kubuntu right now, so can't tell the exact name).

- 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