I recomend that you upgrade to NSS 3.2.1, but if that is not an option 
you should be able to build from scratch with the instructions below.


setenv CVSROOT :pserver:[EMAIL PROTECTED]:/cvsroot

cvs login
At the password prompt, type anonymous

cvs co -r NSS_3_2_RTM mozilla/client.mk

cd mozilla

gmake -f client.mk pull_all BUILD_MODULES=dbm MOZ_CO_TAG=NSS_3_2_RTM 
NSPR_CO_TAG=NSPRPUB_RELEASE_4_1
This step pulls NSPR and dbm (the modules that NSS requires).

./configure --without-gtk --without-libIDL --without-x --enable-modules=dbm
  For Linux only:
./configure --without-gtk --without-libIDL --without-x 
--enable-modules=dbm --disable-elf-dynstr-gc
On Solaris only the native compiler is supported:
env CC=cc CXX=CC ./configure --without-gtk --without-libIDL --without-x 
--enable-modules=dbm

If you get an error after this step, try again with the additional 
option --disable-pedantic.

gmake
Builds NSPR and dbm.

cd ..

cvs co -r NSS_3_2_RTM mozilla/security/coreconf mozilla/security/nss
Pulls the NSS module with the CVS tag for the NSS 3.2 release.

setenv NS_USE_GCC 1
setenv NO_MDUPDATE 1

This specifies GCC as the compiler. This step can be skipped on Linux.

On Solaris only the native compiler is supported, this step has to be 
skipped

cd mozilla/security/coreconf

gmake
Builds nsinstall, which is used by the NSS build system.

cd ../nss

gmake moz_import
Tells NSS where to find the NSPR and dbm header files and libraries.

gmake
Builds NSS.

Reply via email to