Forum: Ruby-Gnome 2 gtk2 v1.0.0 update issue on Win7/MinGW

D469019a435a5dbd5c792016fdf67a0b?d=identicon&s=25 Jon Forums (jonm)
on 2011-07-13 15:38
It looks like I'm trying to update before 1.0.0 has been officially
released and before the x86-mingw32 binary gems are available (or things
are  still resolving with S3 as per @gemcutter recent tweets), but just
in case it's somthing else, here's what I'm seeing:

C:\>gem outdated
atk (0.90.9 < 1.0.0)
gdk_pixbuf2 (0.90.9 < 1.0.0)
glib2 (0.90.9 < 1.0.0)
gtk2 (0.90.9 < 1.0.0)
pango (0.90.9 < 1.0.0)


C:\>gem list gtk2 -rd

*** REMOTE GEMS ***

gtk2 (1.0.0, 0.90.9)
    Platforms:
        0.90.9: x86-mingw32
        1.0.0: ruby
    Author: The Ruby-GNOME2 Proejct Team
    Homepage: http://ruby-gnome2.sourceforge.jp/

    Ruby/GTK2 is a Ruby binding of GTK+-2.x.

C:\>gem update gtk2
Updating installed gems
Updating gtk2
Fetching: glib2-1.0.0.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing gtk2:
        ERROR: Failed to build gem native extension.

        C:/ruby192/bin/ruby.exe extconf.rb
checking for GCC... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for Win32 OS... yes
checking for gobject-2.0... no
*** extconf.rb failed ***


C:\>gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.5
  - RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/ruby192/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: C:/ruby192/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/ruby192/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/ruby192/lib/ruby/gems/1.9.1
     - C:/Users/Jon/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://rubygems.org"]
     - "gem" => "--no-ri --no-rdoc"
  - REMOTE SOURCES:
     - http://rubygems.org
D469019a435a5dbd5c792016fdf67a0b?d=identicon&s=25 Jon Forums (jonm)
on 2011-07-13 15:59
Works now. Likely jumped the gun. Sorry for the noise.

C:\>gem list gtk2

*** LOCAL GEMS ***

gtk2 (1.0.0 x86-mingw32)
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.