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
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
config.log error message:
configure:17155: checking for python2.6/Python.h
configure:17155: result: no
configure:17180: result: results of the Python check:
configure:17182: result: Binary: python2.6
configure:17184: result: Library: python2.6
configure:17186: result: Include Dir: no
configure:17198: checking whether the Boost::Python library is available
configure:17228: 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
conftest.cpp:35:36: error: boost/python/module.hpp: No such file or directory
conftest.cpp:36: error: 'boost' has not been declared
conftest.cpp:36: error: 'python' is not a namespace-name
conftest.cpp:36: error: expected namespace-name before ';' token
conftest.cpp:37: error: expected constructor, destructor, or type
conversion before '(' token
configure:17228: $? = 1
I have attached config.log for your reference.
python.h is installed in Python2.6/include/python2.6 and not
Python2.6. I am not sure why it is searching for python.h in
Python2.6. I can create a soft link inside Python2.6 to the actual
file in
Python2.6/include/python2.6 but I am not sure if that is the right way
to go about it.
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
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:
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.
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
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:
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.
Hi,
The configure did went fine except one issue which I have mentioned in my
previous post.
make didn't go through.
ERROR MESSAGE:
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h: In member function
'std::pair<double, double>
CGAL::Real_embeddable_traits<CGAL::Gmpq>::To_interval::operator()(const
CGAL::Gmpq&) const':
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:91: error: 'mpfr_t' was not
declared in this scope
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:91: error: expected ';' before
'y'
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:92: error: 'y' was not
declared in this scope
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:92: error: 'mpfr_init2' was
not declared in this scope
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:93: error: 'GMP_RNDD' was not
declared in this scope
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:93: error: 'mpfr_set_q' was
not declared in this scope
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:94: error: 'mpfr_get_d' was
not declared in this scope
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:95: error: 'GMP_RNDU' was not
declared in this scope
/apps/packages/cgal-3.6.1/include/CGAL/Gmpq.h:97: error: 'mpfr_clear' was
not declared in this scope
make[4]: *** [graph_triangulation.lo] Error 1
make[4]: Leaving directory
`/home/arcadm/SGI/Software/graph-tool/build/src/graph/generation'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/arcadm/SGI/Software/graph-tool/build/src/graph'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/arcadm/SGI/Software/graph-tool/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arcadm/SGI/Software/graph-tool/build'
The only errors I'm seeing in the log are that the include files for
Python and CGAL are not being found. Are you sure the include paths you
provided are correct?
This seems like a problem with the CGAL installation (mprf_t belongs to
the the GNU MPRF library http://www.mpfr.org/, which you should
have). Are you sure CGAL is installed properly?