[Poppler-bugs] [Bug 26442] [cmake] poppler-0.12.3 fails to compile glib component when gtk was found

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 20 04:47:09 PDT 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26442





--- Comment #11 from Fabian Groffen <grobian at gentoo.org>  2010-03-20 04:47:09 PST ---
using CMake 2.8.1, git master branch of as of say an hour ago:

...
[ 41%] Building CXX object utils/CMakeFiles/pdftoabw.dir/pdftoabw.cc.o
Linking CXX executable pdftoabw
Undefined symbols:
  "_xmlSaveFormatFileEnc", referenced from:
      _main in pdftoabw.cc.o
  "_xmlFreeDoc", referenced from:
      _main in pdftoabw.cc.o
  "_xmlNewDoc", referenced from:
      _main in pdftoabw.cc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

probably missing -lxml2, so I disabled abiword support:

[ 54%] Building CXX object
glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoRescaleBox.cc.o
Linking CXX shared library libpoppler-glib.dylib
Undefined symbols:
  "_FT_Done_Face", referenced from:
      _ft_done_face(void*)  in CairoFontEngine.cc.o
      _ft_done_face_uncached(void*)  in CairoFontEngine.cc.o
  "_FT_New_Face", referenced from:
      _ft_new_face_uncached(FT_LibraryRec_*, char const*, char*, int,
FT_FaceRec_**, _cairo_font_face**)in CairoFontEngine.cc.o
  "_FT_Init_FreeType", referenced from:
      CairoOutputDev::CairoOutputDev()in CairoOutputDev.cc.o
  "_FT_New_Memory_Face", referenced from:
      _ft_new_face_uncached(FT_LibraryRec_*, char const*, char*, int,
FT_FaceRec_**, _cairo_font_face**)in CairoFontEngine.cc.o
      _ft_new_face(FT_LibraryRec_*, char const*, char*, int, FT_FaceRec_**,
_cairo_font_face**)in CairoFontEngine.cc.o
  "_FT_Library_Version", referenced from:
      CairoFontEngine::CairoFontEngine(FT_LibraryRec_*)in CairoFontEngine.cc.o
  "_FT_Get_Name_Index", referenced from:
      CairoFreeTypeFont::create(GfxFont*, XRef*, FT_LibraryRec_*, int) in
CairoFontEngine.cc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

yay!  probably missing -lfreetype

autoconf really isn't that bad guys :/


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list