Installing WeftQDA under Linux Debian Etch (June 2008)

Christophe Lejeune
Cette page en français
Many thanks to Alex Fenton, Ivano Scotti and Dik Harris for their help

This is the update version of my original (September 2006) Etch installation notes.

If you want to test (and contribute) a development version, you can read my installation notes for Weft version 1.9.0.

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)

# aptitude install ruby libzlib-ruby irb rubygems
# aptitude install libdbd-sqlite-ruby sqlite libgtk1.2-dev xpdf-utils ruby1.8-dev
# aptitude install libwxgtk2.4-1 wx2.4-headers
# aptitude install libwxbase2.4-1 libwxbase2.4-dev libwxgtk2.4-dev # furnishes wx-config needed to compile wxruby
# aptitude install libwxgtk2.4-contrib-dev # furnishes  xmlres.h  needed to compile wxruby
# aptitude 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)

# gem install pagetemplate
# gem install sqlite-ruby
# gem install weft-qda
See the successfull output
# gem install wxruby
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
Introduction
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