all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: gnutls/gnutls.h: No such file or directory
Date: Mon, 20 Jun 2011 09:52:50 -0500	[thread overview]
Message-ID: <87oc1s1rnh.fsf@lifelogs.com> (raw)
In-Reply-To: m1ips01t38.fsf@th041141.ip.tsinghua.edu.cn

On Mon, 20 Jun 2011 22:21:47 +0800 Leo <sdl.web@gmail.com> 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	other threads:[~2011-06-20 14:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20  2:13 gnutls/gnutls.h: No such file or directory Leo
2011-06-20 13:34 ` Ted Zlatanov
2011-06-20 14:21   ` Leo
2011-06-20 14:52     ` Ted Zlatanov [this message]
2011-06-21  8:59       ` Leo
2011-06-21 11:44         ` Ted Zlatanov
2011-06-21 12:55           ` Ted Zlatanov
2011-06-21 13:03           ` Stephen J. Turnbull

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc1s1rnh.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.