Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#41578 closed defect (fixed)

Xft2 @2.3.1: build fails with freetype 2.5.1

Reported by: kmfs69@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: kyle@…, jeremyhu (Jeremy Huddleston Sequoia)
Port: Xft2

Description

I tried installing Xft2 on OS X 10.9 with the following 2 commands :

$ sudo port -d install Xft2 +universal
$ sudo port -d install Xft2 +universal configure.compiler=apple-gcc-4.2

Both llvm and gcc complain about the file freetype/ftoutln.h

 :info:build xftglyphs.c:24:10: fatal error: 'freetype/ftoutln.h' file not found
 :info:build xftglyphs.c:24:30: error: freetype/ftoutln.h: No such file or directory

Attachments (1)

Xft2.tar.gz (11.8 KB) - added by kmfs69@… 11 years ago.
debug output of compilation with llvm and gcc

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by kmfs69@…

Attachment: Xft2.tar.gz added

debug output of compilation with llvm and gcc

comment:1 Changed 11 years ago by kmfs69@…

Cc: kmfs69@… added

Cc Me!

comment:2 Changed 11 years ago by kyle@…

Cc: kyle@… added

Cc Me!

comment:3 Changed 11 years ago by kyle@…

Not a good fix, but got around this by creating a symlink from the freetype2 directory to freetype in /opt/local/include.

sudo ln -s /opt/local/include/freetype2 /opt/local/include/freetype

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; kmfs69@… removed
Summary: Xft2 @2.3.1 +universal Error: Processing of port Xft2 failedXft2 @2.3.1: build fails with freetype 2.5.1

It's an incompatibility with freetype 2.5.1. I can look into it in a few hours.

comment:5 Changed 11 years ago by jpayne@…

Cc: jpayne@… added

Cc Me!

comment:6 Changed 11 years ago by jpayne@…

Cc: jpayne@… removed

Cc Me!

comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added; ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #41581.

comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #41759.

Note: See TracTickets for help on using tickets.