gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnutls 2.12.6 and zlib 1.2.3


From: Vincent Torri
Subject: Re: gnutls 2.12.6 and zlib 1.2.3
Date: Tue, 21 Jun 2011 10:29:57 +0200



On Tue, Jun 21, 2011 at 9:55 AM, Leo <address@hidden> wrote:
[Please CC me on this bug]

I compiled gnutls 2.12.6 from source on OSX (Mac OS X 10.6.7) and have
the gnutls.pc like this:

,----
| prefix=/usr/local/unix/gnutls
| exec_prefix=${prefix}
| libdir=${exec_prefix}/lib
| includedir=${prefix}/include
|
| Name: GnuTLS
| Description: Transport Security Layer implementation for the GNU system
| URL: http://www.gnu.org/software/gnutls/
| Version: 2.12.6
| Libs: -L${libdir} -lgnutls
| Libs.private: -L/usr/local/unix/libgcrypt/lib -lgcrypt -L/usr/local/unix/libgpg-error/lib -L/usr/local/unix/gettext/lib -L/usr/local/unix/libiconv/lib -L/usr/local/unix/libgpg-er\
| ror/lib -lgpg-error -L/usr/local/unix/gettext/lib -lintl -L/usr/local/unix/libiconv/lib -liconv -lc -R/usr/local/unix/libgcrypt/lib -R/usr/local/unix/gettext/lib -R/usr/local/uni\
| x/libiconv/lib -R/usr/local/unix/libgpg-error/lib
| Requires.private: zlib
| Cflags: -I${includedir}
`----

The line 'Requires.private: zlib' requires a file zlib.pc which is not
provided by default on OSX.

On OSX the zlib version: #define ZLIB_VERSION "1.2.3"

if there is no zlib.pc in your computer, then it's a bug in the gnutls autotools one should add zlib to Requires.private only if zlib.pc is detected. not just if zlib is detected.

Vincent Torri

reply via email to

[Prev in Thread] Current Thread [Next in Thread]