./configure --prefix=/opt/local/ 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... no configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LDFLAGS environment variable. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ this IS weird. On Fri, Oct 16, 2009 at 2:31 PM, Tiago de Paula Peixoto <tiago@forked.de> wrote:
Claudio Martella wrote:
OK,
i didn't specify the --prefix but i did specify the library position through LDFLAGS.
Mac OS X doesn't have many gnu libraries in its default. A project exists called Macports which is very similar to Gentoo packaging (in the sense that is sourcebased, handles dependencies, patches online etc.) and installs everything under /opt/local/.
So, I tried specifing some more options:
./configure LDFLAGS="-L/opt/local/lib" --prefix="/opt/local/" --with-boost-python="libboost_python-mt" --with-boost="/opt/local/include/boost/" --with-boost-libdir="/opt/local/lib/"
From what I can see, you need only --prefix=/opt/local ... The --with-boost parameter should be /opt/local/include not /opt/local/include/boost, but that can be omitted, since it is inferred from --prefix. The rest seems also redundant, if the correct --prefix is given. Can you try just with --prefix=/opt/local?
Cheers, Tiago
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool
-- Claudio Martella claudio.martella@gmail.com