Difference between revisions of "OpenLDAP-Client"

From CBLFS
Jump to navigationJump to search
(Dependencies)
Line 21: Line 21:
 
* [[GNU Pth]]
 
* [[GNU Pth]]
 
* [[OpenSLP]]
 
* [[OpenSLP]]
 
== Configuration Information ==
 
 
If you really want to build OpenLDAP with GNU Database Manager instead of Berkeley DB, add the following flags to configure script:
 
 
--disable-bdb --disable-hdb --with-ldbm-api=gdbm
 
 
If you do not need Slapd, only the client libraries, you can use the following for configuring (Do not forget about the relevant changes on multilib):
 
 
./configure --prefix=/usr --sysconfdir=/etc --disable-slapd --disable-debug --enable-dynamic
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 39: Line 29:
 
     --sysconfdir=/etc --disable-slapd \
 
     --sysconfdir=/etc --disable-slapd \
 
     --disable-debug --enable-dynamic &&
 
     --disable-debug --enable-dynamic &&
 +
make depend &&
 
  make
 
  make
  
Line 44: Line 35:
  
 
  make install &&
 
  make install &&
chmod -v 755 /usr/lib/libl{dap,ber}*.so* &&
 
 
  install -dv -m755 /usr/share/doc/openldap-{{OpenLDAP-Version}}/{drafts,guide,rfc} &&
 
  install -dv -m755 /usr/share/doc/openldap-{{OpenLDAP-Version}}/{drafts,guide,rfc} &&
 
  install -v -m644 doc/drafts/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/drafts &&
 
  install -v -m644 doc/drafts/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/drafts &&
Line 59: Line 49:
 
     --sysconfdir=/etc --disable-slapd \
 
     --sysconfdir=/etc --disable-slapd \
 
     --disable-debug --enable-dynamic &&
 
     --disable-debug --enable-dynamic &&
 +
make depend &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make install &&
+
  make install
chmod -v 755 /usr/lib/libl{dap,ber}*.so*
 
  
 
=== N32 ===
 
=== N32 ===
Line 73: Line 63:
 
     --sysconfdir=/etc --libdir=/usr/lib32  --disable-slapd \
 
     --sysconfdir=/etc --libdir=/usr/lib32  --disable-slapd \
 
     --disable-debug --enable-dynamic &&
 
     --disable-debug --enable-dynamic &&
 +
make depend &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make install &&
+
  make install
chmod -v 755 /usr/lib32/libl{dap,ber}*.so*
 
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 87: Line 77:
 
     --sysconfdir=/etc --libdir=/usr/lib64  --disable-slapd \
 
     --sysconfdir=/etc --libdir=/usr/lib64  --disable-slapd \
 
     --disable-debug --enable-dynamic &&
 
     --disable-debug --enable-dynamic &&
 +
make depend &&
 
  make
 
  make
  
Line 92: Line 83:
  
 
  make install &&
 
  make install &&
chmod -v 755 /usr/lib64/libl{dap,ber}*.so* &&
 
 
  install -dv -m755 /usr/share/doc/openldap-{{OpenLDAP-Version}}/{drafts,guide,rfc} &&
 
  install -dv -m755 /usr/share/doc/openldap-{{OpenLDAP-Version}}/{drafts,guide,rfc} &&
 
  install -v -m644 doc/drafts/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/drafts &&
 
  install -v -m644 doc/drafts/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/drafts &&
 
  install -v -m644 doc/rfc/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/rfc &&
 
  install -v -m644 doc/rfc/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/rfc &&
 
  cp -Rv doc/guide/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/guide
 
  cp -Rv doc/guide/* /usr/share/doc/openldap-{{OpenLDAP-Version}}/guide

Revision as of 04:57, 20 October 2008

Download Source: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.19.tgz

Introduction to OpenLDAP-Client

The OpenLDAP package provides an open source implementation of the Lightweight Directory Access Protocol.

Project Homepage: http://www.openldap.org/

Dependencies

Recommended

Optional

Non-Multilib

Compile the package:

CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr \
    --sysconfdir=/etc --disable-slapd \
    --disable-debug --enable-dynamic &&
make depend &&
make

Install the package

make install &&
install -dv -m755 /usr/share/doc/openldap-2.4.19/{drafts,guide,rfc} &&
install -v -m644 doc/drafts/* /usr/share/doc/openldap-2.4.19/drafts &&
install -v -m644 doc/rfc/* /usr/share/doc/openldap-2.4.19/rfc &&
cp -Rv doc/guide/* /usr/share/doc/openldap-2.4.19/guide

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr \
    --sysconfdir=/etc --disable-slapd \
    --disable-debug --enable-dynamic &&
make depend &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr \
    --sysconfdir=/etc --libdir=/usr/lib32  --disable-slapd \
    --disable-debug --enable-dynamic &&
make depend &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr \
    --sysconfdir=/etc --libdir=/usr/lib64  --disable-slapd \
    --disable-debug --enable-dynamic &&
make depend &&
make

Install the package

make install &&
install -dv -m755 /usr/share/doc/openldap-2.4.19/{drafts,guide,rfc} &&
install -v -m644 doc/drafts/* /usr/share/doc/openldap-2.4.19/drafts &&
install -v -m644 doc/rfc/* /usr/share/doc/openldap-2.4.19/rfc &&
cp -Rv doc/guide/* /usr/share/doc/openldap-2.4.19/guide