On 23.06.2017 16:09, Evangelos Petsalis wrote: > I downloaded the docker image with GT and although it does work fine it does > not seem to have apt-get installed.
It is based on Arch (which uses pacman), not Debian/Ubuntu (which uses apt-get). > So I tried to create my own docker image > based on Ubuntu 16.04 by compiling GT. Why would you do that, instead of using the available Ubuntu packages? > The compilation works fine, until it > reaches file "graph_tree_cts.lo" and then it fails miserably. > > Any idea why this is happening? The problem is a bug in the cairomm Ubuntu package that forces the activation of C++11, when graph-tool needs C++14: Cairomm CPP flags: -std=c++11 -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include Cairomm LD flags: -lcairomm-1.0 -lcairo -lsigc-2.0 You need to pass the following to the configure script: CAIROMM_CFLAGS="-I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include" > Alternatively, would it be easy to post the > Dockerfile that you used for creating your image, so we can use that as a > basis for our own custom version? I've put a link to it in the documentation. Best, Tiago -- 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
