Forum: Ruby-Gnome 2 How to compile Ruby gtk with ruby 1.9

Posted by Sankar Bose (sankar)
on 2010-08-24 10:48
Hi
 i am completely new to ruby and just started learning. i have picked up
ruby gtk binding for my gui needs. i am not a c programming guru so i am
having a lot of problem compiling ruby gtk. The things that i have
done---

1) Downloaded ruby 1.9 (rubyinstaller-1.9.1-p378)
2) Downloaded ruby-gtk2-0.19.4
3) Gtkmm development package 2.20.1
4) Tdm mingw Gcc 4.5
5) In msys executed ruby extconf.rb
6) Run Make

                    After running make i am having a lot of unresolved
symbol errors and at the last i get the report
-----
SUCCEEDED:  glib
FAILED:  gdkpixbuf pango atk gtk
-----
 I am getting this kind of errors like

c:\ruby-gtk2-0.19.4\gtk\src/rbgtkwindowgroup.c:27: undefined reference
to `rbgob
j_instance_from_ruby_object'

                      Please can anybody help me. Please guide me to
build the gtk binding of ruby. Thanks in advance.

                                                with regards.........
Posted by Karthikeyan A k (mindaslab)
on 2010-08-26 10:44
Hello Shankr, looks like you are using Windows. If you are using Ubuntu 
I can help.
Posted by HAYASHI Kentaro (Guest)
on 2010-08-26 11:04
(Received via mailing list)
Hi

There are many difference in my case(ruby 1.9.1 rumix, ruby gnome2
0.19.4, MinGW gcc 4.4.0 etc),
 but following URL may show some hints for you.
I refer http://d.hatena.ne.jp/luna_8bit/20090321.

On Tue, Aug 24, 2010 at 5:48 PM, Sankar Bose
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.