Hi to all,
I have a problem at the installation of the Ruby-gnome2 at Mac OS X
Leopard. After searching a lot at the internet how to solve this, I try
asking here.
I have installed the lastest packet of gtk for Mac OS downloaded from
http://www.gtk-osx.org/ and when I try to compile the
ruby-gnome2-all-0.18.0 packet downloaded from sourceforge I have the
next error:
##############################################
maxim.ruby-gnome2-all-0.18.0 >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… yes
checking for gobject-2.0… no
*** /Users/fran/Downloads/gtk/ruby-gnome2-all-0.18.0/glib/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=/Users/fran/Downloads/gtk/ruby-gnome2-all-0.18.0/glib
–curdir
–ruby=/usr/local/bin/ruby
–with-pkg-config
–without-pkg-config
extconf.rb: Leaving directory ‘glib’
The errors continues until the final statement:
Ignored libraries: glib, gdkpixbuf, pango, atk, gtk, bonobo, bonoboui,
gconf, gnome, gnomecanvas, gnomeprint, gnomeprintui, gnomevfs,
goocanvas, gstreamer, gtkglext, gtkhtml2, gtkmozembed, gtksourceview,
gtksourceview2, libart, libglade, panel-applet, poppler, rsvg, vte
##############################################
This is a problem of the makefile generator that don’t find the gtk
libraries, so I try with
ruby extconf.rb --wit-opt-dir=/Library/Frameworks/Gtk.framework/
and variants but continues with errors
This could be a stupid question but I have an little app made with ruby
and ruby-gnome2 and the last week I saw the release of the native GTK+
for Mac OS, and I try to probe my app at this platform. Usually I run on
a Linux box.
Thanks after all.