Ticket #14081 (closed defect: fixed)
py-gobject and dependents' configure builds using the wrong (/usr/bin/python) version 2.3
|Reported by:||aphor@…||Owned by:||macports-tickets@…|
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.
- Status changed from new to closed
- Resolution set to fixed