Hello - I''m interested in leveraging wxRuby on my PowerPC-based iBook. I''ve got Mac OS 10.3.9 and I installed wxRuby 1.9.2 using gems. However, when I try to run samples such as minimal.rb, I get the following error: dyld: ruby Undefined symbols: _DataBrowserChangeAttributes _PMGetDuplex _PMSetDuplex _TXNGetCommandEventSupport _TXNSetCommandEventSupport _TXNSetSpellCheckAsYouType Trace/BPT trap It seems to be some fundamental issue with the install as I get the same error no matter what sample I run. It''s my understanding that I don''t need to install any other libraries, but if I''ve overlooked something please let me know. Thanks! Sebastian. -- Posted via http://www.ruby-forum.com/.
Alex Fenton
2007-Nov-04 03:37 UTC
[wxruby-users] Can''t run samples - Mac OS 10.3 w/ RubyGems
Hi Sebastian Sebastian Comella wrote:> I''m interested in leveraging wxRuby on my PowerPC-based iBook. > I''ve got Mac OS 10.3.9 and I installed wxRuby 1.9.2 using gems. > However, when I try to run samples such as minimal.rb, I get the > following error: > > dyld: ruby Undefined symbols: > _DataBrowserChangeAttributes > _PMGetDuplex > _PMSetDuplex > _TXNGetCommandEventSupport > _TXNSetCommandEventSupport > _TXNSetSpellCheckAsYouType > Trace/BPT trap >I haven''t seen this error but I wonder whether it''s because recent PPC versions of wxRuby have been built using 10.4. I think, for example, that spell-check-as-you-type was a feature difference between 10.3 and 10.4, and wxWidgets conditionally compiles support for this in. The last binary that was built using 10.3 was preview-0.0.40. Perhaps you could try downloading it from: http://rubyforge.org/frs/download.php/25570/wxruby2-preview-0.0.40-powerpc-darwin7.9.0.gem.old Save the file, rename it to take the ".old" suffix off it, then run "gem install wxruby2-preview" in that directory, and also uninstall the 1.9.2 gem. If you can run the samples with that, then it is down to the OS version. Unfortunately, in that case, you''ll have to compile your own version of 1.9.2, as, since my Powerbook got nicked, no-one in the dev team has a 10.3 machine. Fortunately, installing from source is pretty routien on OS X - see the wiki: http://wxruby.rubyforge.org/wiki/wiki.pl?Installation http://wxruby.rubyforge.org/wiki/wiki.pl?HowToBuildWxWidgets hth alex
Sebastian Comella
2007-Nov-06 01:40 UTC
[wxruby-users] Can''t run samples - Mac OS 10.3 w/ RubyGems
> Unfortunately, in that case, you''ll have to compile your own version of > 1.9.2, as, since my Powerbook got nicked, no-one in the dev team has a > 10.3 machine. Fortunately, installing from source is pretty routien on > OS X - see the wiki: > > http://wxruby.rubyforge.org/wiki/wiki.pl?Installation > http://wxruby.rubyforge.org/wiki/wiki.pl?HowToBuildWxWidgets >Thanks Alex - I did try to build WxWidgets and during configuration it complained about not finding a recent enough version of GTK. If you know a quick fix for that issue (command line switch for configure?) that would be great, but I think it''s simply time I shell out for a new OS version. :) Thanks for your help! Sebastian. -- Posted via http://www.ruby-forum.com/.
Alex Fenton
2007-Nov-06 12:00 UTC
[wxruby-users] Can''t run samples - Mac OS 10.3 w/ RubyGems
Sebastian Comella wrote:> I did try to build WxWidgets and during configuration it complained > about not finding a recent enough version of GTK. If you know a quick > fix for that issue (command line switch for configure?) that would be > great,It shouldn''t be looking for gtk on OS X, that''s for Linux. Is there --with-gtk in your configure flags? Check you''re using the right ./configure switches from http://wxruby.rubyforge.org/wiki/wiki.pl?HowToBuildWxWidgets cheers alex
Sebastian Comella
2007-Nov-10 21:39 UTC
[wxruby-users] Can''t run samples - Mac OS 10.3 w/ RubyGems
Alex Fenton wrote:> Sebastian Comella wrote: >> I did try to build WxWidgets and during configuration it complained >> about not finding a recent enough version of GTK. If you know a quick >> fix for that issue (command line switch for configure?) that would be >> great, > It shouldn''t be looking for gtk on OS X, that''s for Linux. Is there > --with-gtk in your configure flags? Check you''re using the right > ./configure switches from > http://wxruby.rubyforge.org/wiki/wiki.pl?HowToBuildWxWidgets > > cheers > alexHm, I re-downloaded the source today, and this time the configure (taken both times from the helpful link you mentioned) worked! So I''m happily compiling at the moment...Thanks for your help. Sebastian. -- Posted via http://www.ruby-forum.com/.