./configure LDFLAGS=-L/opt/local/lib --prefix=/opt/local/ --with-boost-python=boost_python-mt 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 On Fri, Oct 16, 2009 at 5:39 PM, Tiago de Paula Peixoto <tiago@forked.de> wrote:
Claudio Martella wrote:
I did that since the beginning. It then complains about not finding boost::python, which is why i wrote you in the first place.
see my first try, so config.log.1
There you did:
./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/
Which has a wrong --with-boost parameter... It should have been "/opt/local/include", or nothing since it is already deduced from --prefix. You should do simply:
./configure LDFLAGS=-L/opt/local/lib --prefix=/opt/local/
Or with --with-boost-python=boost_python-mt if it can't guess the name of the library (without the "lib" at the beginning).
The thing is that i should not install into /opt/local/ as it's for macports. we should avoid conflicts and macports developers suggest i should avoid that. so i should not --prefix
It is totally fine installing it somewhere else, but then you have to manually specify where everything is... I would recommend running configure at least once with --prefix=/opt/local to be sure you have everything you need, and then later specifying all the "--with..." parameters and with a different --prefix.
Cheers, Tiago
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool
-- Claudio Martella claudio.martella@gmail.com