Aditya Sharma Mamillapalli wrote:
hi all,
i am facing problems while configuring and building the mozilla
NSS. i have downloaded the source tar balls of nss-3.9 which has nspr
with in it.
i have tried to build in the nss directory "make nss_build_all". i got
the following error message.
In file included from ../../../../dist/private/nss/nsspki1.h:57,
from nsspki.h:56,
from asymmkey.c:39:
../../../../dist/private/nss/oiddata.h:46: error: array type has
incomplete element type
make[2]: *** [Linux2.6_x86_glibc_PTH_DBG.OBJ/asymmkey.o] Error 1
make[2]: Leaving directory
`/home/aditya/indstudy/nss-3.9/mozilla/security/nss/lib/pki'
make[1]: *** [libs] Error 2
make[1]: Leaving directory
`/home/aditya/indstudy/nss-3.9/mozilla/security/nss/lib'
make: *** [libs] Error 2
[EMAIL PROTECTED]:~/indstudy/nss-3.9/mozilla/security/nss$
This is a known bug when you compile NSS 3.9
with GCC 4.
https://bugzilla.mozilla.org/show_bug.cgi?id=284386
I suggest you download the NSS 3.11 tar balls:
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_RTM
i have tried to run the binary distribution using the "cmsutil".
i got the following error message.
[EMAIL PROTECTED]:~/Desktop/mozillanss/nss-3.9/bin$ ./cmsutil -C -i try -o
out -v
received commands
cmsutil: NSS_Init failed: An I/O error occurred during security
authorization.
[EMAIL PROTECTED]:~/Desktop/mozillanss/nss-3.9/bin$
This means
rv = NSS_InitReadWrite(SECU_ConfigDirectory(NULL));
failed. Hopefully someone else knows why. You can
try creating a ".netscape" directory in your home
directory before you run cmsutil, or specifying the
-d dbdir option
(http://www.mozilla.org/projects/security/pki/nss/tools/cmsutil.html).
Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto