Making all in glib make[2]: Entering directory `/usr/src/poppler-0.4.1/glib' ( cd . && /usr/bin/glib-mkenums \ --fhead "#include \"poppler-enums.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --fprod "\n#include \"@filename@\"" \ --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n};\n\n" \ --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ --vtail " static GType type = 0;\n\n" \ --vtail " if (G_UNLIKELY (type == 0))\n" \ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ poppler-action.h poppler-document.h poppler-page.h poppler.h ) > xgen-poppler-enums.c \ && ( cmp -s xgen-poppler-enums.c poppler-enums.c || cp xgen-poppler-enums.c poppler-enums.c ) \ && rm -f xgen-poppler-enums.c /usr/bin/glib-mkenums: poppler-document.h:86: Failed to parse ` | POPPLER_PERMISSIONS_OK_TO_MODIFY ' /usr/bin/glib-mkenums: poppler-document.h:87: Failed to parse ` | POPPLER_PERMISSIONS_OK_TO_COPY ' /usr/bin/glib-mkenums: poppler-document.h:88: Failed to parse ` | POPPLER_PERMISSIONS_OK_TO_ADD_NOTES), ' /usr/bin/make all-am make[3]: Entering directory `/usr/src/poppler-0.4.1/glib' ( cd . && /usr/bin/glib-mkenums \ --fhead "#include \"poppler-enums.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --fprod "\n#include \"@filename@\"" \ --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n};\n\n" \ --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ --vtail " static GType type = 0;\n\n" \ --vtail " if (G_UNLIKELY (type == 0))\n" \ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ poppler-action.h poppler-document.h poppler-page.h poppler.h ) > xgen-poppler-enums.c \ && ( cmp -s xgen-poppler-enums.c poppler-enums.c || cp xgen-poppler-enums.c poppler-enums.c ) \ && rm -f xgen-poppler-enums.c /usr/bin/glib-mkenums: poppler-document.h:86: Failed to parse ` | POPPLER_PERMISSIONS_OK_TO_MODIFY ' /usr/bin/glib-mkenums: poppler-document.h:87: Failed to parse ` | POPPLER_PERMISSIONS_OK_TO_COPY ' /usr/bin/glib-mkenums: poppler-document.h:88: Failed to parse ` | POPPLER_PERMISSIONS_OK_TO_ADD_NOTES), ' make[3]: Leaving directory `/usr/src/poppler-0.4.1/glib' make[2]: Leaving directory `/usr/src/poppler-0.4.1/glib' Making all in test make[2]: Entering directory `/usr/src/poppler-0.4.1/test' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -I.. -I../poppler -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -Wall -Wno-unused -O -march=athlon-mp -mmmx -mfpmath=sse -msse -m3dnow -pipe -DPIC -fPIC -O3 -MT gtk-cairo-test.o -MD -MP -MF ".deps/gtk-cairo-test.Tpo" -c -o gtk-cairo-test.o gtk-cairo-test.cc; \ then mv -f ".deps/gtk-cairo-test.Tpo" ".deps/gtk-cairo-test.Po"; else rm -f ".deps/gtk-cairo-test.Tpo"; exit 1; fi In file included from /usr/include/cairo/cairo-ft.h:47, from ../poppler/CairoOutputDev.h:18, from gtk-cairo-test.cc:24: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory In file included from ../poppler/CairoOutputDev.h:18, from gtk-cairo-test.cc:24: /usr/include/cairo/cairo-ft.h:48:10: error: #include expects "FILENAME" or <FILENAME> /usr/include/cairo/cairo-ft.h:60: error: 'FT_Face' was not declared in this scope /usr/include/cairo/cairo-ft.h:61: error: expected primary-expression before 'int' /usr/include/cairo/cairo-ft.h:61: error: initializer expression list treated as compound expression /usr/include/cairo/cairo-ft.h:63: error: 'FT_Face' does not name a type ../poppler/CairoOutputDev.h:146: error: 'FT_Library' does not name a type make[2]: *** [gtk-cairo-test.o] Error 1 make[2]: Leaving directory `/usr/src/poppler-0.4.1/test' make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 make[1]: Leaving directory `/usr/src/poppler-0.4.1'
This is fixed in CVS and in the 0.4.2 release.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.