Discussion:
PSM and NSS build failed
Pawan Joshi
2002-12-17 05:32:19 UTC
Permalink
Thanks a lot. Its working now.I was using
set BUILD_PSM2 = 1
to build PSM. Whereas the correct way is to use
ac_add_options --enable-crypto
in .mozconfig file.

We need to update the PSM build instructions at
http://www.mozilla.org/projects/security/pki/psm/buildpsm.html
to reflect this point.

Thanks once again.

Regards
-Pawan
I had similar problems for a while, and finally stumbled across
http://webtools.mozilla.org/build/config.cgi which you can use to create
a .mozconfig file in the same directory as client.mk. This tool is
designed for Unix, but worked for me on WinXP.
I am trying to build PSM on WinNT 4.0 using Mozilla 1.2.1 source with
the instructions provided at
"http://www.mozilla.org/projects/security/pki/psm/buildpsm.html".
mozilla\dist\[WIN32_D.OBJ | WIN32_O.OBJ ]\bin\nssckbi.dll"
Inspite of NO build errors, There is no such directory and I am not
able to go to secure sites.
set MOZ_TOOLS=F:\moztools
set PATH=%PATH%;%MOZ_TOOLS%\bin;F:\cygwin\bin
set BUILD_PSM2=1
Further, I tried to build NSS using instructions at
"http://www.mozilla.org/projects/security/pki/nss/buildnss_331.html#build".
_______________________________________________________________________________
LIB : fatal error LNK1181: cannot open input file "./prvrsion.obj"
gmake[3]: *** [libnspr4_s.lib] Error 1181
gmake[3]: Leaving directory
`F:/Mozilla_1.2.1/mozilla/nsprpub/WINNT4.0_DBG.OBJ/pr/src'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory
`F:/Mozilla_1.2.1/mozilla/nsprpub/WINNT4.0_DBG.OBJ/pr'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory
`F:/Mozilla_1.2.1/mozilla/nsprpub/WINNT4.0_DBG.OBJ'
gmake: *** [build_nspr] Error 2
_______________________________________________________________________________
This obj file is available at
"F:/Mozilla_1.2.1/mozilla/nsprpub/pr/src"
but not at "F:/Mozilla_1.2.1/mozilla/nsprpub/WINNT4.0_DBG.OBJ/pr/src".
I copied this file to
"F:/Mozilla_1.2.1/mozilla/nsprpub/WINNT4.0_DBG.OBJ/pr/src",
then it started giving the same problem for other obj's.
What can be the problem ? Is it related to some environment settings?
Regards
-Pawan
Loading...