I am running on a redhat linux box. I could not use the binary package
because I do not have libXinerama, and installing it is a nightmare of
dependencies (and I am not root, so I can’t use the package manager).
So I am trying to install from source. I installed wxGTK-2.8.7. I
downloaded wxruby-1.9.2, and issued “rake”, and got:
WIN32 has been removed, use CURRENT instead
Huh? With much poking around, I made a change in rakepackage.rb, to
the GEM_PLATFORMS to just:
‘linux’ => [ Gem::Platform::CURRENT, ‘.so’ ]
That is pretty clearly not the right change, but I don’t know what the
change is. This got me a little further:
can’t convert nil into String
which with more tracing and pondering, it appears that (something like)
change needs to be made in rakewx.rb:
-stc_lib = $wx_libs[/\S+libwx\S+_stc\S+/]
+stc_lib = $wx_libs[/\S+lwx\S+_stc\S+/]
since wx_libs has strings of the form -lwx_gtk2_*. There is no “lib” in
The build is now proceeding. Stay tuned.
Is the rakefile system unmaintained or something? Adoption will be a
problem if wxruby is unbuildable out of the box in the “stable” release.