Bug 10398

Summary: can't compile on Suse-9.1
Product: shared-mime-info Reporter: Martin Koller <kollix>
Component: generalAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: porten
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Martin Koller 2007-03-24 08:49:57 UTC
I wanted to build shared-mime-info on a Suse-9.1
configure went well, no errors, but make stops somewhere with:
gcc  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings   -o update-mime-database  update_mime_database-update-mime-database.o -L/opt/gnome/lib -lxml2 -lpthread -lz -lm -lglib-2.0
update_mime_database-update-mime-database.o(.text+0x1450): In function `write_map':
/home/PACKAGES/shared-mime-info-0.20/update-mime-database.c:1712: undefined reference to `g_ptr_array_foreach'
update_mime_database-update-mime-database.o(.text+0x2e0f): In function `main':
/home/PACKAGES/shared-mime-info-0.20/update-mime-database.c:2687: undefined reference to `g_log_set_default_handler'


What am I missing (and what check is configure missing) ?
Comment 1 Harri Porten 2007-04-13 18:03:28 UTC
Your glib is too old. Had the same problem here.

Problem: according to the configure check the minimum versino requirement is 2.2.0 while I believe it should be 2.3.2 or higher.
Comment 2 Christian - Manny Calavera - Neumair 2007-06-27 12:16:09 UTC
Thanks! I've raised the requirement accordingly.
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.