------art_78964_14809818.1181981538655
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi all,

I just installed ruby-gnome2-all-0.16.0 on my cygwin box with building from
source code. ( It tells me that the ruby-glade installed sucessfully.)

When I try to run my a.rb, it reports errors. Could anybody help me?


bash-3.2$ ruby -e 'puts $:'
/usr/lib/ruby/site_ruby/1.8
/usr/lib/ruby/site_ruby/1.8/i386-cygwin
/usr/lib/ruby/site_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/i386-cygwin
.
bash-3.2$ cat a.rb
#!/usr/bin/env ruby

require 'libglade2'

bash-3.2$ ruby -d a.rb
Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/glib2.rb:179 - no such
file to load -- gettext
Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/pango.rb:11 - no such
file to load -- cairo
Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/gtk2/base.rb:16 - no
such file to load -- cairo
Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so:0 -
No such file or directory - /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so
/usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so: No such file or directory -
/usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/gtk2/base.rb:19
        from /usr/lib/ruby/site_ruby/1.8/gtk2.rb:11:in `require'
        from /usr/lib/ruby/site_ruby/1.8/gtk2.rb:11
        from /usr/lib/ruby/site_ruby/1.8/libglade2.rb:11:in `require'
        from /usr/lib/ruby/site_ruby/1.8/libglade2.rb:11
        from a.rb:3:in `require'
        from a.rb:3
bash-3.2$ ls -lt /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so
-rwxr-xr-x 1 Jim_Zhang mkpasswd 677376 Jun 16 11:52
/usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so

bash-3.2$ env
TERMerm
PROCESSOR_IDENTIFIER6 Family 6 Model 14 Stepping 8, GenuineIntel
WINDIRWINDOWS
OLDPWD
ev/ruby/ruby-gnome2-all-0.16.0
USERDOMAIN澣ERPRISE
OSndows_NT
QTJAVAタ\Program Files\Java\j2re1.4.2_04\lib\ext\QTJava.zip
PROCESSOR_LEVEL`PATH
ygdrive/c/Program Files/ThinkPad/Utilities:/cygdrive/c/oracle/ora92/bin:/cygdrive/c/Program Files/Oracle/jre/1.3.1/bin:/cygdrive/c/Program Files/Oracle/jre/1.1.8/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Intel/Wireless/Bin/:/cygdrive/c/Program Files/Symantec/pcAnywhere/:/cygdrive/c/Program Files/Perforce:/usr/bin:/cygdrive/c/Program Files/RSA Security/RSA SecurID Software Token/:/cygdrive/c/Program Files/VERITAS/VERITAS Object Bus/bin:/cygdrive/c/Program Files/QuickTime/QTSystem/:/ruby/lib/GTK/bin:/usr/bin FP_NO_HOST_CHECK PWD ev/ruby VIP_PATHタ\Program Files\VERITAS\VERITAS Object Bus\bin SYSTEMDRIVEタ __COMPAT_LAYER濛bleNXShowUI USERPROFILEタ\Documents and Settings\jim_zhang LOGONSERVERHKGIPS01 PROCESSOR_ARCHITECTURE6 SHLVLHOME
ygdrive/c/Documents and Settings/jim_zhang USERDNSDOMAIN澣ERPRISE.VERITAS.COM PATHEXT
OM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH HOMEDRIVEタ VRTSOBDIR
:\Program Files\VERITAS\VERITAS Object Bus" COMSPECタ\WINDOWS\system32\cmd.exe TMP
ygdrive/c/DOCUME~1/JIM_ZH~1/LOCALS~1/Temp SYSTEMROOTタ\WINDOWS PROCESSOR_REVISIONーク テフチモモミチヤネ濬ワサコワワワサコワワワ ミメマヌメチヘニノフナモタワミ ニ ホユヘツナメ゜マニ゜ミメマテナモモマメモ モナモモノマホホチヘナタ テマヘミユヤナメホチヘナナエエウケアュツ ゜ッッ ュュ ツ ャ ハ レ ュュュュュュ゜キクケカエ゜アエクーケクアクョアアクアケクアオウクカオオュュ