Failed building NSS 3.44 on MacOSX

John Jiang <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <CAJbO6CTwMS5ndgjMZbNe6w7Bj81Y3OLtmsuWDwmk2VWcF7=Nsw@mail.gmail.com>
Hi,
I tried to build NSS 3.44 on MacOSX 10.13.6 (Darwin Kernel Version 17.7.0).
Just run "make nss_build_all" in directory nss-3.44/nss, and got the below
errors,
mkdir -p ./../nspr/Darwin17.7.0_cc_64_OPT.OBJ
cd ./../nspr/Darwin17.7.0_cc_64_OPT.OBJ ; \
CC="cc x86_64" CXX="g++ x86_64" sh ../configure \
--disable-debug --enable-optimize --enable-64bit \
--with-dist-prefix='path/to/nss-3.44/nss/../dist/Darwin17.7.0_cc_64_OPT.OBJ'
\
--with-dist-includedir='path/to/nss-3.44/nss/../dist/Darwin17.7.0_cc_64_OPT.OBJ/include'
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking target system type... x86_64-apple-darwin17.7.0
checking for whoami... /usr/bin/whoami
checking for gcc... cc x86_64
checking whether the C compiler works... no
configure: error: in `path/to/nss-3.44/nspr/Darwin17.7.0_cc_64_OPT.OBJ':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [../nspr/Darwin17.7.0_cc_64_OPT.OBJ/config.status] Error 77

but on the same machine, I didn't get any trouble when building NSS 3.43.
-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.