I've been struggling to get graph-tool installed on a standard 18.04 Ubuntu
system for the past few hours (~5) due to the CGAL dependency. I first
tried installing graph-tool from the packages, which ran fine but the
library didn't actually seem to get installed (all the python import
statements couldn't find it).
I then tried installing from source and it makes it all the way to the end
with the error:
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
However, libcgal-dev is definitely installed:
dpkg -L libcgal-dev | head -n10
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/cmake
/usr/lib/x86_64-linux-gnu/cmake/CGAL
/usr/lib/x86_64-linux-gnu/cmake/CGAL/CGAL_Macros.cmake
/usr/lib/x86_64-linux-gnu/cmake/CGAL/FindTBB.cmake
/usr/lib/x86_64-linux-gnu/cmake/CGAL/CGAL_Common.cmake
/usr/lib/x86_64-linux-gnu/cmake/CGAL/CGALExports-release.cmake
No amount of futzing about with the LDFLAGS/CFLAGS seems to get it to work.
Has anyone run into this before? This is probably the longest time I've
spent trying to install a package in years