We had lots of problems building 3.1.1 because it was trying to mix the 
mozilla build environment with NSS coreconf environment. Is there a 
reason you want to build NSS 3.1.1 rather than NSS 3.2, or is it just 
because the links are not correct on the mozilla page?

I suggest trying the build instructions at: 
http://www.mozilla.org/projects/security/pki/nss/buildnss_32_orig.html

bob


ahuahuang wrote:

> FLOPEZ :
>     I use two ".bat" file to set variables .Can you tell me if they is
> correct ? thank you very much .
>                        ahuahuang
> *********************************************************
> mozilla.bat
> set MOZ_BITS=32
> set MOZ_DEBUG=1
> set MOZ_NT=500
> set MOZ_SRC=D:\SSLProject\JssWorking\nss_src
> set MOZ_TOOLS=c:\moz_tools
> set OS_TARGET=WINNT
> set WINOS=%OS_TARGET%
> set PATH=%PATH%;%MOZ_TOOLS%\bin
> set _MSC_VER=42
> set DISABLE_TESTS=
> set MOZ_DISABLE_JAR_PACKAGING=1
> *****************************************************
> ********************************************************
> nss.bat
> set OS_TARGET=WINNT
> set USE_DEBUG_RTL=1
> set BUILD_OPT=1
> set CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot
> set NS_USE_GCC=1
> set NO_MDUPDATE=1
> set HOME=c:\home
> ************************************************************
> 
> 
> 
> 
> 
> 
> 
> 
> ----- Original Message -----
> From: "FLOPEZ" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, November 21, 2001 7:17 PM
> Subject: Re: Problem of NSS
> 
> 
> 
>>Make sure that all your enviroment variables are defined correctly,
>>and them
>>don��t contain blank spaces ahead or behind of variable value.
>>
>>ahuahuang wrote:
>>
>>
>>>I step by step as same as the follows: The link is
>>>
>>>
> http://www.mozilla.org/projects/security/pki/nss/buildnss_31.html#windows
> 
>>>Now , I was in step 6 . The system show me the follow error . if anyone
>>>
> know
> 
>>>why ,please tell me , or email [EMAIL PROTECTED] thanks .
>>>
>>>
>>>
> ****************************************************************************
> 
>>>****
>>>D:\SSLProject\JssWorking\nss_src\mozilla\nsprpub>nmake /f makefile.win
>>>
>>>Microsoft (R) Program Maintenance Utility Version 1.50
>>>Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>>>
>>>c:\moz_tools\bin\gmake.exe MOZ_TOOLS_FLIPPED=c:/moz_tools
>>>PR_CLIENT_BUIL
>>>D=1 PR_CLIENT_BUILD_WINDOWS=1 OS_TARGET=WINNT USE_DEBUG_RTL=1 export
>>>c:\moz_tools\bin\gmake.exe: Interrupt/Exception caught (code =
>>>
> 0xc0000005,
> 
>>>addr
>>>= 0x4131e6)
>>>NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
>>>
> '0xff'
> 
>>>Stop.
>>>
>>>
> ****************************************************************************
> 
>>>*******
>>>
>>>**********************************************************
>>>
>>>Windows Build Instructions
>>>The Windows build procedure requires the following tools:
>>>MASM (ml.exe). For detailed instructions on obtaining a standalone
>>>
> version
> 
>>>of MASM, see either of the following locations:
>>>http://www.easystreet.com/~jkirwan/pctools.html
>>>http://user.ecc.u-tokyo.ac.jp/~l94102/programmierung/masm-e.html
>>>To build NSS and the necessary components from Mozilla on Windows, make
>>>
> sure
> 
>>>you have the tools listed above installed in your system, and follow
>>>
> these
> 
>>>steps:
>>>Note: Before building NSS 3.1, make sure that the MOZILLA_CLIENT
>>>
> environment
> 
>>>variable is not defined.
>>>
>>>Set up the environment variables as described in the section "Set Up the
>>>Build Environment" of Building Mozilla on Microsoft Windows 32-bit
>>>platforms.
>>>
>>>Set CVSROOT.
>>>set CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot
>>>
>>>Log into CVS.
>>>cvs login
>>>At the password prompt, type anonymous
>>>
>>>Set the environment variables that control the kind of build:
>>>
>>>set OS_TARGET=WIN95
>>>
>>>NSS and the Mozilla dbm have different build options for indicating
>>>
> whether
> 
>>>you want to generate a debug or optimized build. Therefore, the outcome
>>>depends on the way you combine several variables.
>>>
>>>In the following table, RTL stands for the C run-time library of MSVC,
>>>"debug RTL" corresponds to the /MDd compiler option, and "release RTL"
>>>corresponds to the /MD compiler option. To achieve the result shown in
>>>
> the
> 
>>>left column, you must set the environment variables as shown in both the
>>>other columns of the same row.
>>>
>>>Build type Mozillas dbm NSS
>>>Debug, debug RTL set MOZ_DEBUG=1 set USE_DEBUG_RTL=1
>>>Debug, release RTL set MOZ_DEBUG=1
>>>set MOZ_NO_DEBUG_RTL=1 None
>>>Optimized (release RTL) None set BUILD_OPT=1
>>>
>>>5 Pull the following files (mozilla/config contains shared makefiles,
>>>mozilla/nsprpub is a module that dbm depends on, and mozilla/dbm is the
>>>
> dbm
> 
>>>module itself):
>>>
>>>cvs co -r NSS_3_1_1_RTM mozilla/config
>>>cvs co -r NSPRPUB_RELEASE_4_1 mozilla/nsprpub
>>>cvs co -r NSS_3_1_1_RTM mozilla/dbm
>>>
>>>6 Build NSPR and then dbm:
>>>
>>>cd mozilla\nsprpub
>>>nmake /f makefile.win
>>>cd ..\dbm
>>>nmake /f makefile.win
>>>
>>>Pull the NSS module with the CVS tag for the NSS 3.1.1 release:
>>>
>>>7 cd ..\..
>>>cvs co -r NSS_3_1_1_RTM mozilla/security
>>>
>>>8 cd mozilla\security\nss
>>>Note: It's not necessary to build nsinstall on Windows.
>>>
>>>9 gmake moz_import
>>>Tells NSS where to find the NSPR and dbm header files and libraries.
>>>
>>>10 gmake
>>>Builds NSS.
>>>
>>>**********************************************************
>>>
>>--
>>********************************************************
>>* *
>>* FERNANDO LOPEZ BORREGA. *
>>* *
>>* Facultad de Informatica. *
>>* Universidad Politecnica de Madrid. *
>>* *
>>* E-MAIL:[EMAIL PROTECTED] *
>>* *
>>**********************************************************************
>>* La mayoria de las personas son tan felices como se deciden a serlo *
>>**********************************************************************
>>* Maldecir es el unico lenguaje que dominan todos los programadores *
>>**********************************************************************
>>
>>
>>
> 
> 
> 


Reply via email to