xterm compilation errors

Neil Getker ngetker at mac.com
Fri Oct 26 10:13:19 PDT 2007


That cleared up the problems with xterm building, thanks!

Now I have it, and clusterssh installed, but get this when I run it:

bash-3.2$ /opt/local/bin/cssh
Bus error

I'm a recent convert from Linux/BSD and cannot seem to find strace on  
the system, or anyplace to use in troubleshooting and trying to figure  
out why clusterssh is now not working.

Anyone have any thoughts on this?

Regards,

Neil

On Oct 26, 2007, at 11:22 AM, N_Ox wrote:

>
> Le 26 oct. 07 à 15:12, Neil Getker a écrit :
>
>> 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
>>
>
> I've experienced this. The problem comes from xorg-xproto, I've  
> produced a patch and submitted it on Trac:
> http://trac.macports.org/projects/macports/ticket/12991
>
> Regards,
>
> --
> Anthony Ramine, the infamous MacPorts Trac slave.
> nox at macports.org
>
>



More information about the macports-users mailing list