From: Rich L. [email protected]
Subject: Re: LoadError: no such file to load – tk
Date: Fri, 23 Jul 2010 12:36:07 +0900
Message-ID: [email protected]
I need the messages at ext/tk step of “make”.
Here’s all the output from the terminal:
Ah, I’m sorry. It may be ambiguous.
During compiling Ruby, make-process creates each library under
/ext directory (ext/tk is one of them).
Then, the process calls “miniruby extconf.rb”.
/ext/tk/extconf.rb search Tcl/Tk libraries.
And then, it outputs messages about search steps.
I need the messages.
It gives me hints about why cannot find available libraries.
From: Rich L. [email protected]
Subject: Re: LoadError: no such file to load – tk
Date: Thu, 22 Jul 2010 09:47:35 +0900
Message-ID: [email protected]
Probably, ext/tk/extconf.rb outputs some messages about searching and
testing Tcl/Tk libraries (and {tcl,tk}Config.sh) during make steps.
Please tell me the messages, too.
On a FreeBSD 8.0 machine I went to \usr\ports\lang\tcl85 and as root
ran; make install clean. This installed tcl 8.5. On command line if I
I need the messages at ext/tk step of “make”.
Previous output was from Tcl. I found something useful at the end of
Ruby install:
====
Note that some of the standard libraries are provided as separate
ports since they require extra dependencies:
converters/ruby-iconv iconv module
databases/ruby-gdbm: GDBM module
x11-toolkits/ruby-tk: Tcl/Tk modules
japanese/ruby-tk: Tcl/Tk modules for Japanized Tcl/Tk
lang/ruby-mode.el: Emacs lisp modules
Install them as occasion demands.
I need to install x11-toolkits/ruby-tk. I will try now.
Not onty sudo apt-get install tk is enough but you also need the below
library files to be installed so that your problem will be solved and
you wont see this error never again.