-----BEGIN PGP SIGNED MESSAGE-----
Am 21.10.2010 23:49, schrieb Philip S.:
On Ubuntu 10.04 it should work with the wxWidgets packages without
problems. Do a
$ sudo apt-get install libwxgtk2.8-dev freeglut3-dev g++
then set the symlinks I mentioned in my previous post. Afterwards
install SWIG 1.3.38 (newer versions won’t work) and ensure the SWIG and
Ruby executables are in your PATH.
Now unpack wxRuby and
$ cd wxruby-2.0.1
$ strip -x lib/wxruby2.so
$ rake gem
and you should be done. Works for both 1.8 and for 1.9. But not on
Ubuntu Maverick, because a bug was introduced that makes it impossible
to compile wxRuby (see another thread of mine a few days ago).
Note however that I do not use the Ruby provided by Ubuntu. I think they
compile it without the --enable-shared flag wich is required by wxRuby
and apart from that the Ruby provided by the Ubuntu packagers is a bit
out of date. Therefore I compiled Ruby myself into
/opt/rubies/ruby-1.9.2-p0. If you want to that as well, I recommend you
$ sudo apt-get install libssl-dev zlib1g-dev libreadline5-dev
before, otherwise your’re missing some important C extensions (mainly
ZLib: Rubygems depends on it).
PS: Sorry if this appears twice. Somehow my mail seems to have vanished.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----