Dear wxruby users I''ve been trying to get wxruby-based weft-qda 0.9.6 running on a linux from scratch 6.1 system (this list had a discussion about weft-qda last year and alex fenton''s also been trying to help me out - no luck so far). I get stuck with wxruby 0.60 (I think). I compiled wxruby against wxGTK 2.4.2 (without gtk2, without unicode - gtk+ version is 1.2.10) - after manually moving htmlproc.h and xml.h from the wxGTK make to the appropriate directories. I get the following error on running ruby weft-qda.rb: /usr/lib/ruby/1.8/i686-linux/wxruby.so: /usr/lib/ruby/1.8/i686-linux/wxruby.so: undefined symbol: _ZN12wxEvtHandler13sm_eventTableE - /usr/lib/ruby/1.8/i686-linux/wxruby.so (LoadError) from ./lib/weft/wxgui.rb:1 from weft-qda.rb:11:in `require'' from weft-qda.rb:11 Would anybody have suggestions on how to proceed from here? Thanks, Joerg __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Greetings, Can you run the wxruby samples on this system? The error looks like the ''require "wxruby"'' statement is failing, which might not have anything to do with weft. Could you try it with wxruby2? I personally haven''t looked at wxruby 0.6.0 for months, and am putting all my attention toward wxruby2. Cheers, Kevin On Sat, 2005-10-22 at 01:45 -0700, Joerg Balsiger wrote:> Dear wxruby users > > I''ve been trying to get wxruby-based weft-qda 0.9.6 running on a linux from > scratch 6.1 system (this list had a discussion about weft-qda last year and > alex fenton''s also been trying to help me out - no luck so far). > > I get stuck with wxruby 0.60 (I think). I compiled wxruby against wxGTK 2.4.2 > (without gtk2, without unicode - gtk+ version is 1.2.10) - after manually > moving htmlproc.h and xml.h from the wxGTK make to the appropriate directories. > > > I get the following error on running ruby weft-qda.rb: > > /usr/lib/ruby/1.8/i686-linux/wxruby.so: /usr/lib/ruby/1.8/i686-linux/wxruby.so: > undefined symbol: _ZN12wxEvtHandler13sm_eventTableE - > /usr/lib/ruby/1.8/i686-linux/wxruby.so (LoadError) > from ./lib/weft/wxgui.rb:1 > from weft-qda.rb:11:in `require'' > from weft-qda.rb:11 > > Would anybody have suggestions on how to proceed from here? > > Thanks, > > Joerg > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
Hi>Can you run the wxruby samples on this system? The error looks like the >''require "wxruby"'' statement is failing, which might not have anything >to do with weft. > >Does sound like another general wxruby.so problem - Joerg previous ran into difficulty running wxruby-0.6.0 after compiling wx against gtk-2.6 . This error looks familiar - I have seen it before with wxr-0.6 on OS X, but can''t remember what I did to fix it other than recompile - sorry. As a final shot, maybe try WxWidgets 2.6 - some minor tweaks are needed to get it work with 0.6.0 but I think I remember see a message on this list of someone (Jani?) who''d managed it.>Could you try it with wxruby2? I personally haven''t looked at wxruby >0.6.0 for months, and am putting all my attention toward wxruby2. > >Unfortunately Weft won''t work with wxruby2 at the moment (Wx::ConfigBase is missing). I am looking forward to moving to wxruby2 when there''s a slightly more stable release to work against cheers alex>Cheers, > >Kevin > > >On Sat, 2005-10-22 at 01:45 -0700, Joerg Balsiger wrote: > > >>Dear wxruby users >> >>I''ve been trying to get wxruby-based weft-qda 0.9.6 running on a linux from >>scratch 6.1 system (this list had a discussion about weft-qda last year and >>alex fenton''s also been trying to help me out - no luck so far). >> >>I get stuck with wxruby 0.60 (I think). I compiled wxruby against wxGTK 2.4.2 >>(without gtk2, without unicode - gtk+ version is 1.2.10) - after manually >>moving htmlproc.h and xml.h from the wxGTK make to the appropriate directories. >> >> >>I get the following error on running ruby weft-qda.rb: >> >>/usr/lib/ruby/1.8/i686-linux/wxruby.so: /usr/lib/ruby/1.8/i686-linux/wxruby.so: >>undefined symbol: _ZN12wxEvtHandler13sm_eventTableE - >>/usr/lib/ruby/1.8/i686-linux/wxruby.so (LoadError) >> from ./lib/weft/wxgui.rb:1 >> from weft-qda.rb:11:in `require'' >> from weft-qda.rb:11 >> >>Would anybody have suggestions on how to proceed from here? >> >>Thanks, >> >>Joerg >> >> >> >>__________________________________ >>Yahoo! FareChase: Search multiple travel sites in one click. >>http://farechase.yahoo.com >>_______________________________________________ >>wxruby-users mailing list >>wxruby-users at rubyforge.org >>http://rubyforge.org/mailman/listinfo/wxruby-users >> >> > >_______________________________________________ >wxruby-users mailing list >wxruby-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/wxruby-users > > > >
> As a final shot, maybe try WxWidgets 2.6 - some minor tweaks are needed > to get it work with 0.6.0 but I think I remember see a message on this > list of someone (Jani?) who''d managed it.I might try that, though I''m not sure I''ll figure out on my own what those "minor tweaks" would be.> >Could you try it with wxruby2? I personally haven''t looked at wxruby > >0.6.0 for months, and am putting all my attention toward wxruby2. > > > Unfortunately Weft won''t work with wxruby2 at the moment (Wx::ConfigBase > is missing). I am looking forward to moving to wxruby2 when there''s a > slightly more stable release to work againstI guess my best bet will be to give up on weft-qda on linux for now and use something like TAMS or a windows-based program. Thank you all for your help, though. Joerg __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
>I might try that, though I''m not sure I''ll figure out on my own what those >"minor tweaks" would be. > >http://rubyforge.org/pipermail/wxruby-users/2005-April/001196.html But the submitter of this patch only confirms that it let him run minimal.rb, so it is a long shot. Alternately you could try a compiled wxruby for Linux w GTK1.x - drop me a line off-list if you want to try it for interest.>I guess my best bet will be to give up on weft-qda on linux for now and use >something like TAMS or a windows-based program. > >Sorry, yes, I think you''re right - there''s other problems with weft 0.9.6 specifically on Linux even if you got a working wxruby. If you use weft on Windows, you''ll be able to use your files on a Linux version.>Thank you all for your help, though. > >No problem, and thanks for the error reports. a
On Sun, 2005-10-23 at 18:35 +0100, Alex Fenton wrote:> Unfortunately Weft won''t work with wxruby2 at the moment (Wx::ConfigBase > is missing). I am looking forward to moving to wxruby2 when there''s a > slightly more stable release to work againstI vaguely remember a discussion of that, but can''t find it in the archives. What was it about ConfigBase that made it difficult to support in wxruby2? Kevin
Kevin Smith wrote:>I vaguely remember a discussion of that, but can''t find it in the >archives. What was it about ConfigBase that made it difficult to support >in wxruby2? > >Just for ref, it was figuring out how to SWIG in-out parameters by reference in C++ http://rubyforge.org/pipermail/wxruby-users/2005-July/001334.html cheers alex