#42928: xft not found when building emacs from source ------------------------------+-------------------------------- Reporter: holtzermann17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: Xft2 | ------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:2 holtzermann17@…]:
... I wonder if the default port installed version has xft support?
It doesn't.
Investigating further (with the help of the Emacs guys), here's a more detailed error from the configure process when I built from source:
{{{ 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. }}}
That sounds like the problem you'd get with software that is not compatible with freetype 2.5.1 and later. The diff you proposed is not the correct fix. Consult the freetype documentation for the proper way to include freetype headers. -- Ticket URL: <https://trac.macports.org/ticket/42928#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X