[Poppler-bugs] [Bug 102551] poppler fails to build
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 6 11:32:53 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102551
--- Comment #2 from oliver.sander at tu-dresden.de ---
I did indeed update my Debian Testing distribution, but I did a full cmake
configuration afterwards.
Some more digging yielded the following: Somehow my distribution update must
have removed my glib development files. I installed them explicitly in form of
the package libglib2.0-dev. That fixed the error, but a new one was waiting.
:-)
Now I get complaints about missing headers; the first one is glib-object.h.
The file exists on my computer, it is in
/usr/include/glib-2.0/
However, even though cmake claims to have found glib
Building Poppler with support for:
[snip]
glib wrapper: yes
introspection: no
/usr/include/glib-2.0 does not show up in the compiler options.
~/poppler/build(master)> make VERBOSE=1
[snip]
[ 44%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o
cd /home/sander/poppler/build/glib && /usr/bin/c++ -DG_LOG_DOMAIN=\"Poppler\"
-DHAVE_CONFIG_H=1 -DUSE_OPENJPEG2 -Dpoppler_glib_EXPORTS -I/home/sander/poppler
-I/home/sander/poppler/fofi -I/home/sander/poppler/goo
-I/home/sander/poppler/poppler -I/home/sander/poppler/build
-I/home/sander/poppler/build/poppler -I/home/sander/poppler/glib
-I/home/sander/poppler/build/glib -I/usr/include/freetype2
-I/usr/include/x86_64-linux-gnu -I/usr/include/openjpeg-2.1 -Wall -Wcast-align
-fno-exceptions -fno-check-new -fno-common -Wnon-virtual-dtor
-Woverloaded-virtual -D_DEFAULT_SOURCE -Wsuggest-override -g -O2
-fno-reorder-blocks -fno-schedule-insns -fno-inline -fPIC -I/usr/include/nss
-I/usr/include/nspr -std=c++11 -o
CMakeFiles/poppler-glib.dir/poppler-action.cc.o -c
/home/sander/poppler/glib/poppler-action.cc
In file included from /home/sander/poppler/glib/poppler-action.cc:19:0:
/home/sander/poppler/glib/poppler.h:22:10: fatal error: glib-object.h: Datei
oder Verzeichnis nicht gefunden (i.e.: File or directory not found)
#include <glib-object.h>
^~~~~~~~~~~~~~~
compilation terminated.
glib/CMakeFiles/poppler-glib.dir/build.make:95: die Regel für Ziel
„glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o“ scheiterte
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170906/e3e0291b/attachment-0001.html>
More information about the Poppler-bugs
mailing list