[ruby-gnome2-doc-cvs] [Hiki] update - compile_mingw

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2004年 8月 10日 (火) 16:51:47 JST


-------------------------
REMOTE_ADDR = 15.211.169.100
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp//?compile_mingw
-------------------------
  = Compile Guide for MS Windows (mswin32, mingw32)
- This is a guide on how to compile and install ruby-1.8.1 and ruby-gtk2-0.9.1 on Microsoft Windows.
+ This is a guide on how to compile and install ruby-1.8.1 and ruby-gtk2-0.10.0 on Microsoft Windows.
  You can use the *.[so|rb] files which you will get following this article as a library for ((<Ruby Installer For Windows|URL:http://rubyinstaller.sourceforge.net/>)).
  
  == 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 (using the default installation options) 
     * Installed to c:\MinGW
  
  * MSYS-1.0.10.exe (using the default installation options)
     * Installed to c:\msys\1.0
  
  If you try cvs version of Ruby-GNOME2, you also need to install msysDTK-1.0.1.exe.
  
  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 ((<"Ruby/GTK2 binaries for Windows"|URL:http://sourceforge.net/project/showfiles.php?group_id=53614>)).
+ == Install GTK+ Libraries from ((<GLADE for Windows|URL:http://gladewin32.sourceforge.net/>)).
+ Download gtk+-win32-aio from ((<GLADE for Windows|URL:http://gladewin32.sourceforge.net/modules.php?name=Downloads>)).
  
- * gtk-win32-aio-2.4-rc11.exe
+ * gtk-win32-aio-2.4-rc12.exe
     * Installed to c:\GTK
  
  == Compile/Install Ruby
  Download ruby-1.8.2preview2.tar.gz from ((<URL:http://www.ruby-lang.org/>)).
  Put it in c:\msys\1.0\home\(username)\.
  
  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.2preview2.tar.gz
   $ cd ruby-1.8.2
   $ configure --prefix=/MinGW
   $ make
   $ make install
  
  ruby-1.8.2 is installed on c:\MinGW\[bin|lib|share|].
  
  == Compile/Install ruby-gnome2-0.10.0
  
   $ tar xvzf ruby-gnome2-0.10.0.tar.gz
   $ cd ruby-gnome2-0.10.0
   $ export PATH=/c/GTK/bin:$PATH
   $ /c/MinGW/bin/ruby.exe extconf.rb --ruby=/c/MinGW/bin/ruby.exe
   $ make
   $ make install
  
- Some sub-libraries won't succeed to install because these libraries aren't installed from gtk-win32-aio.
+ Some sub-libraries won't succeed to install because these libraries aren't installed from gtk-win32-aio. But don't mind.
  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 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>)).
  
  == ChangeLog
+ :2004-08-07 ((<Masao>))
+   * Revised.
  :2004-08-07 ((<Masao>))
    * Apply GTK+-2.4.0 from ((<GLADE for Windows|URL:http://gladewin32.sourceforge.net/>)) and ((<ruby182-14_rc7a.exe|URL:http://rubyforge.org/frs/?group_id=167>)).
  :2004-03-14 ((<lrz>))
    * Fixed some typos.
  :2004-03-14 ((<Masao>))
    * Updated version information.
  :2004-03-11 ((<Masao>))
    * Initial release.





ruby-gnome2-cvs メーリングリストの案内
Back to archive index