Difference between revisions of "OpenLDAP"
From CBLFS
Jump to navigationJump to search (→Non-Multilib) |
|||
Line 12: | Line 12: | ||
* [[Berkely DB]] or [[GDBM]] | * [[Berkely DB]] or [[GDBM]] | ||
=== Reccomended === | === Reccomended === | ||
− | * [[ | + | * [[CyrusSASL]] |
* [[OpenSSL]] | * [[OpenSSL]] | ||
=== Optional === | === Optional === | ||
Line 31: | Line 31: | ||
make | make | ||
− | if you really want to build OpenLDAP | + | 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 | --disable-bdb --disable-hdb --with-ldbm-api=gdbm |
Revision as of 10:51, 3 October 2006
Download Source: | ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.3.27.tgz |
---|
Contents
Dependencies
Required
- Berkely DB or GDBM
Reccomended
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/srv/ldap --disable-debug --enable-dynamic \ --enable-crypt --enable-modules --enable-ldap --enable-ldbm \ --enable-dyngroup --enable-dynlist --enable-ppolicy --enable-valsort && make
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
Install the package
make install && chmod -v 755 /usr/lib/libl*-2.3.so.0.2.15 && install -v -m755 -d /usr/share/doc/openldap-2.3.27/{drafts,guide,rfc} && install -v -m644 doc/drafts/* /usr/share/doc/openldap-2.3.27/drafts && install -v -m644 doc/rfc/* /usr/share/doc/openldap-2.3.27/rfc && cp -v -R doc/guide/* /usr/share/doc/openldap-2.3.27/guide
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/srv/ldap --disable-debug --enable-dynamic \ --enable-crypt --enable-modules --enable-ldap --enable-ldbm \ --enable-dyngroup --enable-dynlist --enable-ppolicy --enable-valsort && make
Install the package
make install && chmod -v 755 /usr/lib/libl*-2.3.so.0.2.15
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \ --localstatedir=/srv/ldap --disable-debug --enable-dynamic \ --enable-crypt --enable-modules --enable-ldap --enable-ldbm \ --enable-dyngroup --enable-dynlist --enable-ppolicy --enable-valsort && make
Install the package
make install && chmod -v 755 /usr/lib32/libl*-2.3.so.0.2.15
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \ --localstatedir=/srv/ldap --disable-debug --enable-dynamic \ --enable-crypt --enable-modules --enable-ldap --enable-ldbm \ --enable-dyngroup --enable-dynlist --enable-ppolicy --enable-valsort && make
Install the package
make install && chmod -v 755 /usr/lib64/libl*-2.3.so.0.2.15 && install -v -m755 -d /usr/share/doc/openldap-2.3.27/{drafts,guide,rfc} && install -v -m644 doc/drafts/* /usr/share/doc/openldap-2.3.27/drafts && install -v -m644 doc/rfc/* /usr/share/doc/openldap-2.3.27/rfc && cp -v -R doc/guide/* /usr/share/doc/openldap-2.3.27/guide