Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 11 and Version 12 of BuildingWinNSS


Ignore:
Timestamp:
Mar 1, 2010, 3:07:22 AM (14 years ago)
Author:
bviktor
Comment:

some cosmetics

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWinNSS

    v11 v12  
    1111 1. Get NSS
    1212
    13   Download [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_5_RTM/src/nss-3.12.5-with-nspr-4.8.2.tar.gz NSS with NSPR 3.12.5]. Extract it so somewhere (you'll get an `nss-3.12.5-with-nspr-4.8.2` directory).
     13  Download [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_5_RTM/src/nss-3.12.5-with-nspr-4.8.2.tar.gz NSS with NSPR 3.12.5]. Extract it to `c:\devel\nss-devel`.
    1414
    1515 2. Get !MozillaBuild
     
    1919 3. Get MinGW
    2020
    21   This assumes that you have MinGW working as described in the [wiki:BuildingWinPidgin#Themanualway Pidgin Building Instructions].
    22 
    23  4. Get w32api sources
    24 
    25   Download [https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/w32api-3.14/w32api-3.14-mingw32-src.tar.gz/download MinGW API for MS-Windows 3.14]. Extract it to somewhere (you'll get a `w32api-3.14-mingw32` directory).
    26 
    27 == Build shell32 library ==
    28 
    29  1. Enter `w32api-3.14-mingw32`.
    30 
    31  2. Build libraries:
    32 
    33 {{{
    34 sh configure
    35 make
    36 }}}
    37 
    38  3. Copy `w32api-3.14-mingw32/lib/shell32.o` to `win32-dev/mingw/lib`.
     21  This assumes that you have MinGW working as described in the [wiki:BuildingWinPidgin#Themanualway Pidgin Building Instructions] (in short, you need [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/ MinGW] installed with at least gcc).
    3922
    4023== Choose build flavour ==
     
    11295== Patch NSS ==
    11396
    114 There's an error which prevents NSS from building with GCC. Apply the following patch to `nss-3.12.5-with-nspr-4.8.2\mozilla\security\nss\lib\freebl\config.mk`:
     97There's an error which prevents NSS from building with GCC. Apply the following patch to `c:\devel\nss-devel\nss-3.12.5-with-nspr-4.8.2\mozilla\security\nss\lib\freebl\config.mk`:
    11598
    11699{{{
     
    164147}}}
    165148
    166 Launch a MSYS shell using `c:\mozilla-build\msys\msys.bat` and run the above script.
     149Launch an MSYS shell using `c:\mozilla-build\msys\msys.bat` and run the above script.
    167150
    168151The build will likely not complete successfully (it will bail out building `.../cmd/bltest`).  If it gets that far, it has built the various libraries successfully.
    169152
    170 The resulting binaries will be placed in `nss-3.12.5-with-nspr-4.8.2\mozilla\dist`. The contents of `private` and `public` are the same across all flavours so they can be distributed separately.
     153The resulting binaries will be placed in `c:\devel\nss-devel\nss-3.12.5-with-nspr-4.8.2\mozilla\dist`. The contents of `private` and `public` are the same across all flavours so they can be distributed separately.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!