libqdbm++-dev doesn't find own includes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qdbm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I include the qdbm headers like this (since they are under /usr/include/qdbm):
#include <qdbm/depot.h>
#include <qdbm/cabin.h>
#include <qdbm/vista.h>
I get the following problems during compilation with g++:
/usr/include/
/usr/include/
/usr/include/
/usr/include/
...
This is due to the fact that these headers assume they are not in a subdirectory, i.e. they include each other as follows (from vista.h):
#include <depot.h>
#include <curia.h>
#include <cabin.h>
Clearly they should include from the install directory in /usr/include/qdbm (else every developer has to add /usr/include/qdbm to its include path) by either using the path relative to /usr/include:
#include <qdbm/depot.h>
#include <qdbm/curia.h>
#include <qdbm/cabin.h>
or in the same directory:
#include "depot.h"
#include "curia.h"
#include "cabin.h"
Similar issues can be found in the other /usr/include/qdbm/* include files.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: libqdbm++-dev 1.8.74-1.4
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: qdbm
Uname: Linux 2.6.28-14-generic i686
This bug was fixed in the package qdbm - 1.8.77-3.1
---------------
qdbm (1.8.77-3.1) unstable; urgency=low
* Non-maintainer upload.
* Fix FTBFS:
+ Apply patch from Julien Cristau to replace STR2CSTR with StringValuePtr.
+ Hack: avoid modifying $0 (frozen variable in 1.9.2)
+ Add -I. to work around removal of relative requires in 1.9.2.
Closes: #592775
qdbm (1.8.77-3) unstable; urgency=low
* Fix FTBTS again. (Closes: #589275)
* update libxqdbm2c2.symbols to demangle symbols name.
qdbm (1.8.77-2) unstable; urgency=low
* New Standards-Version: 3.9.0
* debian/control: fix section overrides.
* Fix FTBTS adding build options for gcj. (Closes: #589275)
* fix lintian issues.
qdbm (1.8.77-1) unstable; urgency=low
* Imported Upstream version 1.8.77
* Change binary package name of C++ library
(by Taku YASUI <email address hidden>)
* New Maintainer. (Closes: #541046)
* New Standards-Version: 3.8.4
* Change Build-Depends from gcj to default-jdk
* remove needless pkgconfig option. (Closes: #397614)
* fix refering paths of header files. (LP: #450672)
* fix lintian issues:
remove RPATH with chrpath.
change location of perl modules.
* build ruby binding for both 1.8 and 1.9.1.
-- Ubuntu Archive Auto-Sync <email address hidden> Fri, 15 Oct 2010 09:56:53 +0000