From: Sakae Kobayashi Date: 1999-11-03T10:44:11+09:00 Subject: [ruby-list:18332] rubyTk の Tk は何がお勧めですか? 小林栄と申します。 頼んだRuby本がまだ届かないのでpdf版をみながらRubyを始めました。 という事で、新参者特有の質問です。 PlamoLinux1.4.4.(Kernel 2.036)の環境でTkを組み込んだRubyを作ろうと して、tcl8.2.1.tar.gz、tk8.2.1.tar.gz を入れました。後、ruby-1.4.2を makeしてるんですが、最後のフェーズでエラーになります。 ruby用(?)のtcl/tkはどの版がお勧めなのでしょうか? ==make_log make[1]: Entering directory `/home/sakae/ruby-1.4.2' gcc -g -O2 -I. -I. -I/usr/local/include -rdynamic main.o ext/extinit.o ext/dbm/dbm.a ext/etc/etc.a ext/fcntl/fcntl.a ext/md5/md5.a ext/pty/pty.a ext/sdbm/sdbm.a ext/socket/socket.a ext/tcltklib/tcltklib.a libruby.a -ldl -lm -ltermcap -lc -lgdbm -lc -lc -lc -lc -lc -lc -L/usr/local/lib -lc -L/usr/X11/lib -ltk -ltcl -lX11 -lm -ldl -lc -o ruby ext/tcltklib/tcltklib.a(tcltklib.o): In function `ip_ruby': /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:150: undefined reference to `Tcl_GetStringFromObj' ext/tcltklib/tcltklib.a(tcltklib.o): In function `ip_new': /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:231: undefined reference to `Tcl_CreateObjCommand' ext/tcltklib/tcltklib.a(tcltklib.o): In function `ip_toUTF8': /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:287: undefined reference to `Tcl_GetEncoding' /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:293: undefined reference to `Tcl_ExternalToUtfDString' /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:296: undefined reference to `Tcl_FreeEncoding' ext/tcltklib/tcltklib.a(tcltklib.o): In function `ip_fromUTF8': /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:318: undefined reference to `Tcl_GetEncoding' /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:324: undefined reference to `Tcl_UtfToExternalDString' /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:327: undefined reference to `Tcl_FreeEncoding' ext/tcltklib/tcltklib.a(tcltklib.o): In function `ip_invoke_real': /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:369: undefined reference to `Tcl_NewStringObj' /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:398: undefined reference to `Tcl_GetObjResult' /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:399: undefined reference to `Tcl_GetStringFromObj' /home/sakae/ruby-1.4.2/ext/tcltklib/tcltklib.c:403: undefined reference to `TclFreeObj' make[1]: *** [ruby] Error 1 =end # Rubyは、lispの香りがする。 -- E-mail: sakae@ps.ksky.ne.jp URL: http://www.ksky.ne.jp/~sakae/