On 06.12.2016 23:10, bloodymeli wrote:
> Hi, 
> 
> Alas, still no compilation. Our's IT response:
> 
> tried :
> ./configure CPPFLAGS="-I/usr/include/cairomm-1.0/cairomm/"
> make 
> 
> and now got :
> 
> graph_cairo_draw.cc:38:29: fatal error: cairomm/context.h: No such file or
> directory
> compilation terminated.
> make[4]: *** [graph_cairo_draw.lo] Error 1
> make[4]: Leaving directory `/usr/local/graph-tool-2.19/src/graph/draw'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/graph-tool-2.19/src/graph'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/graph-tool-2.19/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/graph-tool-2.19'
> make: *** [all] Error 2
> 
> 
> but the file exists :
> 
> # ls -l /usr/include/cairomm-1.0/cairomm/context.h
> -rw-r--r-- 1 root root 39093 Dec 20  2008
> /usr/include/cairomm-1.0/cairomm/context.h

If the file being included is cairomm/context.h the include path should be:

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

otherwise the preprocessor will search for
/usr/include/cairomm-1.0/cairomm/cairomm/context.h, which does not exist.

But there seems to be something inconsistent with the cairomm install. If
the above reverts back to the previous error, you should try

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

Anyways, this is pretty basic stuff, really. Your IT guy should be able to
figure this out instead of just copy and pasting the error messages.

-- 
Tiago de Paula Peixoto <ti...@skewed.de>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to