Hi, I've just compiled successfully the JSS 4.3.2 on Windows 7 (XP should be fine with it too) using Visual Studio 2008 Express Edition.
Prerequisites: - Visual Studio 2008 Express Edition - Windows SDK v6.0A - CVS client 4 Windows eg. TortoiseCVS - mozilla-build tools (http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe) Here're the steps (assuming that you have the VS 2008 EE & Windows SDK installed): 1. CVS set CVSROOT=:pserver:anonym...@cvs-mirror.mozilla.org:/cvsroot cvs co -r NSPR_4_8_3_RTM mozilla/nsprpub cvs co -r NSS_3_12_6_RTM mozilla/dbm mozilla/security/dbm cvs co -r NSS_3_12_6_RTM mozilla/security/coreconf mozilla/security/nss cvs co -r JSS_4_3_2_RTM mozilla/security/jss 2. Compilation script set PATH=C:\mozilla-build\msys\bin\;C:\mozilla-build\moztools\bin\;%PATH% set OS_TARGET=WIN95 set JAVA_HOME=c:/Java/jdk1.6.0_29 set BUILD_OPT=1 set PATH=%PATH%;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\ set PATH=%PATH%;c:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ set MOZCONFIG=C:\mozilla-build\.mozconfig set WIN32_REDIST_DIR=c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT set CURRENT_DIR=%CD% cd %CURRENT_DIR%\mozilla\security\nss make nss_build_all cd %CURRENT_DIR%\mozilla\security\jss make pause !! Change the PATH's if yours are different - eg. JAVA_HOME !! Have fun ;) Greetings, Waldek Kozba ________________________________________ Od: dev-tech-crypto-bounces+waldemar.kozba=max.com...@lists.mozilla.org [dev-tech-crypto-bounces+waldemar.kozba=max.com...@lists.mozilla.org] w imieniu helpcrypto helpcrypto [helpcry...@gmail.com] Wysłano: 8 marca 2012 08:58 Do: mozilla's crypto code discussion list Temat: Re: JSS/NSS library dependencies on Windows XP I dont know if building nss for windows does need an especial environment like mingw/cygwin. I dont expect things like $'\r work on cmd. Anyhow, the first error means the binary cl.exe cant be found. Try looking for it on your hard drive and add the correct directory to the path (if not already). BTW, i noticed you dont have a semicolon after "C:\nss\wintools...." entry on the path, accidentally removed it on notepad? As i said before, others could help you much more than i can/do. -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto ------------------------------------------------------------ Waldemar Koźba Menedżer Zespołu Pion SMB tel. +48 607 403 768 Max Elektronik www.sygnity.pl<http://www.sygnity.pl> Sygnity Spólka Akcyjna z siedziba w Warszawie, Aleje Jerozolimskie 180 z kapitalem zakladowym w wysokosci 11.886.242 zlotych w calosci wplaconym, wpisana do rejestru przedsiebiorców Krajowego Rejestru Sadowego prowadzonego przez Sad Rejonowy dla m.st. Warszawy, XIII Wydzial Gospodarczy, pod numerem KRS 0000008162, NIP 586-000-52-93 Uwaga! Niniejsza korespondencja przeznaczona jest wylacznie dla osoby lub podmiotu, do którego jest zaadresowana i moze zawierac tresci chronione przepisami prawa. Wglad w tresc wiadomosci otrzymanej omylkowo, dalsze jej przekazywanie, rozpowszechnianie lub innego rodzaju wykorzystanie, badz podjecie jakichkolwiek dzialan w oparciu o zawarte w niej informacje przez osobe lub podmiot nie bedacy adresatem, jest niedozwolone. Odbiorca korespondencji, który otrzymal ja omylkowo, proszony jest o zawiadomienie nadawcy i usuniecie tego materialu z komputera. Attention! The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by person or entity other than the intended recipient is not permitted. If you received this in error, please contact the sender and delete the material from any computer. -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto