Bug 8600 - PKG_CHECK_MODULES glib check should be glib-2.0
Summary: PKG_CHECK_MODULES glib check should be glib-2.0
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: SPARC Solaris
: high major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 04:29 UTC by Damien Carbery
Modified: 2008-03-27 13:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Change module check from glib to glib-2.0. (575 bytes, patch)
2006-10-11 04:29 UTC, Damien Carbery
Details | Splinter Review

Description Damien Carbery 2006-10-11 04:29:07 UTC
poppler 0.5.4 is looking for 'glib.pc' in the PKG_CHECK_MODULES code.
This breaks the build on my system:
checking for POPPLER_GLIB... sh: glib-config: not found
sh: glib-config: not found
sh: glib-config: not found
configure: error: Package requirements (gdk-2.0 >= 2.4.0 glib >= 2.6) were not met:
Requested 'glib >= 2.6' but version of GLib is 
.

Changing the code to look for glib-2.0.pc makes it work.
-  PKG_CHECK_MODULES(POPPLER_GLIB, gdk-2.0 >= 2.4.0 glib >= 2.6)
+  PKG_CHECK_MODULES(POPPLER_GLIB, gdk-2.0 >= 2.4.0 glib-2.0 >= 2.6)

Attached patch makes this change.
Comment 1 Damien Carbery 2006-10-11 04:29:50 UTC
Created attachment 7349 [details] [review]
Change module check from glib to glib-2.0.
Comment 2 Damien Carbery 2007-08-18 07:39:22 UTC
Bug is fixed in 0.5.9. Closing.


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.