while porting some additional Python modules for the python 2.6.6 version
that comes with the advance toolchain 4.0.2, I came across the following
Python 2.6.6 (r266:84292, Jul 28 2011, 02:36:35)
[GCC 4.5.4 20110524 (Advance-Toolchain-4.0-2) [ibm/gcc-4_5-branch revision 1748 on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils import sysconfig; print sysconfig.get_python_lib()
Actually the path returned should read
i.e. one python2.6 is printed too much.
This causes many configure-make-makeinstall procedures of ready
to use packages to fail which use the above script to find the
installation directory for pyhton modules.
This looks like a configuration problem during compilation of the python 2.6 package
in the toolchain itself.
Could one of the maintainers have a look at this ?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2012-01-05T16:18:16Z by carlos_seo
Pinned topic python 2.6 in advance toolchain 4.0.2 with bogus sysconfig.get_python_lib
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-01-05T16:18:16Z at 2012-01-05T16:18:16Z by carlos_seo
carlos_seo 27000075YH1 PostACCEPTED ANSWER
Re: python 2.6 in advance toolchain 4.0.2 with bogus sysconfig.get_python_lib2012-01-05T16:18:16Z in response to SystemAdminThis will be fixed in the next releases (4.0-5 and 5.0-2).
Carlos Eduardo Seo
Advance Toolchain Project Leader
IBM Brazil Master Inventor