[#1263] Draft of the updated Ruby FAQ — Dave Thomas <Dave@...>

33 messages 2000/02/08

[#1376] Re: Scripting versus programming — Andrew Hunt <andy@...>

Conrad writes:

13 messages 2000/02/15

[#1508] Ruby/GTK and the mainloop — Ian Main <imain@...>

17 messages 2000/02/19
[#1544] Re: Ruby/GTK and the mainloop — Yasushi Shoji <yashi@...> 2000/02/23

Hello Ian,

[#1550] Re: Ruby/GTK and the mainloop — Ian Main <imain@...> 2000/02/23

On Wed, Feb 23, 2000 at 02:56:10AM -0500, Yasushi Shoji wrote:

[#1516] Ruby: PLEASE use comp.lang.misc for all Ruby programming/technical questions/discussions!!!! — "Conrad Schneiker" <schneiker@...>

((FYI: This was sent to the Ruby mail list.))

10 messages 2000/02/19

[#1569] Re: Ruby: constructors, new and initialise — Yukihiro Matsumoto <matz@...>

The following message is a courtesy copy of an article

12 messages 2000/02/25

[ruby-talk:01513] Re: Ruby/GTK 0.23 released

From: Yasushi Shoji <yashi@...>
Date: 2000-02-19 09:01:04 UTC
List: ruby-talk #1513
From: Hiroshi IGARASHI <igarashi@ueda.info.waseda.ac.jp>
Subject: [ruby-talk:01511] Re: Ruby/GTK 0.23 released
Date: Sat, 19 Feb 2000 16:42:18 +0900

> There ars documents only in Japanese:
>   http://www.swlab.csce.kyushu-u.ac.jp/~kurisu/ruby/win32-install.html

here is the quick & dirty japanese -> english translated version.  It
might be better to use one of the on-line translator pages, because
it's already four O'clock in the morning here... :P

all the credit is due at kurisu <kurisu@swlab.csce.kyushu-u.ac.jp>.
all the blame goes to me, as usual.

BTW, was it ok to translate and send to ML?
--
           yashi

Attachments (1)

win32-install.html (4.57 KB, text/html)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html">
  <title>Installation of Ruby for Win32</title>
</head>

<body bgcolor="white">
<hr>
<h1 align=center>Installation of Ruby for Win32</h1>
<div align=center>- and Gtk+, too! -</div>
<br>
<div align=right>
  kurisu &lt;kurisu@swlab.csce.kyushu-u.ac.jp&gt;<br>
</div>
<hr>

<h2>Preface</h2>

This memo was written when I tried to install ruby and ruby-gtk on
Windows98.  It'd be my presser if this memo help others who want to
try Ruby/Gtk on Windows platform.  I'm using pre-compiled archives
instead of compiling my self.

<h2>Requirements</h2>
<p>
You can download cygwin tools from a site on
<a href="http://sourceware.cygnus.com/cygwin/download.html">this
list</a>
<p>
Windows version of Gtk+ can be obtained from <a href="http://user.sgic.fi/~tml/gimp/win32/">http://user.sgic.fi/~tml/gimp/win32/</a>
<p>
A version of Ruby which works on cygwin environment can be downoladed
from <a
href="ftp://ftp.netlab.co.jp/pub/lang/ruby/pc/">ftp://ftp.netlab.co.jp/pub/lang/ruby/pc/</a>
There should be some mirror sites.

<ul>
<li>cygwin-B20.1
<p>
This is not required, however, it might be useful to have unix tools.

You just need either version of these.

<ul>
<li><ahref="ftp://ring.etl.go.jp/archives/pc/gnu-win32/cygwin-b20/full.exe">ftp://ring.etl.go.jp/archives/pc/gnu-win32/cygwin-b20/full.exe</a>
<li><ahref="ftp://ring.etl.go.jp/archives/pc/gnu-win32/cygwin-b20/usertools.exe">ftp://ring.etl.go.jp/archives/pc/gnu-win32/cygwin-b20/usertools.exe</a>
</ul>
usertools.exe has tools and libraries that user usually need.
full.exe, which includes usertools.exe, also has development tools,
such as gcc and make.  I recommend full.exe.
</p>

<li>cygwin1.dll
<p>
you need to replace cygwin-B20.1 version of cygwin1.dll since it
contains some bugs.
<ul>
<li><a href="ftp://sourceware.cygnus.com/pub/cygwin/snapshots/cygwin1-19991223.dll.gz">ftp://sourceware.cygnus.com/pub/cygwin/snapshots/cygwin1-19991223.dll.gz</a>
</ul>
You also need 19990115 or later version of cygwin1.dll. (I don't know
where you can get English version of it :p - yashi)
</p>

<li>GTK+
<p>
You need a windows version of Gtk+.

You can find it at <a href="http://user.sgic.fi/~tml/gimp/win32/">http://user.sgic.fi/~tml/gimp/win32/</a>.

It's easier to use gimp-setup-19990828.zip.  Gimp will also be
installed so you can play with it :P

If you, don't need Gimp, have small HDD, or need header files, use
glib-dev-19990828.zip, gtk+-dev-19990828.zip, and
extralibs-dev-19990828.zip.

<p>
BTW, <font color="red">19991218 does not work!</font> Use 19990828 version.
<p>
You don't need cygwin, if you are just using Gimp and/or Gtk+.
</p>

<li> cygwin version of Ruby
<p>
This Ruby is compiled against cygwin libraries.  Of cause you will
need cygwin, cygwin1.dll to be exact, installed.
<ul>
<li><a href="ftp://ftp.netlab.co.jp/pub/lang/ruby/pc/rbcw143.zip">ftp://ftp.netlab.co.jp/pub/lang/ruby/pc/rbcw143.zip</a>
</ul>
</p>

<li>cygwin version of Ruby/Gtk
<p>
This is the Gtk+ extension module for Ruby.
<ul>
<li><a href="ftp://ftp.netlab.co.jp/pub/lang/ruby/pc/ruby-gtk-0.21-cygwin.zip">ftp://ftp.netlab.co.jp/pub/lang/ruby/pc/ruby-gtk-0.21-cygwin.zip</a>
</ul>
</p>

  <li>ssh (skipped ;p - yashi)
    <p>
    </p>
  </ul>

<h2>HOW TO INSTALL</h2>

<ul>
<li>cygwin-B20.1
<p>
execute full.exe.  Installer should started.
<p>
After installation, you should create c:\tmp, otherwise cygwin
complains about it.  Also, you should set environment variable HOME in
autoexec.bat.

Now from the start menu, program -> Cygnus Solutions -> Cygwin B20.
The console window should run with bash.
</p>

<li>cygwin1.dll
<p>
overwrite c:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll with newer
version of it.
</p>

<li>GTK+
<p>
You can run gimp-setup-19990828.exe after extracting
gimp-setup-19990828.zip.  You should set environmnt variable PATH to
"C:\Program Files/Common Files/GNU/", since most of the DLL's, such as
gtk-1.3.dll, should be installed in the directory.
</p>

<li>cygwin version of Ruby
<p>
I'm installing in c:\app\ruby, this time.  First, extract rbcw143.zip
in c:\app\ruby.  then, set environment variable RUBYLIB in
autoexec.bat like following:
<pre>
set RUBYLIB=//c/app/ruby/lib
</pre>

You can also set it with $HOME/.bashrc, "export
RUBYLIB=//c/app/ruby/lib, but if you are also using ruby from
command.com, setting it in autexec.bat is better.

And, don't forget to put c:\app\ruby in your PATH.
</p>

<li>cygwin version of ruby-gtk
<p>
Just copy gtk.dll which should be in gtk-0.21-cygwin.zip.
</p>
</ul>

<h2>Finally</h2>

Have fun!

<hr>

</body>
</html>

In This Thread