Am 04.10.18 um 00:56 schrieb MrDistortion: > Any idea what I'm doing wrong? I"m running Centos7.5 gcc version 7.3.1 > 20180303, Python 3.6.3 > and even though i've included the cgal directory in the command it can't > find it. I get the error below : > > checking for exit in -lboost_thread... yes > checking for __gmpz_init in -lgmp... yes > checking for __gmpz_init in -lgmp... (cached) yes > checking whether CGAL is available in /MYINSTALL/release/cgal4.10... no > checking whether CGAL is available in /usr... no > checking whether CGAL is available in /usr/local... no > checking whether CGAL is available in /opt... no > checking whether CGAL is available in /opt/local... no > configure: error: CGAL library not found. > > The command I'm running is: > > ./configure --disable-cairo --disable-sparsehash > --prefix="/MYINSTALL/graphtool2.27" --with-boost="/MYINSTALL/boost1.61/" > CGAL_HOME="/MYINSTALL/cgal4.10/" CGAL_LDFLAGS="-L/MYINSTALL/cgal4.10/lib64/ > -lCGAL -lCGAL_Core -lgmp -lboost_thread -lpthread" > LDFLAGS="-L/MYINSTALL/cgal4.10/lib64/ > -Wl,-rpath-link,/MYINSTALL/boost1.61/lib" --with-cgal="/MYINSTALL/cgal4.10" > > > > What I see in the logs are : > configure:21200: checking whether CGAL is available in /MYINSTALL/cgal4.10 > configure:21236: g++ -o conftest -fopenmp -O3 -fvisibility=default > -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra > -ftemplate-backtrace-limit=0 -DNDEBUG -I/MYINSTALL/cgal4.10/include > -pthread -I/MYINSTALL/boost1.61//include -L/MYINSTALL/cgal4.10/lib64/ > -Wl,-rpath,/MYINSTALL/cgal4.10/lib64 > -Wl,-rpath-link,/MYINSTALL/boost1.61/lib -L/MYINSTALL/cgal4.10/lib -lCGAL > -lCGAL_Core -lgmp -lboost_thread -lpthread conftest.cpp -lgmp -lgmp >&5 > /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: cannot > find -lboost_thread > collect2: error: ld returned 1 exit status > configure:21236: $? = 1 > configure: program exited with status 1
Your CGAL_LDFLAGS is wrong, since you do not seem to have boost_thread installed, or it has another name in your system. -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
