Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256231 - python: could not find Python headers
Summary: python: could not find Python headers
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 19:37 UTC by Tobias Mayer
Modified: 2009-01-27 16:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.