Comment 2 for bug 350016

Revision history for this message
tm (toms-baugis) wrote : Re: /usr/local/lib/python2.6/site-packages is missing from sys.path

it seems that this change has caused some trouble in autotools (m4.python maybe, but that is a wild guess)

i'll try to describe it in detail:
app that has suffered is hamster-applet [1]

when ./autogen.sh is run and autotools are called, python extension module is detected wrongly:

checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages

but
python -c "import sys; print sys.path"

is looking in /usr/lib/python2.6/dist-packages

which results, as one would expect, failure

I'm no expert in autotools, so would appreciate some feedback or verification that indeed is a bug.

[1] http://projecthamster.wordpress.com/