|
List of common errors for the module poppler.
Error - Couldn't find fontconfig/fontconfig.h
System details: September 21st, 2006 - GNOME 2.16
Stage: Build
- You get the following error message:
Making all in utils
make[2]: Entering directory `/opt/cvs/gnome2/poppler/utils'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -I.. -I../utils -I../poppler
-Wall -Wno-unused -g -O2 -MT pdffonts.o -MD -MP -MF ".deps/pdffonts.Tpo" -c -o pdffonts.o pdffonts.cc; \
then mv -f ".deps/pdffonts.Tpo" ".deps/pdffonts.Po"; else rm -f ".deps/pdffonts.Tpo"; exit 1; fi
In file included from pdffonts.cc:19:
../poppler/GlobalParams.h:18:35: error: fontconfig/fontconfig.h: No such file or directory
../poppler/GlobalParams.h:318: error: ISO C++ forbids declaration of 'FcConfig'
with no type
../poppler/GlobalParams.h:318: error: expected ';' before '*' token
make[2]: *** [pdffonts.o] Error 1
make[2]: Leaving directory `/opt/cvs/gnome2/poppler/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cvs/gnome2/poppler'
make: *** [all] Error 2Cause:
- fontconfing developing files are needed.
Solution:
- Install the fontconfig developing files, libfontconfig1-dev in Debian.