From: Rich Leblanc on
Hidetoshi NAGAI wrote:
> From: Rich Leblanc <rl001(a)pacbell.net>
> Subject: Re: LoadError: no such file to load -- tk
> Date: Thu, 22 Jul 2010 09:47:35 +0900
> Message-ID: <ed9a2c3561bd079a7ef2965475154f08(a)ruby-forum.com>
>> > 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.
--
Posted via http://www.ruby-forum.com/.

From: Rich Leblanc on
Rich Leblanc wrote:

>
> I need to install x11-toolkits/ruby-tk. I will try now.

I have success. Thank you Hidetoshi-san. :)
--
Posted via http://www.ruby-forum.com/.

From: Martin DeMello on
On Fri, Jul 23, 2010 at 9:42 AM, Rich Leblanc <rl001(a)pacbell.net> wrote:
> Rich Leblanc wrote:
>
>>
>> I need to install x11-toolkits/ruby-tk. I will try now.
>
> I have success. Thank you Hidetoshi-san. :)

Could you write up a step-by-step set of instructions? Would be useful
for the next person.

martin

From: Rich Leblanc on
Martin DeMello wrote:
> On Fri, Jul 23, 2010 at 9:42 AM, Rich Leblanc <rl001(a)pacbell.net> wrote:
>> Rich Leblanc wrote:
>>
>>>
>>> I need to install x11-toolkits/ruby-tk. I will try now.
>>
>> I have success. Thank you Hidetoshi-san. :)
>
> Could you write up a step-by-step set of instructions? Would be useful
> for the next person.
>
> martin


To install Ruby/Tk on FreeBSD 8.0 Unix I did these three commands to
install the three components (as root):

1. /usr/ports/lang/tcl85# make install clean #Installs
Tcl/tk
2. /usr/ports/lang/ruby18# make install clean #Installs Ruby
1.8
3. /usr/ports/x11-toolkits/ruby-tk# make install clean #Installs Ruby
tk "stuff" I think (extensions, libraries?).

Very easy, I just installed the three components and it worked, no
hacking required.
--
Posted via http://www.ruby-forum.com/.