Hi -- I just got your book FXRuby and am trying to get it working on Leopard -- I had no problems getting it to work on Vista or Ubuntu but when I tried to follow the post on your blog for Leopard I got the following error -- I don''t know enough about Leopard or Ruby for that matter to troubleshoot this myself so I was hoping someone may have run into this before and can offer a solution. Here is a printout of what I see:>> require ''rubygems''=> false>> require ''fox16''LoadError: dlopen(/Library/Ruby/Gems/1.8/gems/fxruby-1.6.16-universal-darwin-9/ext/fox16/fox16.bundle, 9): Library not loaded: /usr/local/lib/libFOX-1.6.0.dylib Referenced from: /Library/Ruby/Gems/1.8/gems/fxruby-1.6.16-universal-darwin-9/ext/fox16/fox16.bundle Reason: image not found - /Library/Ruby/Gems/1.8/gems/fxruby-1.6.16-universal-darwin-9/ext/fox16/fox16.bundle from /Library/Ruby/Gems/1.8/gems/fxruby-1.6.16-universal-darwin-9/ext/fox16/fox16.bundle from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in `require'' from (irb):2 Thanks in advance for any help you can offer. -- Regards, Fred Horton -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080712/88291dbc/attachment-0001.html>
On Jul 12, 2008, at 10:23 AM, Fred Horton wrote:> Hi -- I just got your book FXRuby and am trying to get it working on > Leopard -- I had no problems getting it to work on Vista or Ubuntu > but when I tried to follow the post on your blog for Leopard I got > the following error -- I don''t know enough about Leopard or Ruby for > that matter to troubleshoot this myself so I was hoping someone may > have run into this before and can offer a solution. Here is a > printout of what I see:<snip> Whoops. Looks like I''ve made a mistake in building the OS X gem for FXRuby 1.6.16. I will take a look at this tonight and try to get an updated gem out ASAP. Basically, it has linked to the shared library for FOX (which you don''t have) when it should have been linked to the static library for FOX. --- "FXRuby: Create Lean and Mean GUIs with Ruby" Now available from the Pragmatic Bookshelf! http://www.pragprog.com/titles/fxruby
On Jul 14, 2008, at 9:20 AM, Lyle Johnson wrote:> Whoops. Looks like I''ve made a mistake in building the OS X gem for > FXRuby 1.6.16. I will take a look at this tonight and try to get an > updated gem out ASAP. Basically, it has linked to the shared library > for FOX (which you don''t have) when it should have been linked to > the static library for FOX.OK. I''ve re-uploaded the gem for FXRuby 1.6.16 on OS X and it should (I guess?) propagate out to the mirrors over the next few hours. You''ll presumably need to do a "gem uninstall fxruby", then try the install again (not sure whether RubyGems will try to cache the old version or not). --- "FXRuby: Create Lean and Mean GUIs with Ruby" Now available from the Pragmatic Bookshelf! http://www.pragprog.com/titles/fxruby
Hi - I discovered my mistake -- when I first got errors, I tried doing a custom install of ruby etc. using the tutorial at Hivelogic but I still got errors -- at that point I went back to your tutorial and noticed what I failed to notice the first time I read it, namely that it works for the default installation so I cleaned out the custom install ruby etc. and was left with the default -- but I still got errors until I used the following for one of your other tutorials as referenced in David Rupp''s Blog: export LDFLAGS="-dylib_file \ /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ /System/Library/Frameworks/OpenGL.framework/Versions/A/L Even with the default install of ruby I got errors until I used the following to install: sudo env ARCHFLAGS="-arch i386" gem install fxruby Thanks for your response and I hope round about way of explaining my experience was not too confusing. Anyway, it works for me now on my Mac and I look forward to working through the rest of the book. Regards, Fred On Mon, Jul 14, 2008 at 10:20 AM, Lyle Johnson <lyle at lylejohnson.name> wrote:> > On Jul 12, 2008, at 10:23 AM, Fred Horton wrote: > > Hi -- I just got your book FXRuby and am trying to get it working on >> Leopard -- I had no problems getting it to work on Vista or Ubuntu but when >> I tried to follow the post on your blog for Leopard I got the following >> error -- I don''t know enough about Leopard or Ruby for that matter to >> troubleshoot this myself so I was hoping someone may have run into this >> before and can offer a solution. Here is a printout of what I see: >> > > <snip> > > Whoops. Looks like I''ve made a mistake in building the OS X gem for FXRuby > 1.6.16. I will take a look at this tonight and try to get an updated gem > out ASAP. Basically, it has linked to the shared library for FOX (which you > don''t have) when it should have been linked to the static library for FOX. > > --- > "FXRuby: Create Lean and Mean GUIs with Ruby" > Now available from the Pragmatic Bookshelf! > http://www.pragprog.com/titles/fxruby > > > > > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users >-- Regards, Fred Horton -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080715/9926a889/attachment.html>
Dear R users I have a problem with the selection of the variables from a gamma model with log link function: step.glm.gam1.infroma<- step(glm.gam1.infroma, direction = "backward", k=2) Errore in glm.fit(x[, jj, drop = FALSE], y, wt, offset = object$offset, : ciclo intero 1; impossibile correggere la ampiezza del passo Inoltre: Warning message: ampiezza del passo ridotta a causa della divergenza Could someone help me??? Thanks Silvia [[alternative HTML version deleted]]