[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls/gnutls.h: No such file or directory
From: |
Stephen J. Turnbull |
Subject: |
Re: gnutls/gnutls.h: No such file or directory |
Date: |
Tue, 21 Jun 2011 22:03:32 +0900 |
Ted Zlatanov writes:
> On Tue, 21 Jun 2011 16:59:51 +0800 Leo <address@hidden> wrote:
>
> L> I have worked around this by commenting out the line: Requires.private:
> L> zlib in gnutls.pc.
>
> ...so is it a bug in GnuTLS then? Meaning, is requiring zlib on MacOSX
> wrong?
AFAICS, the problem is that assuming that common libraries will be
known to pkgconfig is bogus on MacOSX. In the case in point, on
MacOSX, libz is a system library in /usr/lib, and there will be no
zlib.pc provided, so pkgconfig will get confused. OTOH, if you have
the MacPorts version of libz installed, there will be a proper zlib.pc
installed in /opt/local/lib/pkgconfig, and it will all just work.
Presumably this also works if you have a private build in /usr/local
too.