Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 256231

Summary: python: could not find Python headers
Product: Gentoo Linux Reporter: Tobias Mayer <mayer.tobias>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tobias Mayer 2009-01-24 19:37:33 UTC
Any ebuild compiling against Python fail during ./configure with:

...
configure: error: could not find Python headers

after having upgraded from Python-2.4 to -2.5
Comment 1 Tobias Mayer 2009-01-24 19:42:46 UTC
the problem seems to be, that python-config still points to /usr/bin/python-config-2.4, so redirecting the symlink to /usr/bin/python2.5-config solves this issue.
However shouldn't the configure script work around those things?
And I think either the python ebuild or python-updater should take care of this.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-27 16:10:29 UTC
Please run python-updater and try again (the elog info should have advised you to do so). If that doesn't solve the problem, please post your `emerge --info' and reopen this bug report.