<p>Hi,</p>
<p>On Wed, 9 Mar 2011 12:39:13 +0000, Harry Roberts <harry@midnight-labs.org> wrote:</p>
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px; width: 100%;"><!-- html ignored --><!-- head ignored --><!-- meta not allowed -->
<p>On a related note I was unable to build a recent checkout of Poppler because it tries to build all the GTK based tests regardless of whether or not the configure script found gdk/gtk etc.</p>
</blockquote>
<p>Removing 'test' from the SUBDIRS in the Makefile stops the gtk-tests getting built and allows poppler to compile (I'm only interested in pdftotext). I guess if gtk-tests is enabled it tries to pull in cairo, even if cairo is disabled, hence the cairo errors.</p>
<p>At some point I intend stopping pdftotext generating spurious extra lines where characters are overprinted. This is a problem with LaTeX where it produces "'e" with a character off-set for e-acute and other accents (pdftotext currently bumps the 'e' to the next line).</p>
<p>Also on my wishlist is to expose the wordlist from TextOutputDev to glib. And lastly SWIG wrappers for the glib-bindings (if I ever get glib-bindings to compile).</p>
<div>Thanks,</div>
<div>Tim.</div>
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px; width: 100%;">
<div>I got around it by commenting out the 'tests' target in Makefile (I was in a hurry), after that it builds & runs fine on Debian Lenny.<br /><br />
<div class="gmail_quote">On 9 March 2011 12:12, Tim Brody <span><<a href="mailto:tdb2@ecs.soton.ac.uk">tdb2@ecs.soton.ac.uk</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">$ git clone git://<a href="http://git.freedesktop.org/git/poppler/poppler">git.freedesktop.org/git/poppler/poppler</a><br /> $ cd poppler<br /> $ ./autogen.sh --prefix=/usr/local/poppler --disable-cairo-output<br /> --disable-poppler-glib --disable-gtk-test --disable-poppler-qt4<br /> --disable-splash-output --disable-poppler-cpp<br /> $ make<br /><br /> ...<br /> Building poppler with support for:<br /> font configuration: fontconfig<br /> splash output: no<br /> cairo output: no<br /> abiword output: no<br /> qt4 wrapper: no<br /> glib wrapper: no<br /> introspection: no<br /> cpp wrapper: no<br /> use gtk-doc: no<br /> use libjpeg: yes<br /> use libpng: yes<br /> use libtiff: no<br /> use zlib: no<br /> use libcurl: no<br /> use libopenjpeg: yes<br /> use cms: yes<br /> command line utils: yes<br /><br /> $ make 2>&1<br /><br /> ...<br /> gtk-test.cc:14:21: error: gdk/gdk.h: No such file or directory<br /> In file included from gtk-test.cc:19:<br /> ../glib/poppler.h:22:25: error: glib-object.h: No such file or directory<br /> In file included from ../glib/poppler.h:201,<br /> from gtk-test.cc:19:<br /><br /> (Followed by more errors related to cairo)<br /><br /> I'd like to "backport" current poppler onto servers and even with distros<br /> poppler to maintain compatibility with stable releases of dependent<br /> libraries e.g. cairo 1.0, glib 2.0 etc? It surely can't help testing to<br /> restrict your community to those people on the very latest library levels?<br /><span style="color: #888888;"><br /> --<br /> All the best,<br /> Tim.<br /> _______________________________________________<br /> poppler mailing list<br /><a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br /><a href="http://lists.freedesktop.org/mailman/listinfo/poppler">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br /></span></blockquote>
</div>
<br /></div>
</blockquote>
<p> </p>