From: matz@... (Yukihiro Matsumoto) Date: 2002-07-25T15:52:35+09:00 Subject: Re: Compiling ruby on SGI origins Hi, In message "Compiling ruby on SGI origins" on 02/07/25, Bil Kleb writes: | |I just tried compiling ruby-1.6.7 on a couple SGI origins (mips-sgi-irix6.5), |and encountered some difficulties. For example, one machine gave, | | ld -shared -L/tmp_mnt/home/ab16/ab/kleb/local/ruby-1.6.7 -o tcltklib.so stubs.o tcltklib.o -L/home/ab16/ab/kleb/local/ruby-1.6.7/lib -ltk8.0 -ltcl8.0 -lX11 -lm -ldl -lsocket -lnsl -lc |ld32: FATAL 9 : I/O error (-ltk8.0): No such file or directory |*** Error code 32 (bu21) You need to supply the directory where libtk8.0 is, by --with-tcl-lib= to configure, or extconf.rb. |I don't have access to the other machine at the moment, but the small bit I |managed to capture went like this, | | gcc -fPIC -g -O2 -Dsocklen_t=int -I. -I/u/.realmounts/le/gnoffo/local/ruby-1.6.7 |-I/u/.realmounts/le/gnoffo/local/ruby-1.6.7 -I/u/gnoffo/local/include -DHAVE_NETINET_UDP_H |-DHAVE_INET_NTOP -DHAVE_INET_PTON -DHAVE_GETSERVBYPORT -DHAVE_ARPA_INET_H |socket.c:93: warning: `_SS_ALIGNSIZE' redefined It shouldn't happen since redefinition should be detected by extconf.rb. Could you show me your ext/extmk.log? matz.