Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1657 closed defect (fixed)

Xft2 buikd errors

Reported by: kristian.peters@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: kristian.peters@…
Port:

Description

Hello.

Building the new Xft2 won't work anymore. Any ideas ?

$ port install Xft2 ---> Fetching Xft2 ---> Attempting to fetch libXft-2.1.6.tar.bz2 from http://freedesktop.org/~xlibs/release/ ---> Verifying checksum for Xft2 ---> Extracting Xft2 ---> Configuring Xft2 ---> Building Xft2 with target all Error: Target com.apple.build returned: shell command "cd "/opt/src/darwinports/dports/x11/Xft2/work/libXft-2.1.6" && make all" returned error 2 Command output: xftint.h:418: undefined type, found `CARD32' xftint.h:421: undefined type, found `CARD8' xftint.h:424: undefined type, found `CARD16' xftint.h:427: undefined type, found `XImage' xftcolor.c:27: undefined type, found `Bool' xftcolor.c:28: undefined type, found `Display' xftcolor.c:29: undefined type, found `_Xconst' xftcolor.c:29: syntax error, found `*' xftcolor.c:32: illegal function definition, found `)' xftcolor.c:34: undefined type, found `XColor' xftcolor.c:36: illegal external declaration, found `if' xftcolor.c:76: undefined type, found `Bool' xftcolor.c:77: undefined type, found `Display' xftcolor.c:78: undefined type, found `Visual' xftcolor.c:79: undefined type, found `Colormap' xftcolor.c:80: undefined type, found `_Xconst' xftcolor.c:80: syntax error, found `*' xftcolor.c:81: illegal function definition, found `)' xftcolor.c:95: illegal external declaration, missing ;' after result' xftcolor.c:95: illegal method definition, found `)' xftcolor.c:97: illegal method definition, missing {' after )' xftcolor.c:99: illegal external declaration, found `else' xftcolor.c:101: undefined type, found `XColor' xftcolor.c:103: illegal external declaration, missing ;' after xcolor' xftcolor.c:118: undefined type, found `Display' xftcolor.c:119: undefined type, found `Visual' xftcolor.c:120: undefined type, found `Colormap' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[1]: * [xftcolor.lo] Error 1 make: * [all] Error 2

*Kristian

Change History (2)

comment:1 Changed 21 years ago by toby@…

Do you have X11 installed? The header defining CARD* (Xmd.h) is part of X11.... I suppose it should be added as a dep of Xft

comment:2 Changed 21 years ago by kristian.peters@…

Resolution: fixed
Status: newclosed

xrender-0.8.4 fixes these problems

Note: See TracTickets for help on using tickets.