From: Masao Mutoh Date: 2006-07-26T00:49:44+09:00 Subject: Re: rb-gnome and gtkglext Hi, Can you execute other X application such as xterm ? If not, it's not a problem of Ruby-GNOME2. I recommand to find how to run X application on MacOS X first. I suspect you don't run X server or don't set xhost, # I've not try it on MacOS X, though. On Tue, 25 Jul 2006 09:15:11 +0900 "anne001" wrote: > apparently, one of the problem was that what I needed was rb-gnome2 > //sourceforge.net/project/showfiles.php?group_id=53614 > > I downloaded gnome2 all and gtk2 installed both. But I still got error > messages suggesting > problems with the installation, so I went into ruby-gtk2-0.15.0 and > hand installed gdkpixbuf, glib, gtk (and atk for good measure). > > Now I get a new error, > /opt/local/lib/ruby/site_ruby/1.8/gtk2.rb:13:in `init': cannot open > display: (null) (RuntimeError) > from /opt/local/lib/ruby/site_ruby/1.8/gtk2.rb:13 > from /opt/local/lib/ruby/vendor_ruby/1.8/gtkglext.rb:1 > from openglgtk.rb:2 > > http://www.ratiatum.com/forum/index.php?showtopic=22038&mode=linear > seem to suggest it might have to do with root privilege and opening an > X11 window > can't do it as a user or some such. Can anyone explain what I need to > do? > the suggestions seem to work for linux and I am on tiger. > > > -- -- .:% Masao Mutoh