Hi, On 01/06/2011 10:23 PM, shankha wrote:
Hi, I am trying to install graph-tool on a SGI system. uname -a : Linux 2.6.16.60-0.69.1-default #1 SMP Fri Sep 17 17:07:54 UTC 2010 ia64 ia64 ia64 GNU/Linux
Command line used : /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/configure --with-boost=/apps/packages/boost_1_45_0 --with-boost-libdir=/apps/packages/boost_1_45_0/lib --with-boost-python=/apps/packages/boost_1_45_0/lib/libboost_python.so --prefix=/apps/packages/graph-tool
ENVIORNMENT VARIABLES: LDFLAGS=-L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib
CPPFLAGS=-I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6
LD_LIBRARY_PATH=/apps/packages/cgal-3.6.1/lib:/apps/packages/RS:/apps/packages/taucs:/apps/packages/metis-4.0:/apps/packages/atlas-3.9.32/lib:/apps/packages/boost_1_45_0/lib:/apps/packages/gcc-4.4.4/lib:/apps/packages/mpfr-3.0.0/lib:/apps/packages/gmp-5.0.1/lib:/apps/packages/Python-2.6.6/lib
I have made sure all the dependent libraries for graph-tool are taken care by the LD_LIBRARY_PATH.
ERROR MESSAGE: checking for python2.6/Python.h... (cached) no results of the Python check: Binary: python2.6 Library: python2.6 Include Dir: no checking whether the Boost::Python library is available... no configure: error: No usable boost::python found
It seems that your include flags are not being used. If we look in the config.log, we see that the compile command is: g++ -c -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 Which doesn't have any of your include paths. This is because you defined them in "CPPFLAGS" which is for the C _preprocessor_ not for the C++ compiler. You should use CXXFLAGS instead. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>