I propose hereunder a procedure to help the user willing install Weft-QDA under Debian Linux. (see also the wine alternative).
I have writen down the following procedure thanks to the installation manual of Weft-QDA and to the Debian packages content search interface.
Let's begin (the installation process is performed as root)
# apt-get install ruby libzlib-ruby irb # apt-get install libdbd-sqlite-ruby sqlite libgtk1.2-dev xpdf-utils ruby1.8-dev # apt-get install libwxgtk2.4-1 wx2.4-headers # apt-get install libwxbase2.4-1 libwxbase2.4-dev libwxgtk2.4-dev # furnishes wx-config needed to compile wxruby # apt-get install libwxgtk2.4-contrib-dev # furnishes xmlres.h needed to compile wxruby # apt-get install libsqlite0-dev libsqlite3-ruby1.8 # furnishes sqlite needed to install weft-qda with gem
Don't install the wx2.4-i18n package because it causes an error while launching Weft-QDA. (See the error)
ruby: symbol lookup error: /usr/lib/ruby/1.8/i486-linux/wxruby.so: undefined symbol: _Z12wxEntryStartiPPc
# wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz # tar -zxvf rubygems-0.9.0.tgz # cd rubygems-0.9.0 # ruby setup.rb # gem install rubygems-update [] Successfully built RubyGem Name: sources Version: 0.0.1 File: sources-0.0.1.gem # gem install pagetemplate # gem install sqlite-ruby # gem install weft-qdaSee the successfull output
Bulk updating Gem source index for: http://gems.rubyforge.org Install required dependency sqlite-ruby? [Yn] Bulk updating Gem source index for: http://gems.rubyforge.org Select which gem to install for your platform (i486-linux) 1. sqlite-ruby 2.2.3 (mswin32) 2. sqlite-ruby 2.2.3 (ruby) 3. sqlite-ruby 2.2.2 (ruby) 4. sqlite-ruby 2.2.2 (mswin32) 5. sqlite-ruby 2.2.1 (mswin32) 6. sqlite-ruby 2.2.1 (ruby) 7. sqlite-ruby 2.2.0 (mswin32) 8. sqlite-ruby 2.2.0 (ruby) 9. Cancel installation > 2 Building native extensions. This could take a while... ruby extconf.rb install weft-qda checking for main() in -lsqlite... yes checking for sqlite.h... yes checking for sqlite_open() in -lsqlite... yes creating Makefile make gcc -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_SQLITE_H -I/usr/local -c sqlite-api.c gcc -shared -L"/usr/local" -L"/usr/lib" -o sqlite_api.so sqlite-api.o -lruby1.8 -lsqlite -lsqlite -lpthread -ldl -lcrypt -lm -lc make install /usr/bin/install -c -m 0755 sqlite_api.so /usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/lib make clean Successfully installed weft-qda-1.0.1 Successfully installed sqlite-ruby-2.2.3 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- rdoc/rdoc (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:71:in `load_rdoc' from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:41:in `generate_ri' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:283:in `execute' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:282:in `execute' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:220:in `execute' from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:69:in `invoke' from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:117:in `process_args' from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:88:in `run' from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:29:in `run' from /usr/bin/gem:23
# wget http://rubyforge.org/frs/download.php/1983/wxruby-0.6-src.tar.gz # tar zxvf wxruby-0.6-src.tar.gz # cd wxruby-0.6-src/src # ruby extconf.rb # makeSee the successfull output
g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c wx.cppwx.cpp:23: warning: 'f' defined but not used g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c app.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c bitmap.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c button.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c calendar.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c checkbox.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c choice.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c colour.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c colourdata.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c colourdialog.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c combobox.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c const.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c date.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dialog.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dirdialog.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c event.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c evthandler.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c filedialog.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c font.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c fontdata.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c fontdialog.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c frame.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c gauge.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c layout.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c listbox.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c menu.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c menubar.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c messagedialog.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c point.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c radio.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c rect.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c size.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c sizer.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c slider.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c spin.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c statictext.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c textctrl.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c timer.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c validator.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c window.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c icon.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c artprovider.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c log.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c listctrl.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c list.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c panel.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c scrolledwindow.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dc.cppg++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c brush.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c pen.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c caret.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c statusbar.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c ownerdrawn.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c config.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c region.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c cursor.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c notebook.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c tooltip.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c mask.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c socket.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c url.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c stream.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c toolbar.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c image.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c palette.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c treectrl.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c classinfo.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c splitterwindow.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c methods.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c staticbitmap.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c control.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c grid.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c menuitem.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c textattr.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dataformat.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c togglebutton.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dropsource.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c droptarget.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c textdroptarget.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c filedroptarget.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dataobjectsimple.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c filedataobject.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c textdataobject.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dataobject.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c scrollbar.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c htmleasyprinting.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c htmlprocessor.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c htmlwindow.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c mdichildframe.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c xmlresource.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c mdiclientwindow.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c mdiparentframe.cpp g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c dynamiccast.cpp c++ -shared `wx-config --libs` -Wl,--version-script,./version-script -L"/usr/lib" -o wxruby.so wx.o app.o bitmap.o button.o calendar.o checkbox.o choice.o colour.o colourdata.o colourdialog.o combobox.o const.o date.o dialog.o dirdialog.o event.o evthandler.o filedialog.o font.o fontdata.o fontdialog.o frame.o gauge.o layout.o listbox.o menu.o menubar.o messagedialog.o point.o radio.o rect.o size.o sizer.o slider.o spin.o statictext.o textctrl.o timer.o validator.o window.o icon.o artprovider.o log.o listctrl.o list.o panel.o scrolledwindow.o dc.o brush.o pen.o caret.o statusbar.o ownerdrawn.o config.o region.o cursor.o notebook.o tooltip.o mask.o socket.o url.o stream.o toolbar.o image.o palette.o treectrl.o classinfo.o splitterwindow.o methods.o staticbitmap.o control.o grid.o menuitem.o textattr.o dataformat.o togglebutton.o dropsource.o droptarget.o textdroptarget.o filedroptarget.o filedataobject.o textdataobject.o dataobject.o dataobjectsimple.o dynamiccast.o mdiparentframe.o mdiclientwindow.o mdichildframe.o scrollbar.o xmlresource.o -lruby1.8 -lpthread -ldl -lcrypt -lm -lc
The installation procedure of wxruby requires a .dll, which is quite strange for a Linux box. I propose a little hack that simply remove this requirement. Edit install.rb and comment the .dll line
See the modified install.rbrequire 'ftools' require 'rbconfig' include Config if /powerpc-darwin/ =~ RUBY_PLATFORM File::install('wxruby.bundle', CONFIG['archdir'], 0755, true) else # File::install('wxmsw240.dll', CONFIG['bindir'], 0755, true) File::install('wxruby.so', CONFIG['archdir'], 0755, true) end
# ruby install.rb
Et voilà !
Launch Weft-QDA with the following command line:
$ ruby /usr/bin/weft-qda.rbSee the successfull output