On Tue, 2008-09-09 at 18:29 +0200, Paco Koch wrote: > hi list, > > i'm trying to compile the code from: > http://en.wikipedia.org/wiki/Libxml2 > > (testing to see if i can code something with libxml2) > > but i get following output from my compiler > (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) - [i have ubuntu 8.04 on my > system]:
You forgot to paste the exact gcc line, but don't forget to tell the compiler where to find the header files, with cc -I/usr/include/libxml2 or, better, cc ` xml2-config --cflags` ... > In file included from xml.c:4: > /usr/include/libxml2/libxml/xmlmemory.h:16:31: error: > libxml/xmlversion.h: No such file > or directory None of the rest of the errors matter after this. Either you are missing that file, /usr/include/libxml2/libxml/xmlversion.h, or you gave wrong compiler options. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org www.advogato.org _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
