On 01/27/2013 06:05 PM, [email protected] wrote: > Hi, I'm trying to install graph_tool on Centos 5.8 in a custom Python 2.7.2 > environment. I have boost installed under /scratch/usr > > Running the following: ./configure --with-boost=/scratch/usr > > I get the error messages: > > graph-tool will be installed at: > /scratch/opt/pythonbrew/pythons/Python-2.7.2/lib/python2.7/site-packages > =========================== > Using python version: 2.7.2 > =========================== > checking for boostlib >= 1.38.0... yes > checking whether the Boost::Python library is available... yes > checking for exit in -lboost_python... no > checking for exit in -lboost_python-py2.7... no > checking for exit in -lboost_python-2.7... no > checking for exit in -lboost_python... (cached) no > checking for exit in -lboost_python-py2.7... (cached) no > checking for exit in -lboost_python-2.7... (cached) no > checking for exit in -lboost_python-mt... no > checking for exit in -lboost_python-mt-py2.7... no > checking for exit in -lboost_python-mt-2.7... no > configure: error: No usable boost::python found > > > Is there something wrong with my boost installation?
If you run ./configure --help, you will see at list of environment
variables at the end, which need to be properly set when using a
non-standard environment. In your case, you need to set:
CPPFLAGS="-I/scratch/usr/include"
LDFLAGS="-L/scratch/usr/lib"
so that the compiler can find the installed libraries.
Whenever running across configure errors, it is always useful to inspect
the config.log file, which contains more detailed information about
errors.
Cheers,
Tiago
--
Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
