ruby-****@sourc*****
ruby-****@sourc*****
2004年 3月 15日 (月) 05:51:49 JST
------------------------- REMOTE_ADDR = 217.117.55.140 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/?compile_mingw ------------------------- - = Compile Guide for MS Windows(mswin32,mingw32) + = Compile Guide for MS Windows (mswin32, mingw32) This is a guide how to compile/install ruby-1.8.1 and ruby-gtk2-0.9.1 on MS Windows. You can use the *.[so|rb] files which you compile follow this article, as a library for ((<Ruby Installer For Windows|URL:http://rubyinstaller.sourceforge.net/>)). - == Install MinGW, MSYS - First, install MinGW, MSYS. In this guide, it's explained based on the default configurations. + == Install MinGW and MSYS + First, install MinGW and MSYS. This guide is based on the default configurations. ((<URL:http://www.mingw.org/>)) - * MinGW-3.1.0-1.exe (default installation options) + * MinGW-3.1.0-1.exe (using the default installation options) * Installed to c:\MinGW - * MSYS-1.0.9.exe (default installation options) + * MSYS-1.0.9.exe (using the default installation options) * Installed to c:\msys\1.0 - When questions are showed, follow the default settings. - At once, while installing MSYS, you need to input where MinGW is. Input c:/MinGW. - Notice that you need to install them in this order (MinGW is first, MSYS is next). + Just follow the default settings upon questions during the installation. + At once, while installing MSYS, you will need to input where MinGW is installed (which should be c:/MinGW). + Notice that you need to install them in this specific order (MinGW at first, MSYS after). == Install GTK+ Development Environment from Dropline Systems Download GTK+ Development Environment from ((<URL:http://www.dropline.net/gtk/>)). * GTK-Development-Environment-2.2.4-2.exe * Installed to c:\Dev-C++ == Compile/Install Ruby Download ruby-1.8.1.tar.gz from ((<URL:http://www.ruby-lang.org/>)). - Put it to c:\msys\1.0\home\(username)\. + Put it in c:\msys\1.0\home\(username)\. - Then, from MSYS console(You can find it on your desktop or start menu), do below: + Then, from the MSYS console (you can find it from the desktop icon or via the start menu), do as below: $ tar xvzf ruby-1.8.1.tar.gz $ cd ruby-1.8.1 $ configure --prefix=/MinGW $ make $ make install - ruby-1.8.1 is insatlled to c:\MinGW\[bin|lib|share|]. + ruby-1.8.1 is installed on c:\MinGW\[bin|lib|share|]. == Compile/Install ruby-gtk2-0.9.1 $ tar xvzf ruby-gtk2-0.9.1.tar.gz $ cd ruby-gtk2-0.9.0 $ export PATH=/c/Dev-C++/bin:$PATH $ /c/MinGW/bin/ruby.exe extconf.rb --ruby=/c/MinGW/bin/ruby.exe $ make $ make install - All target files are installed to c:\MinGW\lib\ruby\site_ruby\1.8\*.rb and c:\MinGW\lib\ruby\site_ruby\1.8\i386-msvcrt\*.[so|h] + All target files are installed on c:\MinGW\lib\ruby\site_ruby\1.8\*.rb and c:\MinGW\lib\ruby\site_ruby\1.8\i386-msvcrt\*.[so|h] == How to use them with ((<Ruby Installer For Windows|URL:http://rubyinstaller.sourceforge.net/>)) - Copy c:\MinGW\lib\ruby\site_ruby\1.8\*.rb and c:\MinGW\lib\ruby\site_ruby\1.8\i386-msvcrt\*.so to the directory where you installed Ruby Installer version. + Copy c:\MinGW\lib\ruby\site_ruby\1.8\*.rb and c:\MinGW\lib\ruby\site_ruby\1.8\i386-msvcrt\*.so to the directory where you installed the Ruby Installer. (e.g.) If you installed it to c:\ruby, then copy c:\MinGW\lib\ruby\site_ruby\1.8\*.rb to c:\ruby\lib\ruby\site_ruby\1.8\, and copy c:\MinGW\lib\ruby\site_ruby\1.8\i386-msvcrt\*.so to c:\ruby\lib\ruby\site_ruby\1.8\ == See Also - If you have some troubles, See also ((<Install Guide for Windows>)). + If you have some troubles, see also ((<Install Guide for Windows>)). == ChangeLog + :2004-03-14 ((<lrz>)) + * Fixed some typos. :2004-03-14 ((<Masao>)) * Updated version information. :2004-03-11 ((<Masao>)) * Initial release.