Hi Janna, On 05/16/2011 07:13 PM, Janna wrote:
Hi,
I sent you an email with the log files, but I went through and tried to install with macports- everything went through fine except for graph-tool. I ran it with
sudo ./configure --with-boost-python=/opt/local/var/macports/software/boost/1.46.1_0/opt/local/include/boost/python/ LDFLAGS="-l/opt/local/var/macports/software/boost/1.46.1_0/opt/local/include/boost/python/" LDFLAGS="-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib"
Note that you should pass the _name_ or _suffix_ of the boost python library to the --with-boost-python option, not the include path.
and it gave me
checking for boostlib >= 1.38.0... yes checking whether the Boost::Python library is available... no configure: error: No usable boost::python found
I don't know where else to point it to- it's now got the standard python installation and standard boost installation, I checked and that seems to be where the boost python libraries are. Thanks for your help -Janna
I've looked at your log file, and the error is something like: configure:17268: checking for exit in -lboost_python-mt-py2.5 configure:17293: /usr/bin/g++-4.2 -o conftest -pipe -O2 -arch x86_64 -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -L/opt/local/lib -arch x86_64 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7 conftest.cpp -lboost_python-mt-py2.5 >&5 ld: library not found for -lboost_python-mt-py2.5 collect2: ld returned 1 exit status Which means the configure script is not being able to figure out how the boost_python library is called. It tries some common variants, but there is no universal method of identifying it. Could you check under what name is the boost_python library installed? You should pass either the correct full name or suffix to the --with-boost-python option. This is strange, because for me the standard macports name is recognized just fine. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>