Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Building NSS failed on both Ubuntu 12.04 and Linux Mint 14

730 views
Skip to first unread message

Brian Huang

unread,
Apr 6, 2013, 12:18:43 PM4/6/13
to
I followed this instruction: https://developer.mozilla.org/en-US/docs/NSS/Building, trying to build NSS on both Ubuntu 12.04 and Linux Mint 14. All builds failed with the error:
secasn1.h:17:21: fatal error: plarena.h:no such file or directory

I tried to find the file:
$ find ../../../ -name plarena.h
../../../mozilla/nsprpub/lib/ds/plarena.h
../../../mozilla/dist/Linux3.2_x86_64_glibc_PTH_64_OPT.OBJ/include/plarena.h

What's wrong?

Brian Huang

unread,
Apr 6, 2013, 10:29:04 PM4/6/13
to
I solved this problem by building nsprpub first. I added -I<nspr include> to the CFLAGS.
0 new messages