Incorrect path for cairommconfig.h in RHEL 6.4

The cairommconfig.h include path in graph_cairo_draw.cc is incorrect for
RHEL 6.4's cairomm-1.0 package. I've included a simple fix at the bottom of
the post if the developers choose to use it. I've also included the package
versions for gcc and cairomm for developer reference.

Packages:
cairomm-1.8.0-2.1.el6.x86_64
cairomm-devel-1.8.0-2.1.el6.x86_64
gcc-4.4.7-3.el6.x86_64
gcc-c++-4.4.7-3.el6.x86_64

attachment.html (1.05 KB)

Unfortunately the patch you sent will break compilation in other
distributions with newer versions of cairomm (the newest is 1.10.0). I
think the best way to deal with the older cairomm version in RHEL 6.4 is
to run the configure script with

    ./configure CPPFLAGS="-I/usr/include/cairomm-1.0/cairomm/"

which should take care of the problem, as described in

     http://graph-tool.skewed.de/ticket/145

Cheers,
Tiago