Will someone install visualruby on a MAC?

hi:

I need a volunteer who’s familiar with installing gtk stuff on a MAC.
I’m trying to get my friend to install visualruby on his MAC but it just
hangs. I’m not sure if its due to missing components or not.

If anyone is working on a MAC, please try to install visualruby, and let
me know how you get it working so I can inform my friend and other how
to install it on a MAC.

As far as I know. the steps are:

Use Ruby version 1.9.3

  1. Install glade interface designer version 3.6.7 - 3.8
    (this should install gtk2 too)
  2. Install getsourceview2.0-dev
  3. gem install visualruby

Thanks,
Eric C

I’ve posted install instructions for the MAC on my website. Also, I
officially released visualruby version 0.1.0 today.

Thanks,
Eric

Eric C. wrote in post #1065032:

I’ve posted install instructions for the MAC on my website. Also, I
officially released visualruby version 0.1.0 today.

visualruby.net

Thanks,
Eric

I followed the instructions to install VR on Mac from your page
http://visualruby.net/site/Download.html:

  1. brew install gtk+
  2. brew install gtksourceview
  3. gem install visualruby

When installing on Mac OS X (Lion 10.7.4) the second step from above
list fails:


$ brew install gtk+
O.K.

$ brew install gtksourceview

o o o
o o o

CC gtksourcecompletionwordsutils.lo
/bin/sh …/…/…/libtool --silent --tag=CC --mode=compile
/usr/bin/clang -DHAVE_CONFIG_H -I. -I…/…/…
-DDATADIR="“/usr/local/Cellar/gtksourceview/2.10.5/share”"
-DG_LOG_DOMAIN="GtkSourceView" -I…/…/… -I. -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
-I/usr/local/Cellar/cairo/1.12.2/include
-I/usr/local/Cellar/pixman/0.26.2/include
-I/usr/local/Cellar/libffi/3.0.11/include
-I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
-c -o gtksourcecompletionwordsutils.lo gtksourcecompletionwordsutils.c
In file included from gtksourcecompletionwordslibrary.c:22:
./gtksourcecompletionwordslibrary.h:26:10: fatal error: ‘glib-object.h’
file not found
#include <glib-object.h>
^
In file included from gtksourcecompletionwordsproposal.c:23:
./gtksourcecompletionwordsproposal.h:26:10: fatal error: ‘glib-object.h’
file not found
#include <glib-object.h>
^
In file included from gtksourcecompletionwords.c:23:
In file included from ./gtksourcecompletionwords.h:26:
…/…/…/gtksourceview/gtksourcecompletionprovider.h:27:10: fatal error:
‘glib.h’ file not found
#include <glib.h>
^
In file included from gtksourcecompletionwordsbuffer.c:23:
./gtksourcecompletionwordsbuffer.h:26:10: fatal error: ‘glib-object.h’
file not found
#include <glib-object.h>
In file included from gtksourcecompletionwordsutils.c:23 ^
:
./gtksourcecompletionwordsutils.h:23:10: fatal error: ‘gtk/gtk.h’ file
not found
#include <gtk/gtk.h>
^
1 error generated.
1 error generated.
make[4]: *** [gtksourcecompletionwordsproposal.lo] Error 1
make[4]: *** Waiting for unfinished jobs…
make[4]: *** [gtksourcecompletionwordsutils.lo] Error 1
1 error generated.
1 error generated.
make[4]: *** [gtksourcecompletionwordslibrary.lo] Error 1
make[4]: *** [gtksourcecompletionwordsbuffer.lo] Error 1
1 error generated.
make[4]: *** [gtksourcecompletionwords.lo] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
config.log was copied to /Users/igor/Library/Logs/Homebrew
==> Build Environment
CPU: 8-core 64-bit sandybridge
OS X: 10.7.4-x86_64
Xcode: 4.3.3
X11: 2.6.4 @ /usr/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
-mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
-mmacosx-version-min=10.7
CPPFLAGS: -I/usr/local/Cellar/cairo/1.12.2/include
-I/usr/local/Cellar/pixman/0.26.2/include
-I/usr/local/Cellar/libffi/3.0.11/include
-I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/cairo/1.12.2/lib
-L/usr/local/Cellar/pixman/0.26.2/lib
-L/usr/local/Cellar/libffi/3.0.11/lib
-L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j8
PKG_CONFIG_PATH:
/usr/local/Cellar/cairo/1.12.2/lib/pkgconfig:/usr/local/Cellar/pixman/0.26.2/lib/pkgconfig:/usr/local/Cellar/libffi/3.0.11/lib/pkgconfig
Error: Failed executing: make install (gtksourceview.rb:16)
If brew doctor does not, this may help you fix or report the issue:
GitHub - Homebrew/legacy-homebrew: 💀 The former home of Homebrew/homebrew (deprecated)
$

Following the instructions from the suggested web page in the last line
above, does not solve the problem!

I was able to install on Ubuntu, however, my old libglade stuff stopped
working, after I installed Ruby 1.9.3, though it also used to be broken
but at least libglade2 existed, which is now gone!?!?