LoadError: no such file to load -- tk

Roger Pack wrote:

Thanks Roger. I'm up and running now on Windows using the one you made.
I'm going to read up on the ruby installer. Now I just need to get it
going on Unix, same problem.

Rich

I copied your directory tree over and it works but in windows when you
install things doesn't it have to make registry entries or anything
besides copying files and folders? Isn't that what installers do? Or
does Ruby not require any of that? To install Ruby is it just a matter
of copying files and folders? I'm still reading about the installer but
it's not making any sense yet.

Ruby on windows is built to be self contained, and you can move it all
over the place and just use it.
You *can* get an install that uses the registry (and hence can't be
moved) over at rubyinstaller.org. The package I gave you isn't like
that.
-r

Yes, I know. How can I build Ruby that includes tk and an installer to
install it to windows? Since there's no "right" or "wrong" way then how
am I supposed to know what to do?

···

--
Posted via http://www.ruby-forum.com/\.

I need the messages at ext/tk step of "make".

Here's all the output from the terminal:

# make install clean
===> Installing for tcl-8.5.8
===> tcl-8.5.8 depends on file:
/usr/local/lib/tcl8/8.5/tcltest-2.3.2.tm - found

He wanted the messages from the output of ruby/ext/tk step of "make"

···

--
Posted via http://www.ruby-forum.com/\.

Message-ID: <200c9604074875f891c8c9aeaf12ad50@ruby-forum.com>

> 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
<ruby-source>/ext directory (ext/tk is one of them).
Then, the process calls "miniruby extconf.rb".

<ruby-source>/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 Leblanc <rl001@pacbell.net>
Subject: Re: LoadError: no such file to load -- tk
Date: Fri, 23 Jul 2010 12:36:07 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
Department of Artificial Intelligence, Kyushu Institute of Technology

Rich Leblanc wrote:

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

I have success. Thank you Hidetoshi-san. :slight_smile:

···

--
Posted via http://www.ruby-forum.com/\.

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

martin

···

On Fri, Jul 23, 2010 at 9:42 AM, Rich Leblanc <rl001@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. :slight_smile:

Martin DeMello wrote:

Rich Leblanc wrote:

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

I have success. Thank you Hidetoshi-san. :slight_smile:

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.

···

On Fri, Jul 23, 2010 at 9:42 AM, Rich Leblanc <rl001@pacbell.net> wrote:

--
Posted via http://www.ruby-forum.com/\.