Tiny Core Extensions > TCE Q&A Forum

{SOLVED} Compiling pygtk-2,12,1 error headers not found.

(1/5) > >>

kagashe:
I am trying to compile pygtk-2.12.1 and getting error:

--- Quote ---Checking for headers required to compile python extensions... not found
configure: error: could not find Python headers.

--- End quote ---
I have loaded python and python-devs

kagashe

This is how it was solved:
I used python and python-dev .tce packages instead .tcz and the headers were detected. I don't know why it did not work on .tcz although, headers were in the same location.

Jason W:
I assume you also issued:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

That is of course needed when building against most extensions.

kagashe:

--- Quote from: Jason W on December 22, 2008, 10:22:18 AM ---I assume you also issued:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

That is of course needed when building against most extensions.

--- End quote ---
yes.

kagashe

Jason W:
I am not on TC now and won't be until Friday, but one more thought would be to

export CPPFLAGS="-I/usr/local/include"

if the Python.h is under /usr/local/include. 

kagashe:

--- Quote from: Jason W on December 22, 2008, 11:03:14 AM ---I am not on TC now and won't be until Friday, but one more thought would be to

export CPPFLAGS="-I/usr/local/include"

if the Python.h is under /usr/local/include. 

--- End quote ---
it is at /usr/local/include/python2.5

kagashe

Navigation

[0] Message Index

[#] Next page

Go to full version