Issue Details (XML | Word | Printable)

Key: MODPYTHON-85
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jim Gallacher
Reporter: Jim Gallacher
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

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

Created: 28/Oct/05 04:33 AM   Updated: 05/Mar/06 02:35 PM
Return to search
Component/s: core
Affects Version/s: 3.2.7
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Environment: SuSE Linux 9.2 (x86-64)

Resolution Date: 29/Oct/05 01:26 AM


 Description  « Hide
Originally reported by Indrek Järve.

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

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

Graham suggesting using
PY_STD_LIB=`$PYTHON_BIN -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1, standard_lib=1)'`

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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.