From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: gnutls/gnutls.h: No such file or directory Date: Tue, 21 Jun 2011 22:03:32 +0900 Message-ID: <87tybj8hgb.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87vcw01v9f.fsf@lifelogs.com> <87oc1s1rnh.fsf@lifelogs.com> <87fwn3tnme.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: dough.gmane.org 1308661595 2556 80.91.229.12 (21 Jun 2011 13:06:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 13:06:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 15:06:30 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZ0ex-0006or-8C for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 15:06:27 +0200 Original-Received: from localhost ([::1]:43228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ0ew-0000wO-4B for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 09:06:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ0cA-0000BH-0c for emacs-devel@gnu.org; Tue, 21 Jun 2011 09:03:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ0c8-0004kn-G8 for emacs-devel@gnu.org; Tue, 21 Jun 2011 09:03:33 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:46002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ0c7-0004kE-Va for emacs-devel@gnu.org; Tue, 21 Jun 2011 09:03:32 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 363E73FA0514 for ; Tue, 21 Jun 2011 22:03:29 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id AE6461A25E9; Tue, 21 Jun 2011 22:03:32 +0900 (JST) In-Reply-To: <87fwn3tnme.fsf@lifelogs.com> X-Mailer: VM 8.1.93a under 21.5 (beta31) "ginger" cd1f8c4e81cd XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.223 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140772 Archived-At: Ted Zlatanov writes: > On Tue, 21 Jun 2011 16:59:51 +0800 Leo 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.