#42928: xft not found when building emacs from source ------------------------------+-------------------------------- Reporter: holtzermann17@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: Xft2 | ------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:2 holtzermann17@…]:
{{{ In file included from /usr/X11/include/X11/Xft/Xft.h:39: /usr/X11/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found #include <freetype/config/ftheader.h> ^ 1 error generated. }}}
I didn't notice before that this was the copy of freetype in /usr/X11, not the copy MacPorts provides. The copy in /usr/X11 is undoubtedly older than 2.5.1. The copy in MacPorts is 2.5.3. In 2.5.1 the freetype developers changed where their headers are located. You can't mix software compiled with freetype < 2.5.1 with software compiled with freetype >= 2.5.1. -- Ticket URL: <https://trac.macports.org/ticket/42928#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X