Opened 14 years ago

Last modified 14 years ago

#316 closed defect

Python library check is not 64 bits free — at Version 2

Reported by: bicatali Owned by: mloskot
Priority: major Milestone:
Component: Default Version: 3.2.0
Severity: Unassigned Keywords:
Cc:

Description (last modified by mloskot)

When the system is 64bits only (on *nix systems), the Python library check does not work:

checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for Python include path... /usr/include/python2.6
checking for Python library path... 
configure: error: cannot find Python library path

In macros/ac_python_devel.m4, changing lib/python with $libdir/python should resolve it.

Change History (2)

comment:1 by mloskot, 14 years ago

Owner: changed from geos-devel@… to mloskot
Status: newassigned

comment:2 by mloskot, 14 years ago

Description: modified (diff)

I rn Ubuntu 9.10 on 64-bit arch;

mloskot@dog:~$ uname -a
Linux dog 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

and here is what I get for GEOS from current SVN trunk:

mloskot@dog:~/dev/geos/_svn/trunk$ svn info | grep Revision
Revision: 2836
mloskot@dog:~/dev/geos/_svn/trunk$ ./autogen.sh && ./configure --enable-python
...
checking for swig... /usr/bin/swig
checking for SWIG version... 1.3.36
configure: SWIG executable is '/usr/bin/swig'
configure: SWIG library directory is '/usr/share/swig1.3'
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for Python include path... /usr/include/python2.6
checking for Python library path... /usr/lib/python2.6/config
...

Could you please verify if current trunk configures for you correctly?

Note: See TracTickets for help on using tickets.