Install from SVN repositories

Installing from the SVN is very similar to installing from source, but you'll have the chance to easily update your FreeLing to the latest development version.

1.
Install development tools
You'll need to install the C++ compiler, the GNU autotools, and a SVN client.
  sudo apt-get install build-essential automake libtool subversion

If you use a distribution different than Debian or Ubuntu, these packages may have different names. Use your package manager to locate and install the appropriate ones.

2.
Install packaged requirements
Follow the same procedure described in section 2.2.2 for these two steps.

3.
Checkout FreeLing sources
    mkdir mysrc
    cd mysrc
    svn checkout http://devel.cpl.upc.edu/freeling/svn/latest/freeling
    svn checkout http://devel.cpl.upc.edu/freeling/svn/latest/omlet
    svn checkout http://devel.cpl.upc.edu/freeling/svn/latest/fries

4.
Prepare local repositories for compilation
    cd fries
    aclocal; libtoolize; autoconf; automake -a
    cd ../omlet
    aclocal; libtoolize; autoconf; automake -a
    cd ../freeling
    aclocal; libtoolize; autoconf; automake -a
    cd ..

5.
Build and install FreeLing
    cd fries
    ./configure && make
    sudo make install

    cd ../omlet
    ./configure && make
    sudo make install

    cd ../freeling
    ./configure && make
    sudo make install

If you keep the svn directories, you will be able to update to the latest version at any moment:

    cd freeling
    svn update
    ./configure && make
    sudo make install
Obviously, you can also update fries or omlet versions in the same way.



Lluís Padró 2010-09-02