Comment 1 for bug 293130

Revision history for this message
Vassilis Pandis (pandisv) wrote :

libxml2 isn't, as far as I know, supposed to be accessed like that. What program is this?

If it's your code, you should compile it with
gcc `xml2-config --cflags` -o foo foo.c

xml2-config is a script that creates the correct cflags for you (in a similar way to how
pkg-config creates glib flags). If this is not your code, there's in all probability a ./configure
script of some sort that needs to be run. I would expect that even if you change your #include's
to <libxml2/libxml/foo.h>, it still won't work.

I may be wrong, but at least this is my understanding of the matter. I found some
information here : http://xmlsoft.org/FAQ.html#Compilatio