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

Re: met with wrong when built OpenLDAP 2.0.7 on HP-UX 11.0



Hi,
   I got openldap 2.0.7 to successfully build and pass its tests,
using HP ANSI C compiler with HPUX 11.0.  Here is my script for
"configure":

CC=cc CFLAGS="-O -DTHREADS -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED" \
CPPFLAGS="-I/usr/local/include -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.3.1/include" \
LDFLAGS="-L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.3.1/lib" \
LIBS="-lpthread -ldb" \
./configure --prefix=/opt/openldap \
--enable-wrappers \
--with-ldbm-api=berkeley

This script assumes that the following steps have been done beforehand:

a) openssl in installed in /usr/local.
b) Cyrus SASL has been installed in its default location (/usr/local?).
c) Sleepycat Berkeley db has been installed in /usr/local.
d) tcpwrappers library is installed, take out --enable-wrappers if you don't
   want this.

The configure, make (using GNU make), and tests worked on both PA-RISC 1
and PA-RISC 2 systems.

** Jeff A. Earickson, Ph.D                         PHONE: 207-872-3659
** Senior UNIX Sysadmin, Information Technology    EMAIL: jaearick@colby.edu
** Colby College, 4214 Mayflower Hill,               FAX: 207-872-3555
** Waterville ME, 04901-8842
----------------------------------------------------------------------------
Election 2000:  The voters have spoken, unfortunately they mumbled...
----------------------------------------------------------------------------

On Wed, 22 Nov 2000, ejb wrote:

> Date: Wed, 22 Nov 2000 21:46:53 +0800
> From: ejb <ejb@btamail.net.cn>
> To: "openldap-software@openldap.org" <openldap-software@OpenLDAP.org>
> Subject: met with wrong when built OpenLDAP 2.0.7 on HP-UX 11.0
>
> hi,
>
> I had met with trouble, when I built OpenLDAP 2.0.7 on HP-UX 11.0. The compiler was HP's ANSI compiler. Didn't it work with HP's ANSI compiler? More information in at accessories.
>
> Thanks for your help.
>
> regards,
>
> xu
>
>