[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3584) non-root configure unable to find gdbm.h with -I set



Full_Name: Kirill Richine
Version: 2.2.23
OS: HP-UX
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (199.244.214.30)


I am trying to build and install this without super-user privileges.
I had installed gdbm (also without super-user) in a non-standard path mypath
gdbm.h is in mypath/include

I then use
export CPPFLAGS="-I<mypath>/inlude"
./configure ... all other options

when configure reaches point where it checks for presence of gdbm.h, it is
unable to find it and fails.

I may be wrong, but I believe the reason for this is that your configtest.c
uses

#include <gdbm.h>

whereas it should probably use

#include "gdbm.h"