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

Bug 19256

Summary: python-2.2.2 is missing links
Product: Gentoo Linux Reporter: Peter Ruskin <aoyu93>
Component: [OLD] Core systemAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.4_rc2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Ruskin 2003-04-13 15:13:47 UTC
I was building an app that needed python, it had a header file that said:
#include <python/Python.h>
    so it failed to build because it couldn't find Python.h

Gentoo, like Mandrake, has python-2.2.2 installed in /usr/include/python2.2 and
/usr/lib/python2.2

To make this app build I had to
ln -s /usr/lib/python2.2 /usr/lib/python
ln -s /usr/include/python2.2 /usr/lib/python/include
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-04-14 05:56:38 UTC
those links should not exist. what app were you building that required this? it seems to be a problem with the app itself rather than with the python installation paths.
Comment 2 Peter Ruskin 2003-04-14 08:14:49 UTC
hk_classes-0.6-pre3 (see Bug #13452).  I have informed the author Horst Knorr.
Comment 3 Peter Ruskin 2003-04-14 14:36:29 UTC
The author of the application has now fixed this.  Sorry to have wasted your time
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-04-15 05:33:27 UTC
no problems. i was looking at the hk-classes ebuild you wrote but couldn't find it was depending on python in the DEPENDs at all. so i was a little confused as to what was happening.