libxml2-dev does not correctly update the Include path
Bug #293130 reported by
francescomalandrino
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxml2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libxml2-dev
After installation of libxml2-dev package (version 2.6.31.
Expected: one of:
a) libxml headers are placed in /usr/include/libxml instead of /usr/include/
b) /usr/include/
What happens:
None of the above, resulting in a number of "file included not found" compile-time errors.
To post a comment you must log in.
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://