Andreas Hasenack wrote:
I have mozilla-1.3a and I'm trying to add a default root certificate to it at build time. Reading some files told me that I should use the addbuiltin tool in security/nss/cmd/addbuiltin (and that's just the first step, I can't believe how complicated it is, but that's another matter).I'm getting tons of errors while trying to build this tool, even though mozilla builds fine.
[...]
Two solutions.Does anybody have a quick tip for this issue?
1. Build NSS standalone. Download the NSS 3.7.1 source tarball
from ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_7_1_RTM/src/nss-3.7.1.tar.gz.
Follow the build instructions at
http://www.mozilla.org/projects/security/pki/nss/nss-3.7.1/nss-3.7.1-build.html
to build it. Then, cd into mozilla/security/nss/cmd/addbuiltin
and do a gmake.
2. If you already have a mozilla source tree, edit
mozilla/security/nss/cmd/manifest.mn and add
addbuiltin \
between the line
zlib \
and the line
atob \
Then, cd into security/manager in your *build tree*
and do a gmake there.
Wan-Teh
