[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Still trying to install ruby/tk

John Slimick

11/25/2007 10:49:00 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
2 Answers

Axel Etzold

11/26/2007 12:18:00 AM

0


-------- Original-Nachricht --------
> Datum: Mon, 26 Nov 2007 07:50:00 +0900
> Von: John Slimick <slimick@cameron.upb.pitt.edu>
> An: ruby-talk@ruby-lang.org
> Betreff: Still trying to install ruby/tk

> 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

Dear John,

I think this is a path setting issue.
Here's a discussion about installing TCl/Tk on Solaris, but I think
it will apply to Fedora as well:

http://www.linuxquestions.org/questions/solaris-opensolaris-20/ns2-installation-problem-on-solaris-...

Best regards,

Axel
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/g...

John Slimick

11/28/2007 2:51:00 AM

0

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