From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.bugs Subject: bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports) Date: Tue, 25 Mar 2014 13:37:17 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395754691 13747 80.91.229.3 (25 Mar 2014 13:38:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2014 13:38:11 +0000 (UTC) Cc: Joe Corneli , 17043@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 25 14:38:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WSRYY-0001oy-12 for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Mar 2014 14:38:18 +0100 Original-Received: from localhost ([::1]:41868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSRYX-00021f-AG for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Mar 2014 09:38:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSRYP-00021R-Ib for bug-gnu-emacs@gnu.org; Tue, 25 Mar 2014 09:38:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSRYJ-0001Gj-NN for bug-gnu-emacs@gnu.org; Tue, 25 Mar 2014 09:38:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSRYJ-0001Ge-Jq for bug-gnu-emacs@gnu.org; Tue, 25 Mar 2014 09:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WSRYI-0007lk-Oj for bug-gnu-emacs@gnu.org; Tue, 25 Mar 2014 09:38:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joe Corneli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Mar 2014 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 17043-submit@debbugs.gnu.org id=B17043.139575464629812 (code B ref 17043); Tue, 25 Mar 2014 13:38:02 +0000 Original-Received: (at 17043) by debbugs.gnu.org; 25 Mar 2014 13:37:26 +0000 Original-Received: from localhost ([127.0.0.1]:48576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSRXi-0007km-5x for submit@debbugs.gnu.org; Tue, 25 Mar 2014 09:37:26 -0400 Original-Received: from mail-am1lp0012.outbound.protection.outlook.com ([213.199.154.12]:5368 helo=emea01-am1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSRXd-0007kX-SK for 17043@debbugs.gnu.org; Tue, 25 Mar 2014 09:37:23 -0400 Original-Received: from DBXPRD0410HT004.eurprd04.prod.outlook.com (10.255.66.167) by AMXPR04MB086.eurprd04.prod.outlook.com (10.242.71.17) with Microsoft SMTP Server (TLS) id 15.0.898.11; Tue, 25 Mar 2014 13:37:20 +0000 Original-Received: from Joes-MacBook-Pro.local (86.21.127.78) by pod51014.outlook.com (10.255.66.167) with Microsoft SMTP Server (TLS) id 14.16.423.0; Tue, 25 Mar 2014 13:37:19 +0000 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.2 In-Reply-To: X-Originating-IP: [86.21.127.78] X-Forefront-PRVS: 01613DFDC8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019001)(6009001)(428001)(5423002)(189002)(199002)(87936001)(95666003)(56816005)(46102001)(36756003)(98676001)(47446002)(31966008)(81342001)(93136001)(77982001)(95416001)(81542001)(69226001)(93516002)(59766001)(56776001)(54316002)(74706001)(90146001)(92726001)(79102001)(49866001)(86362001)(76796001)(50986001)(83072002)(53806001)(76482001)(94316002)(51856001)(80976001)(20776003)(19580405001)(85306002)(77096001)(97186001)(85852003)(87266001)(74366001)(33646001)(48376002)(81816001)(81686001)(74502001)(47736001)(74662001)(83322001)(63696002)(97336001)(76786001)(4396001)(54356001)(47776003)(74482001)(50466002)(65816001)(66066001)(80022001)(92566001)(74876001)(83506001)(19580395003)(47976001); DIR:OUT; SFP:1102; SCL:1; SRVR:AMXPR04MB086; H:DBXPRD0410HT004.eurprd04.prod.outlook.com; FPR:6EB3C276.866457C9.AD70916E.CEEAA9B3.201FB; MLV:sfv; PTR:Inf Received-SPF: None (: gold.ac.uk does not designate permitted sender hosts) X-OriginatorOrg: gold.ac.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87357 Archived-At: Glenn Morris writes: > So it sounds to me like you need to set CPPFLAGS, LDFLAGS before you run > configure, so that emacs finds the versions you want it to find. At the > moment I don't see an Emacs bug here. Firstly, yes, this does seem to help, but it didn't solve the problem. $ export CFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/' $ export LDFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/' $ export CPPFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/' For example, Emacs can now find libjpeg and giflib libraries that it wasn't able to find, before, and it also tries to include the MacPorts version of Xft. However, here, I still get an error: In file included from /opt/local/include/X11/Xft/Xft.h:39: /opt/X11/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found Patching this file as I indicated before solves the problem. I'll try addressing that point to the upstream developer for freetype. The *possible* Emacs feature request: Shouldn't it be able to detect that it's being built against MacPorts, and set the relevant flags automatically? -- Sent with my mu4e