# \[ANN\] Ruby-GNOME2 0.90.8

**URL:** <https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057>\
**Category:** Ruby-Gnome 2\
**Created:** [March 4, 2011, 2:47am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057 "2011-03-04T02:47:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 4, 2011, 2:47am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/1 "2011-03-04T02:47:13Z")

</div>

Hi,

The Ruby-GNOME2 project released Ruby-GNOME2 0.90.8:  
[Download ruby-gtk2-0.90.8.tar.gz (Ruby-GNOME 2)](http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk2-0.90.8.tar.gz)  
[Download ruby-gnome2-all-0.90.8.tar.gz (Ruby-GNOME 2)](http://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-0.90.8.tar.gz)

=== Install

% gem install gtk2

=== Summary

A bug fix release of 0.90.7.

=== Changes

==== All

- Fixes
  - ‘make distclean’ does not removed pkg-config files.

==== Ruby/GLib2

- Fixes
  - fix non-gem rcairo detection. [#3178228]  
[OBATA Akio, Kouhei S.]

==== Ruby/Atk

- Fixes
  - fix ‘make distclean’ cleans needed a file.  
[Vincent C.]

==== Ruby/Pango

- Fixes
  - fix ‘make distclean’ cleans needed a file.  
[Vincent C.]

==== Ruby/GTK2

- Fixes
  - fix require order.  
[id:kenhys]
  - [#3046538] fix crash by GC at exit.  
[Vincent C., Kouhei S.]
  - gtk-demo samples with ruby 1.9 (excepted cairo ones).  
[Vincent C.]

==== Ruby/GooCanvas

- Fixes
  - fix pc install. [#3178294]  
[OBATA Akio, Kouhei S.]

==== Ruby/GStreamer

- Improvements

- Fixes

==== Ruby/GtkMozEmbed

- Fixes
  - fix pc install. [#3178294]  
[OBATA Akio, Kouhei S.]

==== Ruby/GtkSourceView2

- Fixes
  - fix pc install. [#3178294]  
[OBATA Akio, Kouhei S.]

=== Thanks

- OBATA Akio
- Vincent C.
- id:kenhys
- Mamoru T.

## Thanks,

kou

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 4, 2011, 3:29am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/2 "2011-03-04T03:29:46Z")

</div>

On Fri, Mar 4, 2011 at 9:46 AM, Kouhei S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ```
> [Vincent C.]
> 
> ```
> 
> - fix require order.  
> [OBATA Akio, Kouhei S.]
> - fix pc install. [#3178294]  
> ==== Ruby/GtkSourceView2
> - Mamoru T.  
> solutions. [http://p.sf.net/sfu/progress-d2d](http://p.sf.net/sfu/progress-d2d)
> 
> * * *
> 
> ruby-gnome2-devel-en mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

Is there an easy way to install this on windows?  
I really need this

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 4, 2011, 10:12am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/3 "2011-03-04T10:12:05Z")

</div>

Hi,

2011/3/4 Mike C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> The gems are the easiest (only?) way to install ruby-gnome. Just install  
> ruby and type ‘gem install gtk2’. This will also install the GTK dlls.  
> Unfortunately the dlls are duplicated in many places and it takes up a lot  
> of disk space (400 meg if I remember correctly). I have been meaning to fix  
> this but I just don’t have time.

I had fixed the problem. 🙂

## Thanks,

kou

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 4, 2011, 4:02pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/4 "2011-03-04T16:02:18Z")

</div>

On Fri, Mar 4, 2011 at 5:11 PM, Kouhei S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I had fixed the problem. 🙂
> 
> ## Thanks,
> 
> kou

Is there link to download the Gem?  
I have bad experience with installing gem online because of slow  
internet  
connection  
so I always download the gem and then install locally

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 4, 2011, 3:46am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/5 "2011-03-04T03:46:00Z")

</div>

The gems are the easiest (only?) way to install ruby-gnome. Just install  
ruby and type ‘gem install gtk2’. This will also install the GTK dlls.  
Unfortunately the dlls are duplicated in many places and it takes up a  
lot  
of disk space (400 meg if I remember correctly). I have been meaning to  
fix  
this but I just don’t have time.

MikeC  
On Mar 4, 2011 11:29 AM, “hendra kusuma” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On Fri, Mar 4, 2011 at 9:46 AM, Kouhei S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hi,
> > 
> > The Ruby-GNOME2 project released Ruby-GNOME2 0.90.8:  
> > [http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk2-0.90.8.tar.gz](http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk2-0.90.8.tar.gz)

[http://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-0.90.8.tar.gz](http://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-0.90.8.tar.gz)

> > [Vincent C.]
> > 
> > [Vincent C.]
> > 
> > === Thanks

* * *

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 5, 2011, 9:19am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/6 "2011-03-05T09:19:15Z")

</div>

Hi,  
I’m getting build errors on 1.9, I beleave it’s an 1.9 issue

Updating gtk2  
Building native extensions. This could take a while…  
ERROR: Error installing gtk2:  
ERROR: Failed to build gem native extension.

/usr/bin/ruby19 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 cairo… yes  
checking for rb\_cairo.h… yes  
checking for Win32 OS… no  
checking for gthread-2.0… yes  
checking for gtk±2.0… yes  
checking for st.h… yes  
checking for ruby/st.h… yes  
checking for target… x11  
checking for gtk\_plug\_get\_type() in gtk/gtk.h… yes  
checking for gtk\_socket\_get\_type() in gtk/gtk.h… yes  
checking for pango\_render\_part\_get\_type() in gtk/gtk.h… yes  
checking for gtk/gtkfilesystem.h… no  
checking for X11/Xlib.h… yes  
checking for main() in -lX11… yes  
checking for XReadBitmapFileData() in X11/Xlib.h… yes  
checking for XGetErrorText() in X11/Xlib.h… yes  
checking for gtk±unix-print-2.0… yes  
checking for rb\_errinfo()… yes  
\*\*\* extconf.rb failed \*\*\*  
Could not create Makefile due to some reason, probably lack of  
necessary libraries and/or headers. Check the mkmf.log file for more  
details. You may need configuration options.

Provided configuration options:  
–with-opt-dir  
–without-opt-dir  
–with-opt-include  
–without-opt-include=${opt-dir}/include  
–with-opt-lib  
–without-opt-lib=${opt-dir}/lib  
–with-make-prog  
–without-make-prog  
–srcdir=.  
–curdir  
–ruby=/usr/bin/ruby19  
–with-pkg-config  
–without-pkg-config  
–with-override-variables  
–without-override-variables  
–with-X11lib  
–without-X11lib  
extconf.rb:115:in `block (2 levels) in run': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib64/ruby/1.9.1/pathname.rb:771:in`foreach’  
from /usr/lib64/ruby/1.9.1/pathname.rb:771:in `each_line' from extconf.rb:114:in`block in run’  
from extconf.rb:113:in `each' from extconf.rb:113:in`run’  
from extconf.rb:182:in `block in <main>' from /usr/lib64/ruby/1.9.1/pathname.rb:829:in`open’  
from /usr/lib64/ruby/1.9.1/pathname.rb:829:in `open' from extconf.rb:176:in`’  
creating ruby-gtk2.pc

Gem files will remain installed in  
/usr/lib64/ruby/gems/1.9.1/gems/gtk2-0.90.8 for inspection.  
Results logged to  
/usr/lib64/ruby/gems/1.9.1/gems/gtk2-0.90.8/ext/gtk2/gem\_make.out  
Updating gtksourceview2  
Building native extensions. This could take a while…  
ERROR: Error installing gtksourceview2:  
ERROR: Failed to build gem native extension.

/usr/bin/ruby19 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 cairo… yes  
checking for rb\_cairo.h… yes  
checking for Win32 OS… no  
checking for gthread-2.0… yes  
checking for gtk±2.0… yes  
checking for st.h… yes  
checking for ruby/st.h… yes  
checking for target… x11  
checking for gtk\_plug\_get\_type() in gtk/gtk.h… yes  
checking for gtk\_socket\_get\_type() in gtk/gtk.h… yes  
checking for pango\_render\_part\_get\_type() in gtk/gtk.h… yes  
checking for gtk/gtkfilesystem.h… no  
checking for X11/Xlib.h… yes  
checking for main() in -lX11… yes  
checking for XReadBitmapFileData() in X11/Xlib.h… yes  
checking for XGetErrorText() in X11/Xlib.h… yes  
checking for gtk±unix-print-2.0… yes  
checking for rb\_errinfo()… yes  
\*\*\* extconf.rb failed \*\*\*  
Could not create Makefile due to some reason, probably lack of  
necessary libraries and/or headers. Check the mkmf.log file for more  
details. You may need configuration options.

Provided configuration options:  
–with-opt-dir  
–without-opt-dir  
–with-opt-include  
–without-opt-include=${opt-dir}/include  
–with-opt-lib  
–without-opt-lib=${opt-dir}/lib  
–with-make-prog  
–without-make-prog  
–srcdir=.  
–curdir  
–ruby=/usr/bin/ruby19  
–with-pkg-config  
–without-pkg-config  
–with-override-variables  
–without-override-variables  
–with-X11lib  
–without-X11lib  
extconf.rb:115:in `block (2 levels) in run': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib64/ruby/1.9.1/pathname.rb:771:in`foreach’  
from /usr/lib64/ruby/1.9.1/pathname.rb:771:in `each_line' from extconf.rb:114:in`block in run’  
from extconf.rb:113:in `each' from extconf.rb:113:in`run’  
from extconf.rb:182:in `block in <main>' from /usr/lib64/ruby/1.9.1/pathname.rb:829:in`open’  
from /usr/lib64/ruby/1.9.1/pathname.rb:829:in `open' from extconf.rb:176:in`’  
creating ruby-gtk2.pc

Gem files will remain installed in  
/usr/lib64/ruby/gems/1.9.1/gems/gtk2-0.90.8 for inspection.  
Results logged to  
/usr/lib64/ruby/gems/1.9.1/gems/gtk2-0.90.8/ext/gtk2/gem\_make.out

Regards  
Balint

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 4, 2011, 4:07pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/7 "2011-03-04T16:07:25Z")

</div>

On Fri, Mar 4, 2011 at 11:01 PM, hendra kusuma  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> > lot
> 
> Is there link to download the Gem?  
> I have bad experience with installing gem online because of slow internet  
> connection  
> so I always download the gem and then install locally

OK, I found it in on rubygems website  
thanks for the good work

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 5, 2011, 1:15pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/8 "2011-03-05T13:15:43Z")

</div>

hello -

i also get an error trying to compile from the source tarball to ruby  
1.9.2dev (2010-07-02) [i486-linux]

tried…  
sudo ruby extconf.rb  
and…  
sudo ruby extconf.rb --ruby=/usr/bin/ruby1.9.2  
both give me -

…(truncated)  
Could not create Makefile due to some reason, probably lack of  
necessary libraries and/or headers. Check the mkmf.log file for more  
details. You may need configuration options.

unfortunately i can’t find the mkmf.log file anywhere - i don’t  
believe it was created in the process.

any ideas?

-j

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 5, 2011, 7:12pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/9 "2011-03-05T19:12:38Z")

</div>

Hi.

Which part(s) of ruby-gnome2 induces the error (gtk2, atk..)?

I do build gtk2 with both ruby 1.8 and ruby 1.9  
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]  
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]

