xterm compilation errors

Neil Getker ngetker at mac.com
Fri Oct 26 06:12:54 PDT 2007


I have just upgraded to Leopard (tried upgrade and clean install).   
Installed MacPorts, and then tried to install clusterssh (cssh).

On the upgrade, cssh ran, only it could not spawn xterm.  I tried  
'sudo port remove xterm' and reinstalling it/cssh but got this error:   
(same for clean install of Leopard)

$ sudo port install xterm
--->  Fetching xterm
--->  Verifying checksum(s) for xterm
--->  Extracting xterm
--->  Configuring xterm
--->  Building xterm with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xterm/work/xterm-225" && make all "  
returned error 2
Command output: gcc -I. -I. -DHAVE_CONFIG_H  -I/usr/X11/include -I/usr/ 
X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -I/usr/X11/ 
include  -I. -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include/ 
freetype2 -I/usr/X11/include/freetype2/config -I/usr/X11/include - 
D__i386__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED     -DXFREE86_FT2 - 
DUTMP  -DOSMAJORVERSION=9 -DOSMINORVERSION=0  -I/usr/X11/include -I/ 
opt/local/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 - 
DPROJECTROOT='"/usr/X11"' -D__vendorversion__='"Version 6.8.99.903  
X.Org"'  -O2  -c ./button.c
gcc -I. -I. -DHAVE_CONFIG_H  -I/usr/X11/include -I/usr/X11/include/ 
freetype2 -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include  - 
I. -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include/freetype2 - 
I/usr/X11/include/freetype2/config -I/usr/X11/include -D__i386__ - 
D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED     -DXFREE86_FT2 -DUTMP  - 
DOSMAJORVERSION=9 -DOSMINORVERSION=0  -I/usr/X11/include -I/opt/local/ 
include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 - 
DPROJECTROOT='"/usr/X11"' -D__vendorversion__='"Version 6.8.99.903  
X.Org"'  -O2  -c ./cachedGCs.c
gcc -I. -I. -DHAVE_CONFIG_H  -I/usr/X11/include -I/usr/X11/include/ 
freetype2 -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include  - 
I. -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include/freetype2 - 
I/usr/X11/include/freetype2/config -I/usr/X11/include -D__i386__ - 
D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED     -DXFREE86_FT2 -DUTMP  - 
DOSMAJORVERSION=9 -DOSMINORVERSION=0  -I/usr/X11/include -I/opt/local/ 
include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 - 
DPROJECTROOT='"/usr/X11"' -D__vendorversion__='"Version 6.8.99.903  
X.Org"'  -O2  -c ./charproc.c
./charproc.c: In function 'in_put':
./charproc.c:3230: error: 'fd_mask' undeclared (first use in this  
function)
./charproc.c:3230: error: (Each undeclared identifier is reported only  
once
./charproc.c:3230: error: for each function it appears in.)
make: *** [charproc.o] Error 1

XCodeTools/X11SDK, and everything else is installed correctly.  I have  
been able to compile EasyTag, mtr, and a few other programs via  
macports that I've tried.

Any help on this would be appreciated guys.

Thanks,

Neil


More information about the macports-users mailing list