libxml++2.6-dev headers installed to invalid path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxml++2.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Installing libxml++2.6-dev places the main header file at:
/usr/include/
Including this in a c++ source file as:
#include <libxml+
then building, results in:
ubuntu@
g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_
In file included from main.cc:23:
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
From what I can tell the libxml++-2.6 directory shouldn't exist, and the path to the main header file should instead just be:
/usr/include/
Description: Ubuntu jaunty (development branch)
Release: 9.04
Package: libxml++2.6-dev
State: installed
Automatically installed: no
Version: 2.24.0-1ubuntu1
Priority: optional
Section: libdevel
Maintainer: Ubuntu Core Developers <email address hidden>
Uncompressed Size: 586k
Depends: libxml++2.6-2 (= 2.24.0-1ubuntu1), libxml2-dev (>= 2.6.1), libglibmm-2.4-dev (>= 2.4.0), pkg-config
Suggests: libxml++2.6-doc
Description: A C++ interface to the GNOME XML library (libxml2)
libxml++ is a C++ wrapper for the libxml2 XML parser library (otherwise known as the GNOME2 XML library). It has SAX and DOM-like APIs, but does not
attempt to conform exactly to the DOM specification because they are not aimed at C++. Its API is much simpler than the underlying libxml C API.
This package contains development files.
Homepage: http://
Changed in libxml++2.6: | |
status: | Invalid → Confirmed |
status: | Confirmed → New |
Changed in libxml++2.6: | |
status: | New → Invalid |
> Including this in a c++ source file as: +-2.6/libxml+ +/libxml+ +.h>
> #include <libxml+
But you shouldn't do that. You should use pkg-config to give you the include path, and just use +/libxml+ +.h>
#include <libxml+
This is entirely normal for libraries which plan to have parallel-installed versions, as all libraries should.
This may help: libxmlplusplus. sourceforge. net/docs/ manual/ html/index. html#id2504511
http://
(I am the upstream maintainer.)