Bug 2235 - CVS doesn't build with automake 1.4
Summary: CVS doesn't build with automake 1.4
Status: RESOLVED DUPLICATE of bug 2090
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-07 08:15 UTC by Sebastien Bacher
Modified: 2005-01-07 20:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.