[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] configure: error: Unable to find Python development headers


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Steve Freitas <sflist@xxxxxxxxx>
  • Date: Tue, 11 Nov 2014 00:56:01 -0800
  • Delivery-date: Tue, 11 Nov 2014 08:56:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi,

I'm trying to do some bisection to find the cause of my VGA passthrough issues, but gcc 4.9 is throwing too many warnings, all of which are interpreted as errors, which kills the build. So I'm trying to compile with 4.8. Unfortunately, ./configure chokes because it says it can't find Python.h. However, I do have it installed on my system. (Indeed, I have no problem building RELEASE-4.4.1 and 4.5rc-1 with gcc 4.9, it's just problematic at various points between those two versions.)

steve@g2:~/git/xen$ ./configure APPEND_INCLUDES=/usr/include/python2.7/
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
Will build the following subsystems:
  xen
  kernels
  tools
  stubdom
  docs
configure: creating ./config.status
config.status: creating ./config/Toplevel.mk
=== configuring in tools (/home/steve/git/xen/tools)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' 'APPEND_INCLUDES=/usr/include/python2.7/' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... /usr/bin/bison
checking for flex... /usr/bin/flex
checking for perl... /usr/bin/perl
checking for ocamlc... no
checking for ocaml... no
checking for ocamldep... no
checking for ocamlmktop... no
checking for ocamlmklib... no
checking for ocamldoc... no
checking for ocamlbuild... no
checking for ocamlfind... ocamlfind
checking for checkpolicy... no
checking for bash... /bin/bash
checking for python... /usr/bin/python
checking for python version >= 2.3 ... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for python-config... /usr/bin/python-config
checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
configure: error: Unable to find Python development headers
configure: error: ./configure failed for tools

steve@g2:~/git/xen$ ll /usr/include/python2.7/Python.h
-rw-r--r-- 1 root root 4329 Oct  7 11:48 /usr/include/python2.7/Python.h

I'm on Debian Jessie. Any idea what I might be doing wrong?

Thanks!

Steve

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.