[wxruby-users] Problems installing/running svn-code
Mario Steele
mario at ruby-im.net
Mon Dec 10 13:40:39 EST 2007
Hello Jonathan,
I've ran into the same problem myself, compiling from SVN on Linux, using
wxGTK, and Ruby 1.8.6. I was able to get wxRuby and wxGTK to compile with
Debug support, and from what I can see, running through gdb (Which was a
trick and a half), it shows that it's segfaulting on rb_hash_aref(), which
is comming from /usr/lib/libruby.so.1.8 So I have a couple of questions for
you.
1.) Which Distro are you using?
2.) Did you install Ruby from Source, or from your Distro's Package Manager?
3.) Do you have the same problems if you take out the --with-opengl?
These are just a few questions / ideas to get an idea of where the problem
lies.
L8ers,
Mario Steele
On 12/8/07, Alex Fenton <alex at pressure.to> wrote:
>
> Hi Jonathan
>
> Thanks for the reports, sorry to be slow in following up.
>
> Jonathan Maasland wrote:
> > The first hurdle was that the rake install target doesn't work. It fails
> > on rakewx.rb:145. Looking into it I found that $target_lib wasn't set to
> > anything. Searching the sources I couldn't find where it is supposed to
> > be set.
> >
> Should now be fixed in SVN. With most people using gems, we've kind of
> slipped on maintenance of the tar.gz/install route, so please do report
> any probs.
> > I couldn't find anything, it's just a wee bit too complex for me to
> > handle right now. Don't think this is useful for the developers but just
> > in case it might be this is the error I got: undefined symbol:
> > _Z10wxOnAssertPKwiPKcS0_S0_
> >
> Hmm, I think I've seen that error if I've mistakenly compiled a debug
> wxRuby against a release wxWidgets, or vice versa. I think all the
> object files in wxRuby need to have been compiled with the
> "WXRUBY_DEBUG" environment variable set.
>
> The configuration for wxWidgets looks appropriate for this.
>
> cheers
> alex
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20071210/5902ec4b/attachment.html
More information about the wxruby-users
mailing list