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

Re: Help on Solaris Install--Its not working


I had the exact same problem with my openldap install. I kept getting ldbm
not found. Here's what I did to correct the problem.

env CPPFLAGS=-I/usr/local/BerkeleyDB3.2/inlcude
LDFLAGS=-L/usr/local/BerkeleyDB3.2/lib ./configure --prefix=/opt

The prefix installs in the ope directory.

Hope this helps.

-- Greg Jones

Doug Cabell wrote:

> I am running Solaris 8 and trying  to install OpenLDAP.
> I am running Sleepycat 3.2.9 and it is in the /usr/local/BerkeleyDB 3.2
> directory.
> I am using the latest version of gcc to compile.
> I get the following error:
> ---
> # ./configure --with-ldbm-api=db2
> Copyright 1998-2000 The OpenLDAP Foundation,  All Rights Reserved.
> Restrictions apply, see COPYRIGHT and LICENSE files.
> Configuring OpenLDAP 2.0.7-Release ...
> checking host system type... sparc-sun-solaris2.8
> checking target system type... sparc-sun-solaris2.8
> checking build system type... sparc-sun-solaris2.8
> checking for a BSD compatible install... build/install-sh -c
> checking whether build environment is sane... yes
> checking for mawk... no
> checking for gawk... no
> checking for nawk... nawk
> checking whether make sets ${MAKE}... ./configure: make: not found
> no
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking for gnutar... no
> checking for gtar... no
> checking for tar... tar
> checking configure arguments... configure: error: bad value db2 for
> --with-ldbm_
> api:
> ---
> If I just try ./configure it says it can't find LDBM so use appropiate
> options or disable.
> Can someone please help me. I would really appreciate it.
> Thanks,
> Doug Cabell
> doug.cabell@viacore.net
> (949) 725-1320
> ---------------------------------------------