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

Re: Problems building OpenLDAP

Phil Stracchino wrote:

So, does anyone have any suggestions as to why OpenLDAP won't build for me?

You're not finding header files. For some reason that I've never seen before, your C compiler is not finding its own header files.

I have/use RedHat systems. This particular one is an updated 7.2 and I 'grep -r'ed for your defs in /usr/local/include (for gcc 3.3 - self installed) and in /usr/include (for RH 3.0.4). Found them respectively in:


So, back to the drawing board! It isn't Openldap's fault, it's your
distro. I've never had *one* compile problem with Openldap 2.1.x on
RedHat that I haven't been able to solve by exporting CPPFLAGS or
LDFLAGS in front of ./configure. Oh yes, I used to have to keep on
switching between db.h in /usr/include for db3 and db4, but even that
isn't necessary any more, with the right CPPFLAGs.


Tony Earnshaw

Do not CC me or your mail will probably be rejected.
I don't like this, either. Blame Swen and see below.

Mail: billy-at-billy.demon.nl