[wxruby-users] Segmentation Fault.
Alex Fenton
alex at pressure.to
Thu Aug 14 15:18:08 EDT 2008
Hi Christos
Thanks for trying this out.
Christos Vasilakis wrote:
> All tests run on a clean ubuntu install with no previous wxruby
> instances(I had to reformat my hard drive some days ago)
>
> Here is what I did:
>
> I download the svn version of wxruby as described in the wiki:
>
> http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource
>
> cvasilak at casper:~$ svn co
> svn://rubyforge.org/var/svn/wxruby/trunk/wxruby2
> ...
> ...
> Checked out revision 1751.
>
> cvasilak at casper:~$ sudo rake
> ...
> cvasilak at casper:~$ sudo rake gem WXRUBY_VERSION=1.9.7 (just to make it
> work, I didn't know what to supply as the wiki unfortunately doesn't
> specify what, ignore the version tag for now)
> ...
> cvasilak at casper:~$ sudo gem install wxruby-1.9.7-x86-linux.gem
>
Here, instead of trying to install the code you built as a gem, run it
locally from the directory you built wxruby2 in like this:
ruby -Ilib path/to/helloworld.rb
This will ensure that you're getting the newly-built SVN HEAD version. I
tried running the tests again on a very similar setup (Ubuntu 8.04,
built against the 2.8.7 version wx packages) and both run fine for me
and exit cleanly.
I think what may be happening is that running with rubygems, you're
getting the original 1.9.7 with the bugs you first reported.
cheers
alex
More information about the wxruby-users
mailing list