[Bug 450672] [NEW] libqdbm++-dev doesn't find own includes

bijwaard bijwaard at gmail.com
Tue Oct 13 19:50:47 UTC 2009


Public bug reported:

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/qdbm/vista.h:31:19: error: depot.h: No such file or directory
/usr/include/qdbm/vista.h:32:19: error: curia.h: No such file or directory
/usr/include/qdbm/vista.h:33:19: error: cabin.h: No such file or directory
/usr/include/qdbm/vista.h:126:19: error: villa.h: No such file or directory
...

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

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


** Tags: apport-bug i386

-- 
libqdbm++-dev doesn't find own includes
https://bugs.launchpad.net/bugs/450672
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list