LDAP C SDK: Difference between revisions

190 bytes added ,  18 January 2007
Line 41: Line 41:
# Get the CVS client and set your computer up mozilla work. [http://www.mozilla.org/cvs.html Read through the instructions] on using CVS. Make sure you have set your CVSROOT environment variable and that you have successfully executed the cvs login command.
# Get the CVS client and set your computer up mozilla work. [http://www.mozilla.org/cvs.html Read through the instructions] on using CVS. Make sure you have set your CVSROOT environment variable and that you have successfully executed the cvs login command.
# Pull the current LDAP C SDK code (which is located on the CVS trunk) using this command: cvs co -P [-r currentrelease] DirectorySDKSourceC The most current release is LDAPCSDK_6_0_2_RTM, so to pull this version (recommended), use this command: cvs co -P -r LDAPCSDK_6_0_2_RTM DirectorySDKSourceC
# Pull the current LDAP C SDK code (which is located on the CVS trunk) using this command: cvs co -P [-r currentrelease] DirectorySDKSourceC The most current release is LDAPCSDK_6_0_2_RTM, so to pull this version (recommended), use this command: cvs co -P -r LDAPCSDK_6_0_2_RTM DirectorySDKSourceC
# Pull the code for libraries that LDAP C SDK depends on. Pull NSPR, NSS, and DBM (used by NSS) using these commands:
# Pull the code for libraries that LDAP C SDK depends on. Pull [http://www.mozilla.org/projects/nspr/ NSPR] and [http://www.mozilla.org/projects/security/pki/nss/ NSS] using these commands:


  cvs co -r NSPR_4_6_4_RTM mozilla/nsprpub
  cvs co -r NSPR_4_6_4_RTM mozilla/nsprpub
Line 50: Line 50:
  cvs co -r SVRCORE_4_0_3_RTM mozilla/security/svrcore [mozilla/security/coreconf]
  cvs co -r SVRCORE_4_0_3_RTM mozilla/security/svrcore [mozilla/security/coreconf]


Add mozilla/security/coreconf on Windows only. Alternatively, you can download stable binary releases of NSPR and NSS and drop them into your source tree under mozilla/dist.  See ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/ for NSPR releases and ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ for NSS releases.
Add mozilla/security/coreconf on Windows only. Alternatively, you can [ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/ download stable binary releases of NSPR] and [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ NSS] and drop them into your source tree under mozilla/dist.  See ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/ for NSPR releases and ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ for NSS releases.


===Obtaining Build Tools and Setting Up Your Environment===
===Obtaining Build Tools and Setting Up Your Environment===
54

edits