> unfortunately i can’t find the mkmf.log file anywhere - i don’t  
> believe it was created in the process.

mkmf.log are in lib/ext/lib (i.e. goocanvas/ext/goocanvas/mkmf.log)

–  
Vincent C.

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 1:28pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/10 "2011-03-06T13:28:38Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.90.8” on Sat, 05 Mar  
2011 10:18:17 +0200,  
Dobai-Pataky B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’m getting build errors on 1.9, I beleave it’s an 1.9 issue

I can reproduce it with LANG=C.  
Could you run ‘gem install’ on LANG=en\_US.UTF-8 environment?

We will fix it in the next release.

## Thanks,

kou

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 5:31pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/11 "2011-03-06T17:31:57Z")

</div>

2011/3/6 J. K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

Can you build with ruby 1.8?

> i’ve installed the dev versions of both 1.9.1 and 1.9.2, which i  
> thought should include all the headers/libraries necessary to build, but  
> it looks like i was wrong.

You nedd also headers/libraries from gtk2 and co.

> many of the errors also say that the rubygem pkg-config could not be  
> found… this is strange because i have it installed.

Can you require it? What is the result of :

$ irb

> require ‘pkg-config’  
> require ‘rubygems’  
> require ‘pkg-config’

–  
Vincent C.

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 5:17pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/12 "2011-03-06T17:17:51Z")

