Re: NSS and NSPR compilation error: ssl3con.c:36:18: fatal error: zlib.h: No such file

2016-11-10 Thread Ding Yangliang
If I build nss+nspr in my RedHat 7.2 x64, more arguments and packages are required. I see an error here, same as I had in Ubuntu 16.04 LTS but solved there by installing zlib1g-dev The message is: gcc -o Linux3.10_x86_64_cc_glibc_PTH_64_OPT.OBJ/zip.o -c -O2 -fPIC -DLINUX2_1 -m64 -pipe

Re: NSS and NSPR compilation error: ssl3con.c:36:18: fatal error: zlib.h: No such file

2016-10-21 Thread Ding Yangliang
Thanks for helping of yours! Now I have enabled the option you said, with this line: sudo make nss_build_all NSS_SSL_ENABLE_ZLIB= BUILD_OPT=1 Before that I also installed zlib1g-dev sudo apt-get install zlib1g-dev And all errors are gone! Thanks a lot and have a good day. 1 week

Re: NSS and NSPR compilation error: ssl3con.c:36:18: fatal error: zlib.h: No such file

2016-10-20 Thread Martin Thomson
You can compile with make nss_build_all NSS_SSL_ENABLE_ZLIB= To disable zlib. It's not a feature you want, we just keep it because some existing users depend on it. On Thu, Oct 20, 2016 at 11:10 PM, Kai Engert wrote: > On Thu, 2016-10-20 at 10:13 +, Ding Yangliang wrote: >>

Re: NSS and NSPR compilation error: ssl3con.c:36:18: fatal error: zlib.h: No such file

2016-10-20 Thread Kai Engert
On Thu, 2016-10-20 at 10:13 +, Ding Yangliang wrote: > ssl3con.c:36:18: fatal error: zlib.h: no such file or directory zlib.h is a file that should be provided by your development environment. I don't know what package on Ubuntu provides that file, but I'm guessing the name should be similar

NSS and NSPR compilation error: ssl3con.c:36:18: fatal error: zlib.h: No such file

2016-10-20 Thread Ding Yangliang
I believe this is the correct place to post my question so let's put it simple: when building nss-3.27-with-nspr-4.13 with gcc/g++ in Ubuntu 16.04 LTS I have encountered an error, saying some .c files are not found, any help would be appreciated, thanks. I followed the instructions on Mozilla