Installing WeftQDA under Linux Debian Etch (September 2006)

Christophe Lejeune
Cette page en français
Many thanks to Alex Fenton for his help

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.

Following the recommandation of the installation manual, I will use the 2.4 version of WxWidgets and the 0.6.0 version of wxruby. Note that this installation requires dev packages. A number of them are only required to compile a Ruby module. So these packages could be removed once the installation process is finished (but you could also keep them if you have enough disk space).

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)

# wget
# 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-qda
See the successfull output
# wget
# tar zxvf wxruby-0.6-src.tar.gz
# cd wxruby-0.6-src/src
# ruby extconf.rb
# make
See the successfull output

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.rb
# ruby install.rb

Et voilà !
Launch Weft-QDA with the following command line:

$ ruby /usr/bin/weft-qda.rb
See the successfull output
Alceste AntConc Anvil Atlas Atlas Tétralogie ATLAS.ti Calliope Candide Caramel Cassandre Catma Civilité Coocs Dedoose Discourse Network Analyzer Dtm-Vic Elan EthOS FreeQDA General Inquirer Glossanet Graphviz Hamlet Hyperbase HyperRESEARCH Intex & Nooj IRaMuTeQ Kwalitan Le graphe socio-technique Lexico Leximappe LibreQDA MaxQDA Modalisa Morphix-NLP Mosaïqs Netvis Nodepad NVivo Porphyry Prospéro Provalis Quirkos R R.TeMiS Réseau-lu RQDA Sampler & LexiQuest Sato Saturate Semato Sonal Sphinx Lexica Squanto T-Lab TamsAnalyser Textable Textquest The Ethnograph Transana Transcriber Trivium Tropes TXM Unitex Voyant Tools Weft QDA