From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Fri Mar 05 1999 - 01:02:41 EST
Hi Tim,
> I've been tracking the development on `gnumeric' for a couple weeks, and
> libxml is one of the necessary prerequisites for `gnumeric', and indeed for
> other components of GNOME. Most previous release of libxml have been mostly
> trouble free (and the code looks very clean -- nice job!), but after upgrading
> to libxml 1.0.0, I've noted a problem.
>
> When libxml 1.0.0 is built and installed, the file `parser.h' gets installed
> in $(includedir)/gnome-xml. parser.h includes a file `error.h' which is part
> of the libxml 1.0.0 distribution, but this file is not installed by default.
> One doesn't notice this while building and installing libxml, but any
> subsequent programs that rely on libxml and include `parser.h' will either
> fail (because error.h hasn't been installed) or possibly include a bogus
> version of `error.h' (if there is a similarly-named header file from some
> other package installed somewhere in the directories your preprocessor is
> searching).
Yep, this error.h thing has been messy from the start ...
> I think that it might be a good idea to rename `error.h' to something less
> generic, and then modify the install rules for libxml so that the new header
> file is installed. I would suggest either `xml-error.h' or `libxml-error.h',
> but the choice is of course up to you.
Yes that's probably the best thing to do.
> If you would like me to provide a patch that does this, please let me know.
> I believe that all should be necessary is to do something like
>
> mv error.h xml-error.h
> cvs remove error.h
> cvs add xml-error.h
>
> and then modify the Makefile.am to include `xml-error.h' in the list of
> headers that get installed, and rebuild the Makefile.in from the Makefile.am.
Makes a lot of sense, and it's never too late to do the Right Thing,
I will do that change and commit it ASAP,
Daniel
-- [Yes, I have moved back to France !] Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | Today's Bookmarks : Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux, WWW, rpmfind, Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | rpm2html, XML, http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe. ---- Message from the list xml@rufus.w3.org Archived at : http://rufus.w3.org/veillard/XML/messages to unsubscribe: echo "unsubscribe xml" | mail majordomo@rufus.w3.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:26 EDT