You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Jim Gallacher (JIRA)" <ji...@apache.org> on 2005/10/27 21:33:55 UTC

[jira] Created: (MODPYTHON-85) ./configure does not find the correct PY_STD_LIB for x86-64 platform

./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


[jira] Closed: (MODPYTHON-85) ./configure does not find the correct PY_STD_LIB for x86-64 platform

Posted by "Graham Dumpleton (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-85?page=all ]
     
Graham Dumpleton closed MODPYTHON-85:
-------------------------------------


> ./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.7
>  Environment: SuSE Linux 9.2 (x86-64)
>     Reporter: Jim Gallacher
>     Assignee: Jim Gallacher
>      Fix For: 3.2.7

>
> 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


[jira] Resolved: (MODPYTHON-85) ./configure does not find the correct PY_STD_LIB for x86-64 platform

Posted by "Jim Gallacher (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-85?page=all ]
     
Jim Gallacher resolved MODPYTHON-85:
------------------------------------

    Fix Version: 3.2
     Resolution: Fixed

> ./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
>     Assignee: Jim Gallacher
>      Fix For: 3.2

>
> 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