Apache Mod-Python - Created: (MODPYTHON-85) ./configure does not find the correct PY_STD_LIB for x86-64 pl

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > October 2005 > Created: (MODPYTHON-85) ./configure does not find the correct PY_STD_LIB for x86-64 pl





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-85) ./configure does not find the correct PY_STD_LIB for x86-64 pl
Jim Gallacher (JIRA)

2005-10-28, 5:31 pm

../configure does not find the correct PY_STD_LIB for x86-64 platform
--------------------------------------------------------------------

Key: MODPYTHON-85
URL: http://issues.apache.org/jira/browse/MODPYTHON-85
Project: mod_python
Type: Bug
Components: core =20
Versions: 3.2 =20
Environment: SuSE Linux 9.2 (x86-64)
Reporter: Jim Gallacher
Assigned to: Jim Gallacher=20


Originally reported by Indrek J=C3=A4rve.

Currently part of the path to the PY_STD_LIB is hard-coded in configure.in.
PY_STD_LIB=3D${PyEXEC_INSTALLDIR}/lib/python${PyVERSION}

On SUSE 9.2 (x86-64), that would need to be
PY_STD_LIB=3D${PyEXEC_INSTALLDIR}/lib64/python${PyVERSION}

Graham suggesting using
PY_STD_LIB=3D`$PYTHON_BIN -c 'import distutils.sysconfig; print distutils.s=
ysconfig.get_python_lib(plat_specific=3D1, standard_lib=3D1)'`

Indrek has confirmed that this will yield the correct path. I'll fix config=
ure.in accordingly.



--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com