Hi,

I'm trying to build graph-tool (from git) under my Mac OS X 10.4. I
have installed through macports the libboost 1.40 (and boost::python
support for python2.6).

The configure script chooses to build for python 2.5, and therefore it
cannot find boost::python
Here's the configure output:

checking for a Python interpreter with version >= 2.5... python
checking for python... /opt/local/bin/python
checking for python version... 2.6
checking for python platform... darwin
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 python2.6... (cached) /opt/local/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python 2.5... yes
checking for the distutils Python package... yes
checking for Python include path...
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
checking for Python library path...
-L/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
-lpython2.6
checking for Python site-packages path...
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
checking python extra libraries...  -ldl
checking python extra linking flags... -u _PyMac_Error
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python
checking consistency of all components of python development environment... yes
checking for boostlib >= 1.33.1... yes
checking for python build information...
checking for python2.5... python2.5
checking for main in -lpython2.5... yes
checking python2.5/Python.h usability... yes
checking python2.5/Python.h presence... yes
checking for python2.5/Python.h... yes
  results of the Python check:
    Binary:      python2.5
    Library:     python2.5
    Include Dir:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
checking whether the Boost::Python library is available... no
configure: error: No usable boost::python found


As you can see, python 2.6 is found at configure time, but it chooses
to switch to 2.5 and i dunno why. i tried setting PYTHON_VERSION="2.6"
but i still get the same problem.

Do you have any suggestions about this problem?

-- 
    Claudio Martella
    claudio.marte...@gmail.com
_______________________________________________
graph-tool mailing list
graph-tool@forked.de
http://lists.forked.de/mailman/listinfo/graph-tool

Reply via email to