I need to create a build of NSS 3.12.4 with NSPR to use for FIPS 140-2 
encryption in my java.security file.
I have gone to the release notes 
https://developer.mozilla.org/en/NSS_reference/Building_and_installing_NSS/Build_instructions
 and have tried to follow the instructions but used the tar bundle instead of 
CVS.

1) Download and unzip 
http://ftp.mozilla.org/pub/mozilla.org/mozilla/source/wintools.zip
2) Download and unzip 
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/moztools-static.zip
3) Download and unzip 
https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_RTM/src/nss-3.12-with-nspr-4.7.tar.gz
4) Open a command prompt and set environment variables
set OS_TARGET=WINNT
set MOZ_TOOLS=C:\Mozilla\moztools
set C:\Mozilla\buildtools\windows\bin\x86;%MOZ_TOOLS%\bin;%PATH%
set HOME=C:\Mozilla\home
5) Do the Build
cd C:\Mozilla\nss-3.12.4-with-nspr-4.8\mozilla\security\nss
gmake nss_build_all

This results in errors:
SHMSDOS: cl: The system cannot find the file specified.

process_begin: CreateProcess((null), pwd, ...) failed.
process_begin: CreateProcess((null), pwd, ...) failed.
cd ../coreconf ;  gmake
SHMSDOS: cl: The system cannot find the file specified.

process_begin: CreateProcess((null), pwd, ...) failed.
gmake[1]: Entering directory 
`C:/Mozilla/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf'
cd nsinstall; gmake export
SHMSDOS: cl: The system cannot find the file specified.

process_begin: CreateProcess((null), pwd, ...) failed.
gmake[2]: Entering directory 
`C:/Mozilla/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
gmake[2]: Nothing to be done for `export'.
gmake[2]: Leaving directory 
`C:/Mozilla/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
cd nsinstall; gmake libs
SHMSDOS: cl: The system cannot find the file specified.

process_begin: CreateProcess((null), pwd, ...) failed.
gmake[2]: Entering directory 
`C:/Mozilla/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
gmake[2]: Nothing to be done for `libs'.
gmake[2]: Leaving directory 
`C:/Mozilla/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
gmake[1]: Leaving directory 
`C:/Mozilla/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf'
nsinstall -D ../../nsprpub/WINNT5.1_DBG.OBJ
cd ../../nsprpub/WINNT5.1_DBG.OBJ ; \
 sh ../configure \
 \
--with-dist-prefix='$(topsrcdir)/../dist/WINNT5.1_DBG.OBJ' \
--with-dist-includedir='$(topsrcdir)/../dist/WINNT5.1_DBG.OBJ/include'
SHMSDOS: sh: The system cannot find the file specified.

gmake: *** [../../nsprpub/WINNT5.1_DBG.OBJ/config.status] Error -1

Can you tell me what I am doing wrong?

Thanks,
Vicky
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to