54
edits
Changes
→Building using autoconf (preferred method)
NOTE: You must use GNU make (called gmake on some platforms).
cd mozilla/security/nss
make nss_build_all [USE_64=1]
cd mozilla/security/svrcore
./configure [--with-nspr=/path] [--with-nss=/path]
make [USE_64=1]
cd mozilla/directory/c-sdk
./configure --with-nss [--enable-64bit]
make
cd mozilla/directory/c-sdk
./configure --with-nss --enable-clu [--enable-64bit]
make
cd mozilla/directory/c-sdk
./configure --with-svrcore --enable-clu [--enable-64bit]
make
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)===