make[3]: *** [graph_triangulation.lo] Error 1

*Hi Tiago,*

*I tried to install graph-tool on macOS again and non of port install
py-graph-tool or brew install graph-tool works on my laptop and I get **this

Segmentation fault: 11

*Then I tried to download the source and I ran:*

./configure CPPFLAGS="-I/usr/local/Cellar/py2cairo/1.17.1/include/"

*and then*

make install

*and I got this error message:*

*candidate: '*template<class Tds_> bool CGAL::internal::operator==(typename

*operator*==(typename Tds_::Cell_handle ch,
Triangulation_ds_cell_circulator_3<Tds_> cc)


* template argument deduction/substitution failed:

In file included from */opt/local/include/gcc8/c++/memory:76*,

                 from */usr/local/include/boost/config/no_tr1/memory.hpp:21*

attachment.html (11.3 KB)

The homebrew recipe must be patched against the new version of CGAL. Could
you please open an issue at the homebrew issue tracker, so that this can be
handled there? Thanks!


Hi Tiage,

I was compiling graph-tool with gcc8.2 and I was getting this error then I
used gcc7 with this command line:

--prefix=/Users/anaconda2 LDFLAGS="-L/usr/local/lib" CC=gcc-7 CXX=g++-7

It got compiled but again when I import graph-tool in python, I receive
this error message:

from graph_tool.all import *

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

"/Users/anaconda2/lib/python2.7/site-packages/graph_tool/", line
111, in <module>

    dl_import("from . import libgraph_tool_core as libcore")

line 61, in dl_import

    exec(import_expr, local_dict, global_dict)

  File "<string>", line 1, in <module>

8): Symbol not found: __ZN5boost6system6detail25generic_category_instanceE

  Referenced from:

  Expected in: flat namespace


What can be the problem now?

Thanks again.



attachment.html (8.38 KB)

Ni! Hi Zahra,

This last error seems to be a consequence of boost being compiled with
a different compiler version than graph_tool.

I encourage you to follow Tiago's request and open a bug with the
homebrew issue tracker. Only this will properly fix things for you and
others in the long run.

Now, _assuming you don't need the triangulation function_, I have a
patch applied to one of my systems which lets me disable CGAL:

This patch should let you configure with '--disable-cgal' and compile
with your regular compiler without facing your original issue.