./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  
    Versions: 3.2    
 Environment: SuSE Linux 9.2 (x86-64)
    Reporter: Jim Gallacher
 Assigned to: Jim Gallacher 


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.



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

Reply via email to