<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - poppler fails to build"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102551#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - poppler fails to build"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102551">bug 102551</a>
from <span class="vcard"><a class="email" href="mailto:oliver.sander@tu-dresden.de" title="oliver.sander@tu-dresden.de">oliver.sander@tu-dresden.de</a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>