</div>

hello -

this is bumming me out - i’d really like to be able to use the new  
gtk2, but i can’t seem to build in 1.9.1 or 1.9.2

> Which part(s) of ruby-gnome2 induces the error (gtk2, atk..)?

i get a VERY lengthy list of errors from every part of the package,  
all of which include:  
Could not create Makefile due to some reason, probably lack of  
necessary libraries and/or headers. Check the mkmf.log file for more  
details.  
i’ve installed the dev versions of both 1.9.1 and 1.9.2, which i  
thought should include all the headers/libraries necessary to build, but  
it looks like i was wrong.  
many of the errors also say that the rubygem pkg-config could not be  
found… this is strange because i have it installed.

> mkmf.log are in lib/ext/lib (i.e. goocanvas/ext/goocanvas/mkmf.log)

i don’t end up with a mkmf.log in any of the packaged folders - also  
strange.

looks like i’ll have to stick with 1.8.7 and gtk 0.19.3 for a while  
until i can figure all of this out. bah…

-j

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 8:28pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/13 "2011-03-06T20:28:21Z")

</div>

2011/3/6 J. K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> hi -
> 
> > Can you build with ruby 1.8?
> 
> i’ve got gtk2 and gstreamer installed in 1.8.7 with no problems, but  
> not from source - i’ve got them installed through the synaptic package  
> manager.

