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

-- 
libxml2-dev does not correctly update the Include path
https://bugs.launchpad.net/bugs/293130
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to