Group: comp.lang.ruby


Subject: Still trying to install ruby/tk
From: John Slimick
Date: 11/25/2007 10:49:15 PM
I finally gave up on trying to get the tcltklib file to work. By the way, it is in /ruby/ruby1.8.5/ext/tk directory now, not the /etc/tcltk directory (which doesn't seem to exist). I finally found the ruby-tcltk rpm for my linux system (fedora 5), but when I try to install it, it says it can't find libtk8.4.so which exists in /usr/local/bin and in /usr/local. Any ideas where it should be kept so it can be found rpm? thanks in advance john slimick slimick@pitt.edu

Subject: Still trying to install ruby/tk
From: John Slimick
Date: 11/28/2007 2:51:06 AM
To answer my own problem, I got ruby/tk working this evening. To get this done: (1) I installed ActiveTcl (which defaults into /opt) (2) I went back to the /etc/tk directory, and changed the hard-coded paths to ones where things might actually be found (3) I set the LD_LIBRARY_PATH per the README.ActiveTcl file (4) I ran extconf.rb with the CONFIGURE arguments per the README.tcltklib file I have another installation to do tomorrow. I hope this works a second time. This was a difficult installation. john slimick slimick@pitt.edu On 2007-11-25, John Slimick <slimick@cameron.upb.pitt.edu> wrote: > I finally gave up on trying to get the > tcltklib file to work. By the way, it is > in /ruby/ruby1.8.5/ext/tk directory now, > not the /etc/tcltk directory (which doesn't > seem to exist). > > I finally found the ruby-tcltk rpm for > my linux system (fedora 5), but when I > try to install it, it says it can't find > > libtk8.4.so > > which exists in /usr/local/bin and in /usr/local. > Any ideas where it should be kept so it can be found > rpm? > > thanks in advance > john slimick > slimick@pitt.edu

Subject: Still trying to install ruby/tk
From: John Slimick
Date: 11/28/2007 2:51:06 AM
To answer my own problem, I got ruby/tk working this evening. To get this done: (1) I installed ActiveTcl (which defaults into /opt) (2) I went back to the /etc/tk directory, and changed the hard-coded paths to ones where things might actually be found (3) I set the LD_LIBRARY_PATH per the README.ActiveTcl file (4) I ran extconf.rb with the CONFIGURE arguments per the README.tcltklib file I have another installation to do tomorrow. I hope this works a second time. This was a difficult installation. john slimick slimick@pitt.edu On 2007-11-25, John Slimick <slimick@cameron.upb.pitt.edu> wrote: > I finally gave up on trying to get the > tcltklib file to work. By the way, it is > in /ruby/ruby1.8.5/ext/tk directory now, > not the /etc/tcltk directory (which doesn't > seem to exist). > > I finally found the ruby-tcltk rpm for > my linux system (fedora 5), but when I > try to install it, it says it can't find > > libtk8.4.so > > which exists in /usr/local/bin and in /usr/local. > Any ideas where it should be kept so it can be found > rpm? > > thanks in advance > john slimick > slimick@pitt.edu