[Poppler-bugs] [Bug 8600] New: PKG_CHECK_MODULES glib check should be glib-2.0

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Wed Oct 11 04:29:08 PDT 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=8600          
     
           Summary: PKG_CHECK_MODULES glib check should be glib-2.0
           Product: poppler
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: damien.carbery at sun.com


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.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Poppler-bugs mailing list