Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#2001 closed defect (fixed)

Xft2 broken

Reported by: decibel (Jim Nasby) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

decibel@phonebook.1[22:25]/opt/local/darwinports:85%cat dports/x11/Xft2/Portfile # $Id: Portfile,v 1.12 2004/03/23 00:21:08 toby Exp $ decibel@phonebook.1[22:15]/opt/local/darwinports:82%sudo port install Xft2 ---> Fetching Xft2 ---> Verifying checksum for Xft2 ---> Extracting Xft2 ---> Configuring Xft2 ---> Building Xft2 with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/darwinports/dports/x11/Xft2/work/libXft-2.1.6" && make all" returned error 2 Command output: xftcolor.c:77: error: parse error before "XftColorAllocValue" xftcolor.c:77: error: parse error before '*' token xftcolor.c: In function `XftColorAllocValue': xftcolor.c:83: error: request for member `class' in something not a structure or union xftcolor.c:83: error: `TrueColor' undeclared (first use in this function) xftcolor.c:89: error: request for member `red_mask' in something not a structure or union xftcolor.c:90: error: request for member `red_mask' in something not a structure or union xftcolor.c:91: error: request for member `green_mask' in something not a structure or union xftcolor.c:92: error: request for member `green_mask' in something not a structure or union xftcolor.c:93: error: request for member `blue_mask' in something not a structure or union xftcolor.c:94: error: request for member `blue_mask' in something not a structure or union xftcolor.c:95: error: `result' undeclared (first use in this function) xftcolor.c:95: error: `color' undeclared (first use in this function) xftcolor.c:101: error: `XColor' undeclared (first use in this function) xftcolor.c:101: error: parse error before "xcolor" xftcolor.c:103: error: `xcolor' undeclared (first use in this function) xftcolor.c:106: error: `dpy' undeclared (first use in this function) xftcolor.c:106: error: `cmap' undeclared (first use in this function) xftcolor.c:107: error: `False' undeclared (first use in this function) xftcolor.c:114: error: `True' undeclared (first use in this function) xftcolor.c: At top level: xftcolor.c:118: error: parse error before '*' token xftcolor.c: In function `XftColorFree': xftcolor.c:123: error: request for member `class' in something not a structure or union xftcolor.c:123: error: `TrueColor' undeclared (first use in this function) xftcolor.c:124: error: `dpy' undeclared (first use in this function) xftcolor.c:124: error: `cmap' undeclared (first use in this function) xftcolor.c:124: error: `color' undeclared (first use in this function) make[1]: * [xftcolor.lo] Error 1 make: * [all] Error 2

Change History (4)

comment:1 Changed 20 years ago by toby@…

severity: blockernormal

comment:2 Changed 20 years ago by blb@…

Having just completely redone my DP installation, I didn't run into any issues with Xft2; what is your system (OS, version, are X11 and X11SDK packages both installed)? Can you attach the output from doing a 'port -dv build Xft2' after doing 'sudo port clean Xft2'?

comment:3 Changed 20 years ago by anders@…

after installing x.org, I tried installing xft2 and got the following error:

sudo port install Xft2

---> Fetching freetype ---> Attempting to fetch freetype-2.1.9.tar.bz2 from http://voxel.dl.sourceforge.net/freetype ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all ---> Staging freetype into destroot ---> Installing freetype 2.1.9_0 ---> Activating freetype 2.1.9_0 ---> Fetching Xft2 ---> Attempting to fetch libXft-2.1.6.tar.bz2 from http://freedesktop.org/~xlibs/release/ ---> Verifying checksum(s) for Xft2 ---> Extracting Xft2 ---> Configuring Xft2 Error: Target com.apple.configure returned: configure failure: shell command "cd "/Users/xxxx/darwinports/dports/x11/Xft2/work/libXft-2.1.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man" returned error 1 Command output: checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin7.5.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for pkg-config... /opt/local/bin/pkg-config checking for xrender >= 0.8.2... Package xrender was not found in the pkg-config search path. Perhaps you should add the directory containing `xrender.pc' to the PKG_CONFIG_PATH environment variable No package 'xrender' found checking for xrender >= 0... Package xrender was not found in the pkg-config search path. Perhaps you should add the directory containing `xrender.pc' to the PKG_CONFIG_PATH environment variable No package 'xrender' found checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking X11/extensions/Xrender.h usability... no checking X11/extensions/Xrender.h presence... no checking for X11/extensions/Xrender.h... no configure: error: Xrender.h not found.

comment:4 Changed 20 years ago by toby@…

Resolution: fixed
Status: newclosed

Fixed, probably.

Note: See TracTickets for help on using tickets.