Comment 3 for bug 350016

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

the aclocal check is broken.

checking for python platform... linux2
+ printf '%s\n' 'configure:14520: checking for python script directory'
+ printf %s 'checking for python script directory... '
checking for python script directory... + test '' = set
+ echo 'from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='\''${prefix}'\'')'
from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='${prefix}')
++ /usr/bin/python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='\''${prefix}'\'')'
XXX: ${prefix} False
+ echo '${prefix}/lib/python2.6/site-packages'
${prefix}/lib/python2.6/site-packages
++ /usr/bin/python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='\''${prefix}'\'')'
+ am_cv_python_pythondir='${prefix}/lib/python2.6/site-packages'
+ printf '%s\n' 'configure:14530: result: ${prefix}/lib/python2.6/site-packages'
+ printf '%s\n' '${prefix}/lib/python2.6/site-packages'
${prefix}/lib/python2.6/site-packages
+ pythondir='${prefix}/lib/python2.6/site-packages'
+ pkgpythondir='${pythondir}/hamster-applet'
+ set +x

the XXX line just prints out the prefix argument from get_python_lib. so automake does get the quoting wrong, which isn't noticed as long as we have some default script dir.