3 Feb 11:31
Ubuntu 11.10 wxRuby source compilation
Tommy Europe <lists <at> ruby-forum.com>
2012-02-03 10:31:28 GMT
2012-02-03 10:31:28 GMT
Hello, I am quite a beginner in the Linux world, so excuse me my ignorance. I tried to compile the wxRuby source files, just as described on the official instruction for Ubuntu users: http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingForUbuntu I have extracted dirs for wxruby-2.0.1 and swig-1.3.38 in the /opt directory. I am using ruby 1.9.2p0 installed via rvm. Everything was going ok, untill rake step for wxRuby. I get the following error: jabaar <at> satl300:/opt/wxruby-2.0.1/swig$ sudo rake [sudo] password for jabaar: (in /opt/wxruby-2.0.1) NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::Specification#has_rdoc= called from ./rake/rakepackage.rb:44 . Enabling DYNAMIC build Enabling RELEASE build Enabling UNICODE build The following wxWidgets features are not available and will be skipped: PrinterDC /usr/lib/ruby/1.8/rake.rb:2383: command not found: swig -version rake aborted! Could not get version info from SWIG; is a very old version installed?. I installed swig (according to the instruction mentioned above) and I get the following output in terminal for swig -version: jabaar <at> satl300:/opt/wxruby-2.0.1/swig$ swig -version(Continue reading)
.
Compiling wxRuby is somewhat special anyway. If you want to learn how
to compile software, go for something easier such as Ruby itself.
Vale,
Marvin
RSS Feed