On 01/03/2014 10:26 AM, Nikos wrote:
Hi, I manage to run configure correctly by giving the needed paths
./configure LDFLAGS=-L/usr/local/Cellar PYTHON_EXTRA_LDFLAGS=-L/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/Python --enable-cgal-valgrind CPPFLAGS=-I/usr/local/include/sparsehash -I/usr/local/Cellar/py2cairo/1.10.0/include/pycairo -I/usr/local/Cellar/cairo/1.12.16/include/cairo PYTHON_VERSION=2.7.6 CAIROMM_LIBS=-L/usr/local/Cellar/cairomm/1.10.0/lib -L/usr/local/Cellar/cairo/1.12.16/lib -L/usr/local/Cellar/cairo/1.12.16/include/cairo CAIROMM_CFLAGS=-O3 -lcairomm-1.0 -lcairo -lsigc-2.0
However I take now a fatal error when I run make
..... Making all in draw CXX graph_cairo_draw.lo clang: warning: -lcairomm-1.0: 'linker' input unused clang: warning: -lcairo: 'linker' input unused clang: warning: -lsigc-2.0: 'linker' input unused warning: unknown warning option '-Wno-unused-local-typedefs' [-Wunknown-warning-option] graph_cairo_draw.cc:34:10: fatal error: 'cairommconfig.h' file not found #include <cairommconfig.h> ^ 1 warning and 1 error generated. make[4]: *** [graph_cairo_draw.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
It seems you are still not including all the paths properly. Find where the file cairoconfig.h is installed on or your system, and pass that directory as the argument of the "-I" option in your CPPFLAGS variable.
Best, Tiago