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

Ding Yangliang <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <CAOZbdaFrjK1_ygUc8qvsFvLDWNK=V_n2m-=9gmh=23-5FtwqZQ@mail.gmail.com>
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
struggling...


2016-10-20 23:08 GMT+00:00 Martin Thomson <[email protected]>:

> 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 <[email protected]> wrote:
> > On Thu, 2016-10-20 at 10:13 +0000, Ding Yangliang wrote:
> >> <b>ssl3con.c:36:18: fatal error: zlib.h: no such file or directory</b>
> >
> > 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 to zlib-dev.
> >
> > Kai
> >
> > --
> > dev-tech-crypto mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-tech-crypto
> --
> dev-tech-crypto mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
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.