[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] compile problem evas



Hi,

compiling evas doesn't work for me (on Slackware 10.2) in src/lib/canvas

 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../src/lib
  -I../../../src/lib/include -I/usr/include/freetype2 -g -O2 -MT
  evas_font_dir.lo -MD -MP -MF .deps/evas_font_dir.Tpo -c
  evas_font_dir.c  -fPIC -DPIC -o .libs/evas_font_dir.o
  evas_font_dir.c:7:35: fontconfig/fontconfig.h: No such file or
  directory


pkg-config --cflags fontconfig

gives this output on Slackware:

  -I/usr/X11R6/include


The problem can be solved by adding @FONTCONFIG_CFLAGS@ to
src/lib/canvas/Makefile.am :

INCLUDES             = -I. \
                       -I$(top_srcdir)/src/lib \
                       -I$(top_srcdir)/src/lib/include \
                       @FREETYPE_CFLAGS@ @eet_cflags@ \
                       @FONTCONFIG_CFLAGS@


Regards,
  Volker