Bug 11254 - cannot compile current cvs glib bindings with glib 2.4.x
Summary: cannot compile current cvs glib bindings with glib 2.4.x
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 06:27 UTC by Axel Howind
Modified: 2007-06-13 11:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Axel Howind 2007-06-13 06:27:00 UTC
poppler-attachment.cc includes gstdio.h which is not available in glib <2.6. 
configure should either check for version 2.6 of glib or poppler-attachment.cc be changed to work with an older version.

How to reproduce: try to compile poppler without glib 2.6 installed.

Workaround: If the glib bindings are not needed, compile with --disable-poppler-glib.
Comment 1 Albert Astals Cid 2007-06-13 11:22:57 UTC
Actually there is a check in pkg-config for glib-2.0 >= 2.6 so it should not try to compile glib binding when not installed, i'll try to see if the check is not correct.
Comment 2 Albert Astals Cid 2007-06-13 11:24:39 UTC
Found it, that was quick eh !


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.