Jump to: navigation, search

Obsolete:OpenLDAP Installation

Obsolete Documentation

Please note that this content was marked as obsolete. We left the content here for study and archaeological purposes.

Please check our Documentation for a recent list of topics.

Prerequisites

% yum install cvs cyrus-sasl-devel db4-devel libtool-ltdl-devel

Building OpenLDAP

% export CVSROOT=:pserver:anonymous@cvs.openldap.org:/repo/OpenLDAP
% cvs login
Password: OpenLDAP
% cvs -z3 checkout -P -r OPENLDAP_REL_ENG_2_4_19 ldap
% cd ldap
% export CPPFLAGS=-D_GNU_SOURCE
% ./configure --enable-spasswd --enable-overlays
% make depend
% make
% make install

Alternative configuration:

% export CFLAGS="-fno-omit-frame-pointer"
% ./configure --enable-overlays --enable-modules --enable-dynamic

Building JLDAP

% cvs -z3 checkout -P -r Oct_ndk_2007 jldap
% cd jldap
% ant