• Bez kategorii

openldap-2.4.23

OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol.
The suite includes:

  • slapd – stand-alone LDAP daemon (server)
  • ibraries implementing the LDAP protocol, and
  • utilities, tools, and sample clients.

Source: http://www.openldap.org/

Download source and prepare to compilation:

root@feniks:~# su - soft
soft@feniks:~% cd openldap
soft@feniks:~/openldap% wget ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz
soft@feniks:~/openldap% gtar -zxf openldap-stable-20100719.tgz
soft@feniks:~/openldap% cp drf_openldap-2.4.21_conf drf_openldap-2.4.23_conf
soft@feniks:~/openldap% vi drf_openldap-2.4.23_conf

Compilation with use of script (see attachement):

soft@feniks:~/openldap% ./drf_openldap-2.4.23_conf 
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12
usage: cc [ options] files.  Use 'cc -flags' for details
PATH=/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ucb
CFLAGS=-fast -xautopar
CPPFLAGS=-I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.7/include -I/usr/local/include
CXXFLAGS=-fast -xautopar
LDFLAGS=-L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib \
    -L/usr/local/lib -R/usr/local/lib -L/usr/ucblib -R/usr/ucblib
=============================================
dmake clean [y|n] ?
n
=============================================
configure [y|n] ?
y
Configuring OpenLDAP 2.4.23-Release ...
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
...
Making servers/slapd/backends.c
    Add config ...
    Add ldif ...
    Add bdb ...
    Add ldap ...
Making servers/slapd/overlays/statover.c
Please run "make depend" to build dependencies

Building dependencies and compile:

=============================================
dmake [y|n] ?
y
Making depend in /home/soft/openldap/openldap-2.4.23
  Entering subdirectory include
Making ldap_config.h
...
Compilation successful
=============================================

Testing:

dmake test || dmake check [t|n] ?
t
cd tests; make test
make: Warning: Ignoring DistributedMake -m option
Initiating LDAP tests for BDB...
Running ./scripts/all for bdb...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse for bdb...
...

Możesz również polubić…

Leave a Reply

Witryna wykorzystuje Akismet, aby ograniczyć spam. Dowiedz się więcej jak przetwarzane są dane komentarzy.