[Python-modules-team] Bug#632508: pythonmagick: FTBFS with Python 2.7: fatal error: pyconfig.h: No such file or directory

Jakub Wilk jwilk at debian.org
Sun Jul 3 00:16:59 UTC 2011


Source: pythonmagick
Version: 0.9.1-3
Severity: important
User: debian-python at lists.debian.org
Usertags: python2.7

When rebuilt against python-dev 2.7.2-1 (from experimental), 
pythonmagick FTBFS:
| checking for a Python interpreter with version >= 2.4... python
| checking for python... /usr/bin/python
| checking for python version... 2.7
| checking for python platform... linux2
| checking for python script directory... ${prefix}/lib/python2.7/dist-packages
| checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
| checking for pkg-config... /usr/bin/pkg-config
| checking pkg-config is at least version 0.9.0... yes
| checking whether to enable maintainer-specific portions of Makefiles... no
| checking for boostlib >= 1.20.0... yes
| checking for python build information...
| checking for python2.6... no
| checking for python2.5... no
| checking for python2.4... no
| checking for python2.3... no
| checking for python2.2... no
| checking for python2.1... no
| checking for python... python
| checking for main in -lpython... no
| checking python/Python.h usability... no
| checking python/Python.h presence... no
| checking for python/Python.h... no
|   results of the Python check:
|     Binary:      python
|     Library:     no
|     Include Dir: no
| checking whether the Boost::Python library is available... no
| checking for MAGICKCORE... yes
| checking for MAGICKPP... yes
| checking for stdbool.h that conforms to C99... yes
| checking for _Bool... yes
| checking for an ANSI C-conforming const... yes
| checking for size_t... yes
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating helpers_src/Makefile
| config.status: creating pythonmagick_src/Makefile
| config.status: creating config/config.h
| config.status: executing depfiles commands
| config.status: executing libtool commands
|    dh_auto_build
| make[1]: Entering directory `/build/pythonmagick-Y_ZLgu/pythonmagick-0.9.1'
| Making all in pythonmagick_src
| make[2]: Entering directory `/build/pythonmagick-Y_ZLgu/pythonmagick-0.9.1/pythonmagick_src'
| /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../config    -I -I/usr/include -fopenmp -I/usr/include/ImageMagick   -g -O2 -DBOOST_PYTHON_DYNAMIC_LIB -c -o libpymagick_la-_DrawableFillRule.lo `test -f '_DrawableFillRule.cpp' || echo './'`_DrawableFillRule.cpp
| libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../config -I -I/usr/include -fopenmp -I/usr/include/ImageMagick -g -O2 -DBOOST_PYTHON_DYNAMIC_LIB -c _DrawableFillRule.cpp  -fPIC -DPIC -o .libs/libpymagick_la-_DrawableFillRule.o
| In file included from /usr/include/boost/python/detail/prefix.hpp:13:0,
|                  from /usr/include/boost/python/args.hpp:8,
|                  from /usr/include/boost/python.hpp:11,
|                  from _DrawableFillRule.cpp:3:
| /usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
| compilation terminated.
| make[2]: *** [libpymagick_la-_DrawableFillRule.lo] Error 1
| make[2]: Leaving directory `/build/pythonmagick-Y_ZLgu/pythonmagick-0.9.1/pythonmagick_src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/build/pythonmagick-Y_ZLgu/pythonmagick-0.9.1'
| dh_auto_build: make -j1 returned exit code 2
| make: *** [build] Error 2

-- 
Jakub Wilk





More information about the Python-modules-team mailing list