[MacPorts] #34271: python27 2.7.3_0 py27-gtk 2.22.0_1 etc -- pkg-config files not installed correctly for python 2.6 and 2.7 versions of pygtk and pygobject
MacPorts
noreply at macports.org
Thu May 3 08:28:54 PDT 2012
#34271: python27 2.7.3_0 py27-gtk 2.22.0_1 etc -- pkg-config files not installed
correctly for python 2.6 and 2.7 versions of pygtk and pygobject
-------------------------------------+--------------------------------------
Reporter: stephen.langer@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: py25-gtk py27-gtk py26-gtk py27-gobject py26-gobject py25-gobject python26 python27
-------------------------------------+--------------------------------------
Comment(by stephen.langer@…):
Replying to [comment:10 ryandesign@…]:
Hi Ryan --
Thanks for the comments. I'll modify my setup scripts so that they
detect if macports is being used, and set PKG_CONFIG_PATH accordingly.
However, it seems wrong to have to hard code such a deep path.
This seems to be a deficiency in pkg-config that must affect other package
management systems, not just macports. It could be fixed by giving pkg-
config a path extension method, such as python's .pth files. Then
python27 could install /opt/local/lib/pkgconfig/python.pth, which would
contain the string
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/".
Since python.pth would be part of each python package, the correct version
would be installed by "port select".
Does that sound feasible? Is it worth contacting the pkg-config
developers?
-- Steve
--
Ticket URL: <https://trac.macports.org/ticket/34271#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list