[wxruby-development] Building wxRuby and Ruby 1.8.7 on Windows

Chauk-Mean P
Tue, 23 Dec 2008 23:17:35 -0000

Hi Alex,

2008/12/23 Alex Fenton <alex at pressure.to>:
> What does ruby19 -v tell you? Just to confirm that I''m using the
same
> preview on OS X:
>
> Abaddon:~ alex$ ~/bleed/bin/ruby -v
> ruby 1.9.1 (2008-12-01 revision 20438) [i386-darwin9.5.0]

Yes, this is the same version.

> I think the wrong header file is getting included - ruby''s
<ruby/io.h>
> instead of MingW''s <io.h>. Looking at it, I believe this
arises from a naive
> attempt on my part to fix compatibility against an early preview of 1.9.0.
> The SWIG patch (which has now been accepted) is the correct way to fix
this.

> Please can you try applying the attached patch to our
rake/rakeconfigure.rb.

> Let me know how it goes. It seems to have no effect (as expected) on OS X.

The patch works great. I can now play with wxRuby with ruby-1.9.1.

Merry Christmas.

Cheers.

Chauk-Mean.