GNU bug report logs - #17043
24.3.50; xft isn't found on OS X 10.9.2 (Macports)

Previous Next

Package: emacs;

Reported by: Joe Corneli <j.corneli <at> gold.ac.uk>

Date: Thu, 20 Mar 2014 00:17:02 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 17043 <at> debbugs.gnu.org (full text, mbox):

From: Joe Corneli <j.corneli <at> gold.ac.uk>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Joe Corneli <j.corneli <at> gold.ac.uk>, 17043 <at> debbugs.gnu.org
Subject: Re: 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
Glenn Morris <rgm <at> gnu.org> 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





This bug report was last modified 11 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.