Re: GConf and libxml....



On Thu, Dec 13, 2001 at 05:00:03PM +0100, Mathieu Lacage wrote:
> Obviously, the correct patch to get the stuff to build is:
> -#include <libxml/tree.h>
> -#include <libxml/parser.h>
> -#include <libxml/xmlmemory.h>
> +#include <tree.h>       /* libxml */
> +#include <parser.h>     /* libxml */
> +#include <xmlmemory.h>  /* libxml */

  NO !
  The include in the code MUST remain #include <libxml/...h>

> I thought personally that libxml2 was supposed to allow users to use
> things such as:
> #include <libxml/tree.h>
> #include <libxml/parser.h>
> #include <libxml/xmlmemory.h>

  it does. all the libxlst is built this exact way

> [root mathieu gconf]# xml2-config --version
> 2.4.3
[...]
> 	- is it normal that libxml2 should be still "broken" in regard to this
> header issue ?

  Seems your installation is broken !

orchis:~/tmp -> xml2-config --version 
2.4.12
orchis:~/tmp -> xml2-config --cflags
-I/usr/include/libxml2/libxml -I/usr/include/libxml2
orchis:~/tmp -> 

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]