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
Repository Revision Date User Message
ASF #329233 Fri Oct 28 16:06:22 UTC 2005 jgallacher Fixed ./configure error for X86-64 platforms. The correct path for
PY_STD_LIB will now be found.
Ref MODPYTHON-85
Files Changed
MODIFY /httpd/mod_python/trunk/configure
MODIFY /httpd/mod_python/trunk/configure.in

Jim Gallacher made changes - 29/Oct/05 01:26 AM
Field Original Value New Value
Fix Version/s 3.2 [ 11060 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Graham Dumpleton made changes - 05/Mar/06 02:35 PM
Status Resolved [ 5 ] Closed [ 6 ]