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

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

> Full_Name: Kirill Richine
> Version: 2.2.23
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> 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"

^^^^ this should be "include"

> ./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"

In any case, the problem seems to be related to building within your
system.  I suggest you further post to the openldap-software mailing list,
as your problem doesn't look like a software bug.  You may revert to the
ITS as soon as evidence of a bug is apparent.


Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497