emacs-devel
[Top][All Lists]
Advanced

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

Re: gnutls/gnutls.h: No such file or directory


From: Ted Zlatanov
Subject: Re: gnutls/gnutls.h: No such file or directory
Date: Mon, 20 Jun 2011 09:52:50 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Mon, 20 Jun 2011 22:21:47 +0800 Leo <address@hidden> wrote: 

L> On 2011-06-20 21:34 +0800, Ted Zlatanov wrote:
>> What does `pkg-config --cflags gnutls' say on your system?  If it's
>> blank (as the src/Makefile snippet implies), then it seems `pkg-config'
>> is not giving the right include path to the compiler.

L> I was able to build and use gnutls with zlib 1.2.3 (default in OSX) but
L> the gnutls.pc requires zlib like this:

L> Requires.private: zlib

L> So pkg-config --cflags gnutls gives this error:

L> Package zlib was not found in the pkg-config search path.
L> Perhaps you should add the directory containing `zlib.pc'
L> to the PKG_CONFIG_PATH environment variable
L> Package 'zlib', required by 'GnuTLS', not found

L> BTW, zlib.pc is not found on OSX.

It seems like the problem is with the zlib in Mac OS X then.  I don't
think Emacs can work around the problem; it's probably a Mac OS X bug.
Do you know?  Can you report it, if so?

You can write a custom zlib.pc and publish it on the Emacs Wiki if you
want to help other users in the same situation.

Ted




reply via email to

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