[pkg-boost-devel] Bug#427445: Path of python include (*.h) files inconsistent

aerusso aerusso at andrew.cmu.edu
Mon Jun 4 03:43:47 UTC 2007


Package: libboost-python-dev
Version: 1.34.0-1
Severity: normal

--- Please enter the report below this line. ---
When including  /usr/include/boost/python/detail/wrap_python.hpp,
on line 50:

 > pyconfig.h: No such file or directory

which is the expected behavior, indeed the include line reads:

 > # include <pyconfig.h>

while pyconfig.h, differing between versions 2.4 and 2.5, is only
found at (at least on _my_ install of debian)

 > /usr/include/python2.{4,5}/pyconfig.h

patchlevel.h and Python.h are also incorrectly referenced from
wrap_python.h (in an analogous fashion).

Since the upstream wrap_python is identical, either this an upstream
bug (and these files are indeed located as expected for a standard
Python install), OR this is a bug against python2.* (i.e., there
should be symlinks from /usr/include{pyconfig,patchlevel,etc.}.h
to the relevant /usr/include/python2.5 ).

I may also just have some botched path (I am not a c guru).

Thanks for your time,
Antonio Russo

--- System information. ---
Architecture:
Kernel:       Linux 2.6.18-4-686

Debian Release: lenny/sid
   990 testing         ftp.debian.org
   800 unstable        ftp.us.debian.org

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
                         |





More information about the pkg-boost-devel mailing list