I'm trying to build mozilla code in windows XP. I need use xpcom and nss
packages. When mozilla build is finished the nss package is not compiled and
built.
Does anyone know how to build nss.
Thanks, Irene
http://www.mozilla.org/projects/security/pki/nss/buildnss_31.html#windows
but actually I do know how to integrate nss into the rest of the mozilla
build.
M.
Martin Buechler wrote:
> I'd suggest
>
> http://www.mozilla.org/projects/security/pki/nss/buildnss_31.html#windows
>
> but actually I do know how to integrate nss into the rest of the mozilla
^not
> build.
>
Thanks for your help. But that page is the
instructions for building *stand-alone* NSS.
I believe the original question is to build
NSS as part of Mozilla.
The build instructions you cited are out of
date. Could you tell me what pages referred
you to that page? I want to update those
links.
Thanks,
Wan-Teh
If your goal is to build Mozilla, you should
figure out how to build Mozilla, which will
build NSS.
For almost all Mozilla releases, the crypto
code (including NSS) is not built by default.
You need to pass --enable-crypto to Mozilla's
configure script. This is usually achieved
by adding
ac_add_options --enable-crypto
to your .mozconfig file.
Wan-Teh
I tried to build 2 ways, as a package and build nss as a part of mozilla
code where nss was included. The build failed in both cases.
I found new instructions to make a build for windows as a separate package:
http://www.mozilla.org/projects/security/pki/nss/nss-3.9/nss-3.9-build.html
This type of error I have when I'm building mozilla:
$ gmake -f client.mk build
Could not open the destination file : Invalid argument
Could not open the source file: No such file or directory
Path not found: No such file or directory
client.mk:152: /cygdrive/c/mozilla: No such file or directory
client.mk:152: |: Invalid argument
client.mk:152: sed: No such file or directory
client.mk:152: -e: No such file or directory
client.mk:152: s////.mozconfig.mk: No such file or directory
client.mk:153: /cygdrive/c/mozilla: No such file or directory
client.mk:153: |: Invalid argument
client.mk:153: sed: No such file or directory
client.mk:153: -e: No such file or directory
client.mk:153: s////build/unix/modules.mk: No such file or directory
c:\moztools\bin\gmake.exe: *** No rule to make target
`s////build/unix/modules.m
k'. Stop.
I enabled the crypto option in the .mozconfig file as was suggested, but it
didn't help. I tried to use make instead of gmake. It didn't work either.
When I tried to build a stand alone nss package. I got this type of error:
http://www.mail-archive.com/mozilla-...@mozilla.org/msg02496.html
https://bugzilla.mozilla.org/show_bug.cgi?id=257071
I reinstalled the cygwin package, but wasn't able to find gmake. I found
this command only in moztools package.
Do you have any suggestions to fix this issue (build NSS either way)?
-- Thanks, Irene
"Wan-Teh Chang" <wtc...@redhat.com> wrote in message
news:mailman.1109614201....@mozilla.org...