LDAP C SDK: Difference between revisions

Line 82: Line 82:
  ./configure [--with-nspr=/path] [--with-nss=/path]
  ./configure [--with-nspr=/path] [--with-nss=/path]
  make [USE_64=1]
  make [USE_64=1]
Note that since svrcore requires NSS, --with-svrcore implies --with-nss
* 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:
* 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
  cd mozilla/directory/c-sdk
Line 123: Line 124:


====Building Cyrus SASL on Windows====
====Building Cyrus SASL on Windows====
 
Building Cyrus SASL on Windows requires some special instrctions - see [[LDAP_C_SDK_SASL_Windows]] for more information and required patches.
[[LDAP_C_SDK_SASL_Windows]]
 
Note that since svrcore requires NSS, --with-svrcore implies --with-nss


If your build is successful, the LDAP C SDK libraries, command line tools, and header files will be placed under mozilla/dist/<OSNAME>.OBJ/.
If your build is successful, the LDAP C SDK libraries, command line tools, and header files will be placed under mozilla/dist/<OSNAME>.OBJ/.
54

edits