In <[EMAIL PROTECTED]>,
Chris Seawood <[EMAIL PROTECTED]> wrote:
> Tony Houghton wrote:
>> I can't work out how to compile 0.9.3 (or more recent CVS) with securit
>> support. When it changed over to PSM 2 (IIRC), I eventually found out
>> that I had to export MOZ_NSS_AUTOCONF=1 and go through the CVS checkout
>> procedure to get some code that's been missing from the tarballs ever
>> since, before using configure's --enable-crypto option. That doesn't
>> work any more, configure warns that there's no configuration info in
>> security/nss or something like that.
>
> MOZ_NSS_AUTOCONF is now obsolete. Do not try to use it, it will not
> work. Unset it. Just use --enable-crypto . If that doesn't work, then
> file a bug.
OK, I made sure it wasn't set and started again:
$ cd /usr/src
$ rm -rf mozilla
$ tar xvfj ~/downloads/mozilla-source-0.9.3.tar.bz2
$ rm mozilla/client.mk
$ export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot
$ cvs login
$ cvs co mozilla/client.mk
$ gmake -f mozilla/client.mk checkout
$ cd /usr/local/mozilla # Owned by me, currently empty
$ ./configure ... --enable-crypto
...
configure: warning: no configuration information is in security/nss
The security/nss directory was completely empty in fact. make eventually
fails because of this. So I tried building it in the source tree:
$ cd /usr/src/mozilla
$ ./configure ... --enable-crypto
...
configure: warning: no configuration information is in security/nss
Although this time there were some files there. Again, I pressed on
anyway with the make, which failed with:
cd crmf; make export
make[3]: Entering directory `/usr/src/mozilla/security/nss/lib/crmf'
Creating ../../../../dist/public/security
/bin/sh: ../../../coreconf/nsinstall/Linux2.4_x86_glibc_PTH_DBG.OBJ/nsinstall: No such
file or directory
make[3]: *** [../../../../dist/public/security] Error 127
make[3]: Leaving directory `/usr/src/mozilla/security/nss/lib/crmf'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/usr/src/mozilla/security/nss/lib'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/usr/src/mozilla/security/nss'
make: *** [export] Error 2
It doesn't seem to make any difference whether I use the unmodified
tarball, try to pull extra modules but from the 0.9.3 release (by not
deleting client.mk first), or go for the latest version as above.
--
TH * http://www.realh.co.uk