Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184553 - dev-lang/python-2.4.4 python-config add --includes support
Summary: dev-lang/python-2.4.4 python-config add --includes support
Status: RESOLVED DUPLICATE of bug 188029
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-07 23:13 UTC by Florian Steinel
Modified: 2007-08-24 07:39 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 Florian Steinel 2007-07-07 23:13:19 UTC
With gnome-python-2.19 and gnome-python-desktop-2.19 expect "python-config --includes" to return the include path "-I/usr/includes/python2.4".

I changed python-config-2.4 so it looks like:
#!/usr/bin/python
import sys, distutils.sysconfig, string

mode="normal"
for arg in sys.argv:
  if arg in "--includes":
    mode="include"

if mode in "include":
  print "-I/usr/include/python2.4"
else:
  print "-lpython2.4 -lm -L/usr/lib/python2.4/config",string.join(string.split(distutils.sysconfig.get_config_var("MODLIBS")))
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-07 23:19:37 UTC
This works just fine w/ python-2.5
Comment 2 Florian Steinel 2007-07-07 23:38:25 UTC
(In reply to comment #1)
But not with python-2.4
(sorry for not mention the version earlier.)
see
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-config-2.4?rev=1.1&view=markup
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-07 23:44:35 UTC
(In reply to comment #2)
> But not with python-2.4

Yeah, so what? Why exactly should python-2.4 support non-existant ebuilds?
Comment 4 Mart Raudsepp gentoo-dev 2007-08-24 07:39:36 UTC
To be able to introduce a stable vte-0.16.8 and a stable GNOME-2.20 without the reliance on python2.5 getting ready for stabling on time.
Comment 5 Mart Raudsepp gentoo-dev 2007-08-24 07:39:59 UTC
This is a dup of bug 188029, however

*** This bug has been marked as a duplicate of bug 188029 ***