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?