From: Randy Kramer Date: 2006-03-22T12:31:20+09:00 Subject: Thanks, and two followups (was Re: Help with Ruby/TK install on Mandriva2006) On Tuesday 21 March 2006 12:17 pm, Justin Collins wrote: > Hidetoshi NAGAI wrote: > > Although I don't know Mandriva2006, there may be another rpm package > > about Ruby/Tk (e.g. ruby-tcltk-*.rpm). > I believe it is called ruby-tk. Try searching for it in mcc or rpmdrake > or using urpmi. > Also, I've never had any problems compiling Ruby on Mandriva, so you > might give that a shot if you want the newer version of Ruby. Thanks, Justin and Hidetoshi! I compiled the 1.8.4 source and it seemed to work well. Now require 'tk' works! I do have two followup questions: 1. There were a lot of warnings during the install step, like: zlib.c: In function 'gzfile_calc_crc': zlib.c:2120: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness Are these significant? 2. The irb command line works differently now than when Ruby 1.8.2 (the Mandriva package) was installed. Some examples: up and down arrows don't call up previous commands (i.e., command history), the left and right arrows don't move the cursor. IIRC, this is back to the way irb behaved when I installed Ruby 1.8.2 from source on Mandrake 10.1. Anybody know why the difference, and how to get the other behavior back? Aside: Perhaps the nicest behavior of all was that I could past multiple lines of Ruby code at the irb prompt, and somehow, magically, each line was shown with an irb prompt in front of it (very neat looking). That doesn't work anymore, and it seems I must now paste in each line separately. Randy Kramer