[Pyrex] Building Pyrex module with Linux

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 10 00:59:15 UTC 2007


Mike Wyatt wrote:

> It looks like GCC can't find Python.h.  

> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall 
> -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c test.c -o 
> build/temp.linux-x86_64-2.5/test.o

Does /usr/include/python2.5 contain Python.h? If not,
you might need to install the relevant "developer" package
for Python.

--
Greg



More information about the Pyrex mailing list