Ubuntu 14.04 x86_64

These instructions are intended for building a 32-bit ET:L on a 64-bit system
  1. install the prerequsites
    sudo dpkg --add-architecture i386
    sudo sed -i 's/deb /deb [arch=amd64,i386] /g' /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get install build-essential cmake libjpeg-dev libcurl4-openssl-dev libogg-dev  libglew-dev libglew1.10 libglu1-mesa:i386 libjpeg-turbo8:i386 liblua5.1-0-dev libts-dev libts-0.0-0:i386 
    sudo apt-get install gcc-multilib g++-multilib multiarch-support  libsdl1.2-dev libsdl1.2debian:i386
    
    sudo ln -s /usr/lib/i386-linux-gnu/libts-0.0.so.0 /lib/i386-linux-gnu/libts.so
    sudo ln -s /usr/include/x86_64-linux-gnu/lua5.1-deb-multiarch.h /usr/include/
    sudo ln -s /usr/include/x86_64-linux-gnu/lua5.1-deb-multiarch.h /usr/include/i386-linux-gnu/
    sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
    sudo ln -s /usr/lib/i386-linux-gnu/libSM.so.6 /usr/lib/i386-linux-gnu/libSM.so
    sudo ln -s /usr/lib/i386-linux-gnu/libICE.so.6 /usr/lib/i386-linux-gnu/libICE.so
    sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
    sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /lib/i386-linux-gnu/libGL.so
    sudo ln -s /usr/lib/i386-linux-gnu/libGLU.so.1 /lib/i386-linux-gnu/libGLU.so
    sudo ln -s /usr/lib32/i386-linux-gnu/liblua5.1.so /lib/i386-linux-gnu/
    sudo ln -s /usr/lib/i386-linux-gnu/libvorbis.so.0  /usr/lib/i386-linux-gnu/libvorbis.so
    sudo ln -s /usr/lib/i386-linux-gnu/libogg.so.0  /usr/lib/i386-linux-gnu/libogg.so
    sudo ln -s /usr/lib/i386-linux-gnu/libSDL-1.2.so.0 /usr/lib/i386-linux-gnu/libSDL.so
    
  2. Download the source programs
    cd ~
    git clone --recursive https://github.com/etlegacy/etlegacy.git
    
  3. Install the bundled libraries from the git repo
    cd etlegacy
    git submodule init && git submodule update
    
  4. Build the source
    LDFLAGS="-ldl -lm $LDFLAGS" BUNDLED_SDL=0 ./easybuild.sh 
    
  5. You need to have W:ET 2.60b installed on your system or at least have some critical data files, ET:L will look for game datafiles in ~/.etwolf/etmain (pak0.pk3, pak1.pk3, pak2.pk3, mp_bin.pk3 are needed)
    PAKPATH=~/etlegacy/mod/etmain
    mkdir -p $PAKPATH
    cd $PAKPATH
    wget http://www.gamestv.org/download/repository/et/etmain/pak{0..2}.pk3
    wget http://www.gamestv.org/download/repository/et/etmain/mp_bin.pk3
    

    then run
    ~/etlegacy/build/etl