When you install from synaptic you do not compile. I do not need the  
developpement files.  
Can you compile with ruby 1.8 ? (ruby extconf.rb && make)

Can you test this ?

$ irb1.9.1

> dir=“/usr/local/lib/site\_ruby/1.9.1/”  
> require File.join(dir, ‘glib2’)  
> require File.join(dir, ‘atk’)  
> require File.join(dir, ‘pango’)  
> require File.join(dir, ‘gdk\_pixbuf2’)  
> require File.join(dir, ‘i686-linux’, ‘gtk2.so’)

–  
Vincent C.

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 8:54pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/14 "2011-03-06T20:54:38Z")

</div>

thanks for helping…

here’s what i get:

irb(main):001:0\> dir="/usr/local/lib/site\_ruby/1.9.1/"  
=\> “/usr/local/lib/site\_ruby/1.9.1/”  
irb(main):002:0\> require File.join(dir, ‘glib2’)  
=\> true  
irb(main):003:0\> require File.join(dir, ‘atk’)  
=\> true  
irb(main):004:0\> require File.join(dir, ‘pango’)  
=\> true  
irb(main):005:0\> require File.join(dir, ‘gdk\_pixbuf2’)  
=\> true  
irb(main):006:0\> require File.join(dir, ‘i686-linux’, ‘gtk2.so’)  
LoadError: no such file to load –  
/usr/local/lib/site\_ruby/1.9.1/i686-linux/gtk2.so

my version of ruby is not i686, but 486 - when i change the last  
command like this:

require File.join(dir, ‘i486-linux’, ‘gtk2.so’)

i get this interesting error:

LoadError: /usr/local/lib/site\_ruby/1.9.1/i486-linux/gtk2.so: undefined  
symbol: rbgobj\_id\_children -  
/usr/local/lib/site\_ruby/1.9.1/i486-linux/gtk2.so

