Bug 2235

Summary: CVS doesn't build with automake 1.4
Product: shared-mime-info Reporter: Sebastien Bacher <seb128>
Component: generalAssignee: Jonathan Blandford <jrb>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Sebastien Bacher 2005-01-07 08:15:32 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wwrite-strings -c update-mime-database.c
update-mime-database.c:11:18: glib.h: No such file or directory
update-mime-database.c:14:27: libxml/parser.h: No such file or directory
update-mime-database.c:15:25: libxml/tree.h: No such file or directory
update-mime-database.c:66: error: parse error before "xmlDoc"
...

Obviously the -I. -I. -I. is faulty.


During the ./configure:
...
checking ALL_CFLAGS... -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking ALL_LIBS... -lxml2 -lpthread -lz -lm -lglib-2.0
...

In the Makefile.am:
..
update_mime_database_CFLAGS = $(ALL_CFLAGS)
update_mime_database_LDADD = $(ALL_LIBS)
...


That seems to doesn't work with automake-1.4 (but build fine with automake-1.8)

The module should probably require automake 1.7
Comment 1 Christophe Fergeau 2005-01-08 15:05:48 UTC

*** This bug has been marked as a duplicate of 2090 ***

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.