[Kazehakase-devel 2795] Re: Ruby 拡張が有効にならない.

Back to archive index

福岡 展行 nobuyuki_fukuo****@yahoo*****
2007年 7月 3日 (火) 23:17:48 JST


福岡です.

> /usr/local/share/kazehakase/ext/ruby/kazehakase-init-pre.rb
>   rescue Exception
>     puts $!.class
>     puts $!
>     puts $@
>     ENABLE = false
>     print_warning(_("Ruby extension disabled: failed require 'gtk2'"))
>   end

下記を実行したログは長いので最後に載せます.glib2.so でエラーとのことです.
一応,前回教えてもらったやりかたで glib2 モジュール読み込みの確認もしました.
$ irb -r glib2
irb(main):001:0>

ここからログです.

$ kazehakase
LoadError
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/glib2.so: undefined symbol:
rb_eRuntimeError - /usr/local/lib/ruby/site_ruby/1.8/i686-linux/glib2.so
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/glib2.so
/usr/local/lib/ruby/site_ruby/1.8/glib2.rb:69
/usr/local/lib/ruby/site_ruby/1.8/gtk2/base.rb:12:in `require'
/usr/local/lib/ruby/site_ruby/1.8/gtk2/base.rb:12
/usr/local/lib/ruby/site_ruby/1.8/gtk2.rb:11:in `require'
/usr/local/lib/ruby/site_ruby/1.8/gtk2.rb:11
/usr/local/share/kazehakase/ext/ruby/kazehakase-init-pre.rb:49:in `require'
/usr/local/share/kazehakase/ext/ruby/kazehakase-init-pre.rb:49
/usr/local/share/kazehakase/ext/ruby/kazehakase-init-pre.rb:65: warning: already
initialized constant ENABLE

** (kazehakase:2435): WARNING **: failed to load: kazehakase-init-pre

** (kazehakase:2435): WARNING **:                 NoMethodError: undefined method
`_' for Kz:Module

(kazehakase:2435): Gtk-WARNING **: RubyDialog: missing action

(kazehakase:2435): Gtk-WARNING **: ReloadRuby: missing action

(kazehakase:2435): Gtk-WARNING **: InstallAsRubyExtension: missing action



--------------------------------------
Start Yahoo! Auction now! Check out the cool campaign
http://pr.mail.yahoo.co.jp/auction/




Kazehakase-devel メーリングリストの案内
Back to archive index