this seems like it could be pointing to the problem, though i can’t  
make much sense of it. should i try to use an i686 version? i’ve got  
1.9.2 installed as well, i could retry a build with that - i believe  
it’s i686.

-j

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 9:22pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/15 "2011-03-06T21:22:14Z")

</div>

2011/3/6 J. K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> my version of ruby is not i686, but 486 - when i change the last  
> command like this:

ruby1.9.1 --version on ubuntu 10.10 gives me  
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]

Can you paste the ouput of the gtk2 binding installation (sudo make  
install). You should something like:  
/usr/bin/install -c -m 0755 gtk2.so  
/usr/local/lib/site\_ruby/1.9.1/i686-linux

> require File.join(dir, ‘i486-linux’, ‘gtk2.so’)
> 
> i get this interesting error:
> 
> LoadError: /usr/local/lib/site\_ruby/1.9.1/i486-linux/gtk2.so: undefined  
> symbol: rbgobj\_id\_children -  
> /usr/local/lib/site\_ruby/1.9.1/i486-linux/gtk2.so

Do you have required glib2 and co before ?

–  
Vincent C.

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 7:52pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/16 "2011-03-06T19:52:35Z")

</div>

hi -

> Can you build with ruby 1.8?

i’ve got gtk2 and gstreamer installed in 1.8.7 with no problems, but  
not from source - i’ve got them installed through the synaptic package  
manager.

> Can you require it? What is the result of :  
> $ irb
> 
> > require ‘pkg-config’  
> > require ‘rubygems’  
> > require ‘pkg-config’

thanks for this tip - turns out i had to build pkg-config, the gem  
wasn’t showing up for some reason.  
after getting pkg-config installed properly the gtk2 build seemed to  
have worked - i got this after ‘sudo make install’

SUCCEEDED: glib2 gio2 gdk\_pixbuf2 pango atk gtk2 gstreamer  
FAILED: NONE

however, now when i ‘require gtk2,’ i get this error:

