Re: PSM and NSS build failed
[email protected] (Pawan Joshi) 16 Dec 2002 21:32:19 -0800
| Newsgroups | gmane.comp.mozilla.devel.nspr,gmane.comp.mozilla.builds |
|---|---|
| Organization | http://groups.google.com/ |
| Message-ID | <[email protected]> |
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 David King <[email protected]> wrote in message news:<[email protected]>... > 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. > > Pawan Joshi wrote: > > 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". > > > > It says "The PSM files will be found here: > > 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. > > > > I am using the following environment variables: > > 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". > > It gives the following compilation errors: > > _______________________________________________________________________________ > > 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