Hi, The Ruby-GNOME2 project released Ruby-GNOME2 0.90.8: http://downloads.sourceforge.net/ruby-gnome2/ruby-... http://downloads.sourceforge.net/ruby-gnome2/ruby-... === 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 Sutou] ==== Ruby/Atk * Fixes * fix 'make distclean' cleans needed a file. [Vincent Carmona] ==== Ruby/Pango * Fixes * fix 'make distclean' cleans needed a file. [Vincent Carmona] ==== Ruby/GTK2 * Fixes * fix require order. [id:kenhys] * [#3046538] fix crash by GC at exit. [Vincent Carmona, Kouhei Sutou] * gtk-demo samples with ruby 1.9 (excepted cairo ones). [Vincent Carmona] ==== Ruby/GooCanvas * Fixes * fix pc install. [#3178294] [OBATA Akio, Kouhei Sutou] ==== Ruby/GStreamer * Improvements * improve missing message. [Vincent Carmona] * add Gst::InstallPlugins. [Vincent Carmona, Kouhei Sutou] * Fixes * fix pc install. [#3178294] [OBATA Akio, Kouhei Sutou] * don't use rbgprivate.h. [#3188442] [Mamoru Tasaka, Kouhei Sutou] ==== Ruby/GtkMozEmbed * Fixes * fix pc install. [#3178294] [OBATA Akio, Kouhei Sutou] ==== Ruby/GtkSourceView2 * Fixes * fix pc install. [#3178294] [OBATA Akio, Kouhei Sutou] === Thanks * OBATA Akio * Vincent Carmona * id:kenhys * Mamoru Tasaka Thanks, -- kou
on 2011-03-04 02:47
on 2011-03-04 03:29
On Fri, Mar 4, 2011 at 9:46 AM, Kouhei Sutou <kou@cozmixng.org> wrote: > > > [Vincent Carmona] > * fix require order. > [OBATA Akio, Kouhei Sutou] > * fix pc install. [#3178294] > ==== Ruby/GtkSourceView2 > * Mamoru Tasaka > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > ruby-gnome2-devel-en mailing list > ruby-gnome2-devel-en@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ruby-... > Is there an easy way to install this on windows? I really need this
on 2011-03-04 03:46
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" <penguinroad@gmail.com> wrote: > On Fri, Mar 4, 2011 at 9:46 AM, Kouhei Sutou <kou@cozmixng.org> wrote: > >> Hi, >> >> The Ruby-GNOME2 project released Ruby-GNOME2 0.90.8: >> http://downloads.sourceforge.net/ruby-gnome2/ruby-... >> >> http://downloads.sourceforge.net/ruby-gnome2/ruby-... >> >> >> [Vincent Carmona] >> >> [Vincent Carmona] >> >> === Thanks >> >> ------------------------------------------------------------------------------
on 2011-03-04 10:12
Hi, 2011/3/4 Mike Charlton <mikekchar@gmail.com>: > 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
on 2011-03-04 16:02
On Fri, Mar 4, 2011 at 5:11 PM, Kouhei Sutou <kou@cozmixng.org> 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
on 2011-03-04 16:07
On Fri, Mar 4, 2011 at 11:01 PM, hendra kusuma <penguinroad@gmail.com>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
on 2011-03-05 09:19
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 `<main>'
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 `<main>'
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
on 2011-03-05 13:15
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
on 2011-03-05 19:12
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 Carmona
on 2011-03-06 13:28
Hi,
In <4D71F1C9.2070509@gmail.com>
"Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.90.8" on Sat, 05 Mar
2011 10:18:17 +0200,
Dobai-Pataky Blint <dpblnt@gmail.com> 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
on 2011-03-06 17:17
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
on 2011-03-06 17:31
2011/3/6 J. K. <ruby-forum-incoming@andreas-s.net>: 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 Carmona
on 2011-03-06 19:52
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 `<main>' 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
on 2011-03-06 20:28
2011/3/6 J. K. <ruby-forum-incoming@andreas-s.net>: > 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 Carmona
on 2011-03-06 20:54
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
on 2011-03-06 21:22
2011/3/6 J. K. <ruby-forum-incoming@andreas-s.net>: > > 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 Carmona
on 2011-03-06 22:04
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
on 2011-03-06 22:53
2011/3/6 J. K. <ruby-forum-incoming@andreas-s.net>: > 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 Carmona
on 2011-03-06 23:48
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
on 2011-03-07 06:24
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
on 2011-03-09 04:12
hello there, more woes.... in both: ruby 1.9.1p378 (2010-01-10 revision 26273) [i486-linux] and ruby 1.9.2dev (2010-07-02) [i486-linux] with: gems [atk-0.90.8, cairo-1.10.0, gdk_pixbuf2-0.90.8, glib2-0.90.8, gtk2-0.90.8, pango-0.90.8, pkg-config-1.0.8] all successfully installed by $ gem install gtk2 when i try to require the gems, all but pkg-config and cairo (which return true in irb) give me this: irb(main):001:0> require 'gtk2' /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so: [BUG] unknown type 0x22 (0xc given) ruby 1.9.2dev (2010-07-02) [i486-linux] -- control frame ---------- c:0035 p:-35912730 s:0126 b:0126 l:000125 d:000125 TOP c:0034 p:---- s:0124 b:0124 l:000123 d:000123 CFUNC :require c:0033 p:0029 s:0120 b:0120 l:000116 d:000119 BLOCK /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.rb:89 c:0032 p:0169 s:0117 b:0117 l:000116 d:000116 TOP /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.rb:85 c:0031 p:---- s:0110 b:0110 l:000109 d:000109 FINISH c:0030 p:---- s:0108 b:0108 l:000107 d:000107 CFUNC :require c:0029 p:0011 s:0104 b:0104 l:000103 d:000103 TOP /home/jk/.gems/gems/gtk2-0.90.8/lib/gtk2/base.rb:12 c:0028 p:---- s:0096 b:0096 l:000095 d:000095 FINISH c:0027 p:---- s:0094 b:0094 l:000093 d:000093 CFUNC :require c:0026 p:0011 s:0090 b:0090 l:000089 d:000089 TOP /home/jk/.gems/gems/gtk2-0.90.8/lib/gtk2.rb:11 c:0025 p:---- s:0088 b:0088 l:000087 d:000087 FINISH c:0024 p:---- s:0086 b:0086 l:000085 d:000085 CFUNC :require c:0023 p:0011 s:0082 b:0082 l:002034 d:000081 EVAL (irb):1 c:0022 p:---- s:0080 b:0080 l:000079 d:000079 FINISH c:0021 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC :eval c:0020 p:0028 s:0071 b:0071 l:000070 d:000070 METHOD /usr/lib/ruby/1.9.2/irb/workspace.rb:80 c:0019 p:0033 s:0064 b:0063 l:000062 d:000062 METHOD /usr/lib/ruby/1.9.2/irb/context.rb:254 c:0018 p:0031 s:0058 b:0058 l:00216c d:000057 BLOCK /usr/lib/ruby/1.9.2/irb.rb:159 c:0017 p:0042 s:0050 b:0050 l:000049 d:000049 METHOD /usr/lib/ruby/1.9.2/irb.rb:273 c:0016 p:0011 s:0045 b:0045 l:00216c d:000044 BLOCK /usr/lib/ruby/1.9.2/irb.rb:156 c:0015 p:0144 s:0041 b:0041 l:000024 d:000040 BLOCK /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:243 c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :loop c:0012 p:0009 s:0033 b:0033 l:000024 d:000032 BLOCK /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:229 c:0011 p:---- s:0031 b:0031 l:000030 d:000030 FINISH c:0010 p:---- s:0029 b:0029 l:000028 d:000028 CFUNC :catch c:0009 p:0023 s:0025 b:0025 l:000024 d:000024 METHOD /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:228 c:0008 p:0046 s:0022 b:0022 l:00216c d:00216c METHOD /usr/lib/ruby/1.9.2/irb.rb:155 c:0007 p:0011 s:0019 b:0019 l:002574 d:000018 BLOCK /usr/lib/ruby/1.9.2/irb.rb:70 c:0006 p:---- s:0017 b:0017 l:000016 d:000016 FINISH c:0005 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC :catch c:0004 p:0183 s:0011 b:0011 l:002574 d:002574 METHOD /usr/lib/ruby/1.9.2/irb.rb:69 c:0003 p:0039 s:0006 b:0006 l:002684 d:001bdc EVAL /usr/bin/irb:12 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:002684 d:002684 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- /usr/bin/irb:12:in `<main>' /usr/lib/ruby/1.9.2/irb.rb:69:in `start' /usr/lib/ruby/1.9.2/irb.rb:69:in `catch' /usr/lib/ruby/1.9.2/irb.rb:70:in `block in start' /usr/lib/ruby/1.9.2/irb.rb:155:in `eval_input' /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:228:in `each_top_level_statement' /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:228:in `catch' /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:229:in `block in each_top_level_statement' /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:229:in `loop' /usr/lib/ruby/1.9.2/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' /usr/lib/ruby/1.9.2/irb.rb:156:in `block in eval_input' /usr/lib/ruby/1.9.2/irb.rb:273:in `signal_status' /usr/lib/ruby/1.9.2/irb.rb:159:in `block (2 levels) in eval_input' /usr/lib/ruby/1.9.2/irb/context.rb:254:in `evaluate' /usr/lib/ruby/1.9.2/irb/workspace.rb:80:in `evaluate' /usr/lib/ruby/1.9.2/irb/workspace.rb:80:in `eval' (irb):1:in `irb_binding' (irb):1:in `require' /home/jk/.gems/gems/gtk2-0.90.8/lib/gtk2.rb:11:in `<top (required)>' /home/jk/.gems/gems/gtk2-0.90.8/lib/gtk2.rb:11:in `require' /home/jk/.gems/gems/gtk2-0.90.8/lib/gtk2/base.rb:12:in `<top (required)>' /home/jk/.gems/gems/gtk2-0.90.8/lib/gtk2/base.rb:12:in `require' /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.rb:85:in `<top (required)>' /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.rb:89:in `rescue in <top (required)>' /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.rb:89:in `require' -- C level backtrace information ------------------------------------------- /usr/lib/libruby-1.9.2.so.1.9(rb_vm_bugreport+0x72) [0x267052] /usr/lib/libruby-1.9.2.so.1.9(+0x4ff2f) [0x15ff2f] /usr/lib/libruby-1.9.2.so.1.9(rb_bug+0x3a) [0x15ffca] /usr/lib/libruby-1.9.2.so.1.9(rb_check_type+0xbd) [0x1610ad] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(rbgobj_lookup_class+0xdb) [0xabab3b] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(rbgobj_define_action_methods+0x1f) [0xac57cf] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(+0x21748) [0xaba748] /usr/lib/libruby-1.9.2.so.1.9(rb_ensure+0x99) [0x1621e9] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(rbgobj_lookup_class_by_gtype_full+0x83) [0xaba863] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(rbgobj_lookup_class_by_gtype+0x2c) [0xaba89c] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(rbgobj_define_class+0x33) [0xaba8e3] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(Init_gobject_typeinterface+0x126) [0xabd7b6] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(Init_gobject+0x1bf) [0xab4d9f] /home/jk/.gems/gems/glib2-0.90.8/lib/glib2.so(Init_glib2+0x7d5) [0xab06d5] /usr/lib/libruby-1.9.2.so.1.9(dln_load+0x117) [0x12f167] /usr/lib/libruby-1.9.2.so.1.9(+0x55278) [0x165278] /usr/lib/libruby-1.9.2.so.1.9(rb_vm_call_cfunc+0xc1) [0x254261] /usr/lib/libruby-1.9.2.so.1.9(rb_require_safe+0x526) [0x165f76] /usr/lib/libruby-1.9.2.so.1.9(rb_f_require+0x26) [0x1662b6] /usr/lib/libruby-1.9.2.so.1.9(+0x141853) [0x251853] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(rb_iseq_eval+0x149) [0x25d9e9] /usr/lib/libruby-1.9.2.so.1.9(+0x54bbd) [0x164bbd] /usr/lib/libruby-1.9.2.so.1.9(rb_require_safe+0x562) [0x165fb2] /usr/lib/libruby-1.9.2.so.1.9(rb_f_require+0x26) [0x1662b6] /usr/lib/libruby-1.9.2.so.1.9(+0x141853) [0x251853] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(rb_iseq_eval+0x149) [0x25d9e9] /usr/lib/libruby-1.9.2.so.1.9(+0x54bbd) [0x164bbd] /usr/lib/libruby-1.9.2.so.1.9(rb_require_safe+0x562) [0x165fb2] /usr/lib/libruby-1.9.2.so.1.9(rb_f_require+0x26) [0x1662b6] /usr/lib/libruby-1.9.2.so.1.9(+0x141853) [0x251853] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(rb_iseq_eval+0x149) [0x25d9e9] /usr/lib/libruby-1.9.2.so.1.9(+0x54bbd) [0x164bbd] /usr/lib/libruby-1.9.2.so.1.9(rb_require_safe+0x562) [0x165fb2] /usr/lib/libruby-1.9.2.so.1.9(rb_f_require+0x26) [0x1662b6] /usr/lib/libruby-1.9.2.so.1.9(+0x141853) [0x251853] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(+0x14dbf6) [0x25dbf6] /usr/lib/libruby-1.9.2.so.1.9(rb_f_eval+0xdc) [0x25e21c] /usr/lib/libruby-1.9.2.so.1.9(+0x141878) [0x251878] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(+0x14e756) [0x25e756] /usr/lib/libruby-1.9.2.so.1.9(rb_rescue2+0x169) [0x162519] /usr/lib/libruby-1.9.2.so.1.9(+0x143005) [0x253005] /usr/lib/libruby-1.9.2.so.1.9(+0x14185d) [0x25185d] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(+0x152341) [0x262341] /usr/lib/libruby-1.9.2.so.1.9(rb_catch_obj+0xc7) [0x2513f7] /usr/lib/libruby-1.9.2.so.1.9(+0x142e86) [0x252e86] /usr/lib/libruby-1.9.2.so.1.9(+0x141878) [0x251878] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(+0x152341) [0x262341] /usr/lib/libruby-1.9.2.so.1.9(rb_catch_obj+0xc7) [0x2513f7] /usr/lib/libruby-1.9.2.so.1.9(+0x142e86) [0x252e86] /usr/lib/libruby-1.9.2.so.1.9(+0x141878) [0x251878] /usr/lib/libruby-1.9.2.so.1.9(+0x14fcba) [0x25fcba] /usr/lib/libruby-1.9.2.so.1.9(+0x147352) [0x257352] /usr/lib/libruby-1.9.2.so.1.9(+0x14d59e) [0x25d59e] /usr/lib/libruby-1.9.2.so.1.9(rb_iseq_eval_main+0xab) [0x25d87b] /usr/lib/libruby-1.9.2.so.1.9(+0x52f6a) [0x162f6a] /usr/lib/libruby-1.9.2.so.1.9(ruby_exec_node+0x25) [0x162fa5] /usr/lib/libruby-1.9.2.so.1.9(ruby_run_node+0x35) [0x164665] irb(main+0x68) [0x80487c8] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xca5bd6] irb() [0x80486c1] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html huh? any ideas why it's impossible for me to install gtk2-0.90.8 either from source or from gems? in ruby 1.8.7 i use an older version of gtk2 (0.19.3) with no problems... oh, and tried this: "Dobai-Pataky Bálint" <dpblnt@gmail.com> wrote in post #985877: > LANG="en_US.UTF-8" gem update but no luck... thanks - j
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
Log in with Google account | Log in with Yahoo account
No account? Register here.