jk@jk-laptop:~$ ruby -v  
ruby 1.9.1p378 (2010-01-10 revision 26273) [i486-linux]  
jk@jk-laptop:~$ irb  
irb(main):001:0\> require ‘gtk2’  
NameError: uninitialized constant Gdk::Drawable  
from /usr/local/lib/site\_ruby/1.9.1/gtk2/base.rb:25:in `require' from /usr/local/lib/site_ruby/1.9.1/gtk2/base.rb:25:in `rescue in \<top  
(required)\>’  
from /usr/local/lib/site\_ruby/1.9.1/gtk2/base.rb:21:in `<top (required)>' from /usr/local/lib/site_ruby/1.9.1/gtk2.rb:11:in `require’  
from /usr/local/lib/site\_ruby/1.9.1/gtk2.rb:11:in `<top (required)>' from (irb):1:in `require’  
from (irb):1  
from /usr/bin/irb:12:in `’

i remember i had a similar problem when i tried to install to 1.8.7 -  
you had suggested:

“The error seems to be in glib/gtk bindings. Try to reinstall  
ruby-gnome2 from the tarball. I guess it is the tarball installation  
that populated /usr/local/lib/site\_ruby. Check if  
/usr/local/lib/site\_ruby/1.8/glib2.rb is updated.”

do you think i should try to reinstall? if so, should i somehow  
remove the installation i have just completed? if so, how best to  
remove it?

thanks for getting back-

j  
ugh…

-j

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 10:04pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/17 "2011-03-06T22:04:07Z")

</div>

hi.

my version of ruby 1.9.1 is different from yours, not sure if that  
makes a difference in the install.

ubuntu 10.04  
ruby 1.9.1p378 (2010-01-10 revision 26273) [i486-linux]

in order to paste the output of the sudo make install command, i’ll  
have to reinstall the gnome2-all tarball - should i somehow uninstall it  
first?

glib2 installed nicely during the build, not sure if it was there  
‘first’ or not, but i believe so. irb returns “true” on ‘require glib2’

- i simply ran ‘ruby extconf.rb’ from inside the untarred  
ruby-gnome2-all-0.90.8 directory, and let the thing do its work.

- j

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 10:53pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/18 "2011-03-06T22:53:51Z")

</div>

2011/3/6 J. K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> hi.
> 
> my version of ruby 1.9.1 is different from yours, not sure if that  
> makes a difference in the install.

Peharps. Which distro do you use ?

> ubuntu 10.04  
> ruby 1.9.1p378 (2010-01-10 revision 26273) [i486-linux]
> 
> in order to paste the output of the sudo make install command, i’ll  
> have to reinstall the gnome2-all tarball - should i somehow uninstall it  
> first?

Just reinstall. Clean uninstallation is difficult.

–  
Vincent C.

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 6, 2011, 11:48pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/19 "2011-03-06T23:48:30Z")

</div>

here’s the output of ‘sudo make install’ - it’s quite long. i do see  
something similar to what you mentioned…  
note the line:  
/usr/bin/install -c -m 0755 gtk2.so  
/usr/local/lib/site\_ruby/1.9.1/i486-linux

here’s the full output :

jk@jk-laptop:~/Downloads/ruby-gnome2-all-0.90.8$ sudo make install  
make[1]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2' (cd ext/glib2 && make install) make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2/ext/glib2’  
/usr/bin/install -c -m 0755 glib2.so  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
/usr/bin/install -c -m 644  
/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2/ext/glib2/rbglib.h  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
/usr/bin/install -c -m 644  
/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2/ext/glib2/rbgutil.h  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
/usr/bin/install -c -m 644  
/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2/ext/glib2/rbgobject.h  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
/usr/bin/install -c -m 644  
/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2/ext/glib2/rbgcompat.h  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
/usr/bin/install -c -m 644 glib-enum-types.h  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
if test -n “”; then   
mkdir -p ;   
/usr/bin/install -c -m 644 ruby-glib2.pc ;   
fi  
make[2]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2/ext/glib2' make -f Makefile.lib install make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2’  
make[2]: Nothing to be done for `install'. make[2]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2’  
make[1]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/glib2' make[1]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gio2’  
(cd ext/gio2 && make install)  
make[2]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gio2/ext/gio2' /usr/bin/install -c -m 0755 gio2.so /usr/local/lib/site_ruby/1.9.1/i486-linux if test -n ""; then \ mkdir -p ; \ /usr/bin/install -c -m 644 ruby-gio2.pc ; \ fi make[2]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gio2/ext/gio2’  
make -f Makefile.lib install  
make[2]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gio2' make[2]: Nothing to be done for`install’.  
make[2]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gio2' make[1]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gio2’  
make[1]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gdk_pixbuf2' (cd ext/gdk_pixbuf2 && make install) make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gdk\_pixbuf2/ext/gdk\_pixbuf2’  
/usr/bin/install -c -m 0755 gdk\_pixbuf2.so  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
if test -n “”; then   
mkdir -p ;   
/usr/bin/install -c -m 644 ruby-gdk-pixbuf2.pc ;   
fi  
make[2]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gdk_pixbuf2/ext/gdk_pixbuf2' make -f Makefile.lib install make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gdk\_pixbuf2’  
make[2]: Nothing to be done for `install'. make[2]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gdk\_pixbuf2’  
make[1]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gdk_pixbuf2' make[1]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/pango’  
(cd ext/pango && make install)  
make[2]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/pango/ext/pango' /usr/bin/install -c -m 0755 pango.so /usr/local/lib/site_ruby/1.9.1/i486-linux /usr/bin/install -c -m 644 /home/jk/Downloads/ruby-gnome2-all-0.90.8/pango/ext/pango/rbpango.h /usr/local/lib/site_ruby/1.9.1/i486-linux /usr/bin/install -c -m 644 rbpangoversion.h /usr/local/lib/site_ruby/1.9.1/i486-linux if test -n ""; then \ mkdir -p ; \ /usr/bin/install -c -m 644 ruby-pango.pc ; \ fi make[2]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/pango/ext/pango’  
make -f Makefile.lib install  
make[2]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/pango' make[2]: Nothing to be done for`install’.  
make[2]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/pango' make[1]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/pango’  
make[1]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/atk' (cd ext/atk && make install) make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/atk/ext/atk’  
/usr/bin/install -c -m 0755 atk.so  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
/usr/bin/install -c -m 644  
/home/jk/Downloads/ruby-gnome2-all-0.90.8/atk/ext/atk/rbatk.h  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
/usr/bin/install -c -m 644 rbatkversion.h  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
if test -n “”; then   
mkdir -p ;   
/usr/bin/install -c -m 644 ruby-atk.pc ;   
fi  
make[2]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/atk/ext/atk' make -f Makefile.lib install make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/atk’  
make[2]: Nothing to be done for `install'. make[2]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/atk’  
make[1]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/atk' make[1]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2’  
(cd ext/gtk2 && make install)  
make[2]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2/ext/gtk2' /usr/bin/install -c -m 0755 gtk2.so /usr/local/lib/site_ruby/1.9.1/i486-linux /usr/bin/install -c -m 644 /home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2/ext/gtk2/rbgdk.h /usr/local/lib/site_ruby/1.9.1/i486-linux /usr/bin/install -c -m 644 /home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2/ext/gtk2/rbgdkconversions.h /usr/local/lib/site_ruby/1.9.1/i486-linux /usr/bin/install -c -m 644 /home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2/ext/gtk2/rbgtk.h /usr/local/lib/site_ruby/1.9.1/i486-linux /usr/bin/install -c -m 644 /home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2/ext/gtk2/rbgtkconversions.h /usr/local/lib/site_ruby/1.9.1/i486-linux /usr/bin/install -c -m 644 /home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2/ext/gtk2/rbgtkmacros.h /usr/local/lib/site_ruby/1.9.1/i486-linux if test -n ""; then \ mkdir -p ; \ /usr/bin/install -c -m 644 ruby-gtk2.pc ; \ fi make[2]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2/ext/gtk2’  
make -f Makefile.lib install  
make[2]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2' make[2]: Nothing to be done for`install’.  
make[2]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2' make[1]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gtk2’  
make[1]: Entering directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gstreamer' (cd ext/gstreamer && make install) make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gstreamer/ext/gstreamer’  
/usr/bin/install -c -m 0755 gst.so  
/usr/local/lib/site\_ruby/1.9.1/i486-linux  
if test -n “”; then   
mkdir -p ;   
/usr/bin/install -c -m 644 ruby-gstreamer.pc ;   
fi  
make[2]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gstreamer/ext/gstreamer' make -f Makefile.lib install make[2]: Entering directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gstreamer’  
make[2]: Nothing to be done for `install'. make[2]: Leaving directory`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gstreamer’  
make[1]: Leaving directory  
`/home/jk/Downloads/ruby-gnome2-all-0.90.8/gstreamer’

* * *

## SUCCEEDED: glib2 gio2 gdk\_pixbuf2 pango atk gtk2 gstreamer FAILED: NONE

Done.

thanks again -

- j

---

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [March 7, 2011, 6:24am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057/20 "2011-03-07T06:24:00Z")

</div>

LANG=“en\_US.UTF-8” gem update  
Updating installed gems  
Updating gtk2  
Building native extensions. This could take a while…  
Successfully installed gtk2-0.90.8  
Updating gtksourceview2  
Building native extensions. This could take a while…  
This library is experimental.  
Successfully installed gtksourceview2-0.90.8  
Gems updated: gtk2, gtksourceview2  
Installing ri documentation for gtk2-0.90.8…  
Installing ri documentation for gtksourceview2-0.90.8…  
Installing RDoc documentation for gtk2-0.90.8…  
Installing RDoc documentation for gtksourceview2-0.90.8…

Worked,  
Thanks  
Balint

[Next page](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-8/204057.md?page=2)
