Public bug reported:

Binary package hint: libxml2-dev

Kubuntu Hardy, libxml2 2.6.31.dfsg2-ubuntu1.

Expected behavior: #include directives work properly in libxml2-dev.

Actual behavior (tested in Eclipse 3.2):
#include statements inside libxml2 headers do not work because libxml2-dev is 
placed in /usr/include/libxml2/libxml/; it should be placed inside 
/usr/include/libxml/. This results in the #include statements inside the 
headers to fail as they point to /usr/inlclude/libxml/, resulting in 
difficulties when attempting to compile against libxml2. (Basically, you have 
to include all the files in the right order, including all the files they 
depend on.)

Steps to reproduce:
1) Install libxml2-dev and dependencies.
2) Try to compile an application against it in Eclipse 3.2.

Suggested workaroud: create a symlink /usr/include/libxml/ ->
/usr/include/libxml2/libxml/.

** Affects: libxml2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
libxml2 headers placed in incorrect location
https://bugs.launchpad.net/bugs/250878
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to