Changes

Jump to: navigation, search

LDAP C SDK

139 bytes added, 18:01, 18 January 2007
Building using autoconf (preferred method)
NOTE: You must use GNU make (called gmake on some platforms).
# * Build NSPR and NSS (if not using binary releases of those components) by executing these commands:
cd mozilla/security/nss
make nss_build_all [USE_64=1]
# * [Optional - see above] Build the SVRCORE module:
cd mozilla/security/svrcore
./configure [--with-nspr=/path] [--with-nss=/path]
make [USE_64=1]
# * Read the [http://www.mozilla.org/projects/security/pki/nss/nss-3.9/nss-3.9-build.html NSS Build Instructions ] and the [http://www.mozilla.org/projects/nspr/eng-process/build.html NSPR Build Instructions ] if you run into problems. Note that the instructions for NSS say to use the NSS_3_9_RTM tag to pull the source, but use NSS_3_11_4_RTM instead. Build the LDAP C SDK libraries:
cd mozilla/directory/c-sdk
./configure --with-nss [--enable-64bit]
make
# * Build the LDAP C SDK libraries and command line tools:
cd mozilla/directory/c-sdk
./configure --with-nss --enable-clu [--enable-64bit]
make
# * Build the LDAP C SDK libraries and command line tools with SVRCORE:
cd mozilla/directory/c-sdk
./configure --with-svrcore --enable-clu [--enable-64bit]
make
# * Build with SASL support:
cd mozilla/directory/c-sdk
./configure ...other options above... --with-sasl
If your build is successful, the LDAP C SDK libraries, command line tools, and header files will be placed under mozilla/dist/<OSNAME>.OBJ/.
Note that you can build without SSL support by skipping the NSS related build steps and omitting the --with-nss on the configure command. You will still need a binary copy of NSPR or you will need to build NSPR from source.
===Building without using autoconf (deprecated - older method - use autoconf method)===
54
edits

Navigation menu