Mark F Moser wrote:
> Hi All,
>
> I have followed the extract instructions given in
> http://www.mozilla.org/projects/security/pki/jss/jss_build.html
> and checked out NSS 3.2.
>
> I have looked in CVS and in the build system but that header file is
> nowhere. Am I making an obvious error ?
>
> I dont have a makefile with a rule for nss_build_all .... so I tried just
> using gmake ...
>
prtypes.h is part of the nspr source which will you will need to compile
nss; however, are you sure you checked out the nss source with the
proper tags? if you pulled the NSS_CLIENT_TAG or NSS_CLIENT_BRANCH,
compiling it wont work, as those are used for building nss as part of
the mozilla browser...
check out nspr with the NSPRPUB_RELEASE_4_1_1 tag, and nss with the
NSS_3_2_1_RTM tag, and do gmake nss_build_all in the
mozilla\security\nss directory. (that target is defined in the nss
Makefile: http://lxr.mozilla.org/mozilla/source/security/nss/Makefile#75 )
this will compile nspr, before compiling nss, and put prtypes.h and
others in a directory in which nss looks for header files.
good luck,
Ferdinand