I tried to install Ruby GTK using the following command on my Ubuntu:
$ sudo gem install gtk2
and it spits out some error as shown:
Building native extensions. This could take a while...
ERROR: Error installing gtk2:
ERROR: Failed to build gem native extension.
/usr/local/ruby/bin/ruby 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... no
checking for gobject-2.0... no
Hi, you might need some extra libraries to build this gem, gobject-2.0 for example.extconf.rb have not found gobject-2.0.
install all dependencies and try again
···
Date: Mon, 21 Feb 2011 11:43:24 +0900
From: mindaslab@gmail.com
Subject: Problem with installing Ruby GTK
To: ruby-talk@ruby-lang.org
Hello People,
I tried to install Ruby GTK using the following command on my Ubuntu:
$ sudo gem install gtk2
and it spits out some error as shown:
Building native extensions. This could take a while...
ERROR: Error installing gtk2:
ERROR: Failed to build gem native extension.
/usr/local/ruby/bin/ruby 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... no
checking for gobject-2.0... no
In <a1b1d6ceaae4244026ad0c9f1624eebb@ruby-forum.com>
"Problem with installing Ruby GTK" on Mon, 21 Feb 2011 11:43:24 +0900,
···
Karthikeyan A k <mindaslab@gmail.com> wrote:
I tried to install Ruby GTK using the following command on my Ubuntu:
$ sudo gem install gtk2
and it spits out some error as shown:
Building native extensions. This could take a while...
ERROR: Error installing gtk2:
ERROR: Failed to build gem native extension.
/usr/local/ruby/bin/ruby 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... no
checking for gobject-2.0... no
Hi.
It's probably missing the Ubuntu GTK2 developer packages.
/Adde
···
On 2011-02-21 08:24, pp wrote:
Hi, you might need some extra libraries to build this gem, gobject-2.0 for example.extconf.rb have not found gobject-2.0.
install all dependencies and try again
Date: Mon, 21 Feb 2011 11:43:24 +0900
From: mindaslab@gmail.com
Subject: Problem with installing Ruby GTK
To: ruby-talk@ruby-lang.org
Hello People,
I tried to install Ruby GTK using the following command on my Ubuntu:
$ sudo gem install gtk2
and it spits out some error as shown:
Building native extensions. This could take a while...
ERROR: Error installing gtk2:
ERROR: Failed to build gem native extension.
/usr/local/ruby/bin/ruby 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... no
checking for gobject-2.0... no