From: Matt Mower Date: 2008-04-11T17:07:10+09:00 Subject: Re: FXRuby versus Tk Hi Lyle. On 4/10/08, Lyle Johnson wrote: > Right, the gem is intended for use with Apple's built-in Ruby for Leopard. > If you're using MacPorts, however, I'd recommend just installing the port > for FXRuby: > > sudo port install rb-fxruby > Thanks for the advice. I confess I wasn't entirely surprised when the rb-fxruby port didn't work for me: ---> Building rb-fxruby with target setup Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-fxruby/work/FXRuby-1.6.13" && /opt/local/bin/ruby -rvendor-specific install.rb setup " returned error 1 Command output: cc -dynamic -bundle -undefined suppress -flat_namespace -o fox16.bundle librb.o core_wrap.o dc_wrap.o dialogs_wrap.o frames_wrap.o fx3d_wrap.o FXRbApp.o FXRbDataTarget.o FXRbGLViewer.o FXRuby.o iconlist_wrap.o icons_wrap.o image_wrap.o impl.o label_wrap.o layout_wrap.o list_wrap.o markfuncs.o mdi_wrap.o menu_wrap.o scintilla_wrap.o table_wrap.o text_wrap.o treelist_wrap.o ui_wrap.o unregisterOwnedObjects.o -L"." -L"/opt/local/lib" -L"/opt/local/lib" -L"/usr/X11R6/lib" -L. -L/opt/local/lib -lruby -lfxscintilla -lFOX-1.6 -lGLU -lGL -lX11 -lXext -ltiff -ljpeg -lz -lpng -lstdc++ -lpthread -ldl -lobjc i686-apple-darwin9-gcc-4.0.1: core_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: dc_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: dialogs_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: frames_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: fx3d_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: FXRbApp.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: FXRbDataTarget.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: FXRbGLViewer.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: FXRuby.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: iconlist_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: icons_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: image_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: impl.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: label_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: layout_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: list_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: markfuncs.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: mdi_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: menu_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: scintilla_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: table_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: text_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: treelist_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: ui_wrap.o: No such file or directory i686-apple-darwin9-gcc-4.0.1: unregisterOwnedObjects.o: No such file or directory make: *** [fox16.bundle] Error 1 setup failed 'system make ' failed Try 'ruby install.rb --help' for detailed usage. I'm just reporting this FYI because I'm not planning to spend any more time on this; I was only going to noodle about with Fox anyway and messing with broken ports isn't my idea of fun. If I ever switch to Leopard Ruby I will be sure to give your binary gem a whirl. Regards, Matt -- Matt Mower :: http://matt.blogs.it/