building the sdk on windows

Michael Rooz <[email protected]> Tue, 7 Jul 2009 19:17:08 +0300
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
I'd appreciate any help on building the sdk on windows as I have not been
able to complete the build process.  My goal is to write a simple LDAP over
SSL client. I have Microsoft Visual C++ 6.0 installed and I'm on a windows
xp machine.  I've done the following:

   1. Installed Visual Studio Service Pack 5 and Visual C++ Processor Pack
   2. Installed the Windows Vista SDK
   3. Installed the Mozilla build 1.3 package
   4. set CVSROOT system variable to
   :pserver:[email protected]:/cvsroot
   5. execute start-msvc6.bat and change directory to C:
   6. enter cvs co -P -r LDAPCSDK_6_0_5_RTM
   7. enter: cvs co -r NSPR_4_6_4_RTM mozilla/nsprpub
   8. enter cvs co -r NSS_3_11_4_RTM mozilla/security/coreconf
   mozilla/security/nss mozilla/security/dbm mozilla/dbm

 Initially I followed the further instructions on
https://wiki.mozilla.org/LDAP_C_SDK but then I referred back and noticed the
following:

    - "If building LDAP C SDK 6.0.5 or older, follow the instructions below
      - they do not apply if using MozillaBuild with msys, they assume
the use of
      cygwin"
      - "Note that MOZCONFIG is not used for LDAP C SDK builds, so it is
      safe to leave it unset"

..which to my understanding means I should NOT execute the 'configure' and
'make' commands since I am using MozilaBuild msys.

It seems to me that the only further instruction to follow is the following:

"just put nsinstall.exe somewhere in your PATH"

I wasn't sure what this meant so I put the nsinstall program in my system32
directory (temporarily) and then I ran nsinstall.  I got the following:

"nsinstall: not enough arguments"

How do I proceed?

Thanks,

Mike