2010年10月30日土曜日

ruby1.8.7 + gtk2-0.90.5

gtk2を入れなおした。gtk2-0.90.5で.4でのエラーが取れている。

ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

C:\Documents and Settings\takashi>gem update
Updating installed gems
Nothing to update

C:\Documents and Settings\takashi>gem list

*** LOCAL GEMS ***

qtbindings (4.6.3.1 x86-mingw32)

C:\Documents and Settings\takashi>gem install gtk2
Temporarily enhancing PATH to include DevKit...
Successfully installed pkg-config-1.0.7
Successfully installed cairo-1.10.0-x86-mingw32
Successfully installed glib2-0.90.2-x86-mingw32
Successfully installed pango-0.90.2-x86-mingw32
Successfully installed atk-0.90.2-x86-mingw32
Successfully installed gtk2-0.90.2-x86-mingw32
6 gems installed
Installing ri documentation for pkg-config-1.0.7...
Installing ri documentation for cairo-1.10.0-x86-mingw32...
Installing ri documentation for glib2-0.90.2-x86-mingw32...
Installing ri documentation for pango-0.90.2-x86-mingw32...
Installing ri documentation for atk-0.90.2-x86-mingw32...
Installing ri documentation for gtk2-0.90.2-x86-mingw32...
Installing RDoc documentation for pkg-config-1.0.7...
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Installing RDoc documentation for cairo-1.10.0-x86-mingw32...
Could not find main page README.txt
Could not find main page README.txt
Could not find main page README.txt
Could not find main page README.txt
Installing RDoc documentation for glib2-0.90.2-x86-mingw32...
Installing RDoc documentation for pango-0.90.2-x86-mingw32...
Installing RDoc documentation for atk-0.90.2-x86-mingw32...
Installing RDoc documentation for gtk2-0.90.2-x86-mingw32...

C:\Documents and Settings\takashi>cd C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.2-x86-mingw32\sample\gtk-demo

C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.2-x86-mingw32\sample\gtk-demo>ruby -rubygems main.rb
C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- gdk_pixb
uf2 (LoadError)
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/ruby/Ruby187/lib/ruby/gems/1.8/gems/gtk2-0.90.2-x86-mingw32/lib/gtk2/base.rb:27
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/ruby/Ruby187/lib/ruby/gems/1.8/gems/gtk2-0.90.2-x86-mingw32/lib/gtk2.rb:11
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from main.rb:11

C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.2-x86-mingw32\sample\gtk-demo>gem install gdk_pixbuf2
Temporarily enhancing PATH to include DevKit...
Successfully installed glib2-0.90.5-x86-mingw32
Successfully installed gdk_pixbuf2-0.90.5-x86-mingw32
2 gems installed
Installing ri documentation for glib2-0.90.5-x86-mingw32...
Installing ri documentation for gdk_pixbuf2-0.90.5-x86-mingw32...
Installing RDoc documentation for glib2-0.90.5-x86-mingw32...
Installing RDoc documentation for gdk_pixbuf2-0.90.5-x86-mingw32...

C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.2-x86-mingw32\sample\gtk-demo>gem list

*** LOCAL GEMS ***

atk (0.90.2 x86-mingw32)
cairo (1.10.0 x86-mingw32)
gdk_pixbuf2 (0.90.5 x86-mingw32)
glib2 (0.90.5 x86-mingw32, 0.90.2 x86-mingw32)
gtk2 (0.90.2 x86-mingw32)
pango (0.90.2 x86-mingw32)
pkg-config (1.0.7)
qtbindings (4.6.3.1 x86-mingw32)

C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.2-x86-mingw32\sample\gtk-demo>ruby -rubygems main.rb
C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:233:in `activate': can't activate glib2 (>= 0.90.5, runtime) for ["gdk_pixbuf
2-0.90.5-x86-mingw32"], already activated glib2-0.90.2-x86-mingw32 for ["gtk2-0.90.2-x86-mingw32"] (Gem::LoadError)
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'
from C:/ruby/Ruby187/lib/ruby/gems/1.8/gems/gtk2-0.90.2-x86-mingw32/lib/gtk2/base.rb:27
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/ruby/Ruby187/lib/ruby/gems/1.8/gems/gtk2-0.90.2-x86-mingw32/lib/gtk2.rb:11
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from C:/ruby/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from main.rb:11

C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.2-x86-mingw32\sample\gtk-demo>gem update
Updating installed gems
Updating atk
Temporarily enhancing PATH to include DevKit...
Successfully installed atk-0.90.5-x86-mingw32
Updating gtk2
Successfully installed pango-0.90.5-x86-mingw32
Successfully installed gtk2-0.90.5-x86-mingw32
Gems updated: atk, pango, gtk2
Installing ri documentation for atk-0.90.5-x86-mingw32...
Installing ri documentation for pango-0.90.5-x86-mingw32...
Installing ri documentation for gtk2-0.90.5-x86-mingw32...
Installing RDoc documentation for atk-0.90.5-x86-mingw32...
Installing RDoc documentation for pango-0.90.5-x86-mingw32...
Installing RDoc documentation for gtk2-0.90.5-x86-mingw32...

C:\>cd C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.5-x86-mingw32\sample\gtk-demo

C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.5-x86-mingw32\sample\gtk-demo>ruby -rubygems main.rb

0 件のコメント:

コメントを投稿