[MacPorts] #14081: py-gobject and dependents' configure builds
using the wrong (/usr/bin/python) version 2.3
MacPorts
trac at macosforge.org
Sat Jan 26 08:14:14 PST 2008
#14081: py-gobject and dependents' configure builds using the wrong
(/usr/bin/python) version 2.3
------------------------------+---------------------------------------------
Reporter: aphor at mac.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: High | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: python configure |
------------------------------+---------------------------------------------
Python <--> Gnome library packages and their dependents install without
error, but fail with import errors at runtime. Whole swaths of software
will likely break on upgrade causing widespread panic.
The port for py24 installs itself as /opt/local/bin/python2.4 but
configure scripts for py-* packages like py-gobject, py-gtk2, and probably
others allow configure to build against the system /usr/bin/python, which
is the wrong version of python according to ports' dependency graph. This
also causes the python modules to be installed in /opt/local/lib/python2.3
/site-packages, which made it easy to track this down.
Workaround: prepend /opt/local/bin to your path, and symlink
/opt/local/bin/python2.4 to /opt/local/bin/python because these configure
scripts choose their python version by the first executable 'python' on
the PATH.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14081>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list