Foire Aux Questions
Installation de la chaîne de traitement linguistique ATOLL
Before reading this FAQ you should check README and INSTALL files, where you can find general information and information about installation. If you encounter problems during installation, you should check the log file install.log which is in the same directory as installatoll.pl. There should be an error message that will help you find a solution. Most of the time it will be a problem of dependency, so you need to make sure that you have all the tools necessary to run installatoll: please check INTALL file.
Où la chaîne de traitement est-elle installée ?
La chaîne de traitement est installée sous <prefix> (default=${HOME}/exportbuild).
Où se trouve le fichier log ?
Le fichier install.log se trouve dans le même répertoire que installatoll.pl
J'ai un problème avec CPAN. La connexion FTP semble impossible.
Les connexions FTP doivent être bloquées par votre parefeu. Instanciez la variable d'environnement FTP_PASSIVE à 1:
export FTP_PASSIVE=1
L'exécution s'arrête à autoreconf.
Vous n'avez probablement pas la version minimale requise d'autoconf pour exécuter installatoll.pl. La version minimale est la 2.59.
[biomg] make: xsltproc : commande introuvable
Install rpm libxslt-proc.
[Lefff] perlcc : commande introuvable
Install rpm perl-devel.
Comment installer un package manuellement ?
En premier lieu, ils vous faut tester la commande suivante:
./installatoll --package=nomdupackage
Elle permet d'installer un package donné.
Si l'installation ne démarre pas:
  1. Récupérer les sources. Pour cela deux possibilités selon si vous téléchargez le tar.gz ou si vous récupérez les sources depuis notre dépôt Subversion.

    • Télécharger le tar.gz:
      La solution est de récupérer l'archive sur le site du projet GForge auquel appartient le package. Pour connaître le projet GForge des packages ATOLL, tapez:
      ./installatoll --project
      
      Vous obtiendrez la liste des packages ATOLL et leurs projets respectifs. Il vous suffit ensuite d'aller sur le site GForge du projet et de télécharger l'archive du package. Vous trouverez les liens vers les différents projets sur cette page. Ensuite décompressez l'arhive et placez le répertoire sous le répertoire source (par défaut [home]/exportbuild/src/).
      Exemple: vous souhaitez télécharger frmg.
      frmg appartient au projet Metagrammar Toolkit, dont voici la page GForge: http://mgkit.gforge.inria.fr/.
      Depuis le menu, téléchargez la dernière version de frmg frmg-1.0.2.tar.gz et placez-la dans le répertoire sources de la chaine de traitement (par défaut: [home]/exportbuild/src/).
      cd /home/toto/exportbuild/src
      tar -xzvf frmg-1.0.2.tar
      mv frmg-1.0.2 frmg
      
    • Faire un checkout des sources (si vous avez un login GForge):
      svn checkout
      svn+ssh://votrelogin@scm.gforge.inria.fr/svn/nomduprojet/nomdupackage/trunk \ 
      [home]/exportbuild/src/nomdupackage
      
      Par exemple:
      svn checkout
      svn+ssh://toto@scm.gforge.inria.fr/svn/mgkit/frmg/trunk \
      /home/toto/exportbuild/src/frmg
      
      Pour créer le Makefile il existe deux possibilités:
      • Le package utilise les autotools (dans ce cas un fichier configure.ac est présent)

        Création du fichier configure:
        autoreconf -i
        
        Création du Makefile:
        ./configure --prefix=/home/toto/exportbuild
        
        Les packages suivants nécessitent une option supplémentaire:
        DyALog
        ./configure --prefix=/home/toto/exportbuild --includedir=/usr/lib
        
        sxpipe
        ./configure --prefix=/home/toto/exportbuild \
        --with-lefffdir=/home/toto/exportbuild/share/lefff
        
        Lefff
        ./configure --prefix=/home/toto/exportbuild \
        --with-alexinatoolsdir=/home/toto/exportbuild/share/alexina-tools
        
        lefff-frmg
        ./configure --prefix=/home/toto/exportbuild \
        --with-lefffdir=/home/toto/exportbuild/share/lefff
        
      • Il s'agit d'un package Perl (présence d'un Makefile.PL)

        Création du Makefile:
        perl Makefile.PL PREFIX=/home/toto/exportbuild \
        INSTALLSITEBIN=/home/toto/exportbuild/bin \
        INSTALLSITESCRIPT=/home/toto/exportbuild/bin \
        INSTALLSITEMAN1DIR=/home/toto/exportbuild/man1 \
        INSTALLSITEMAN3DIR=/home/toto/exportbuild/man3 \
        
  2. Installation:
    make
    make install