Although NSS is part of Mozilla, there is a difference between 
"compiling NSS for use internally in Mozilla" and "compiling NSS as a 
separate library and command line tools".

The build steps you mention are for compiling "NSS for use internally in 
Mozilla".

If you want to compile "NSS as a separate library and the NSS command 
line tools", you should follow the separate download/build instructions 
given at 
http://www.mozilla.org/projects/security/pki/nss/nss-3.4.1/nss-3.4.1-build.html

Kai

Average GG wrote:
> I'm new to building mozilla so please bear with me (or bare if you
> like).
> I was able to co and build mozilla both on windows and linux with no
> trouble.  I needed to use certutil but I'm running into trouble
> building it (the correct way anyway).  If I make no changes I can
> build mozilla just fine.
> I think to build certutil I have to do the following:
> 
> * configure --enable-crypto
> * cd security/nss
> * make
> 
> That produces:
> 
> In file included from secdig.h:41,
>                  from secdig.c:35:
> secdigt.h:41:21: plarena.h: No such file or directory
> In file included from secoidt.h:42,
>                  from secdigt.h:42,
>                  from secdig.h:41,
>                  from secdig.c:35:
> 
> I can find plarena.h in dist/include/nspr/ and by adding a few "-I"s
> here and there I can get certutiil to build but I'm wondering what the
> correct way to build it is?
> Since mozilla built out of the box I would have thought that nss would
> as well as long as I did the --enable-crypto.
> 
> If you can tell what I'm missing or tell me what (hopefully not
> voluminous) doc to read I'd appreciate it.
> 
> AGG


Reply via email to