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.
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 libxml/ foo.h>, it still won't work.
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/
I may be wrong, but at least this is my understanding of the matter. I found some xmlsoft. org/FAQ. html#Compilatio
information here : http://