Table of Contents

LTris

Ltris is a popular unix tetris clone, as a part of the LGames.

System Configuration

Prerequisites

Build and Installation Steps

  1. Using Fink, make sure the following packages are installed: (maybe some aren't needed, but this is what I used)
    1. intltool
    2. sdl
    3. sdl-mixer
    4. libidn
  2. setup your terminal to use the gcc3 compiler, because gcc4 won't build with sdl stuff:
    export CC=gcc-3.3
  3. change your library flags to link against intl:
    export LDFLAGS=-L/sw/lib\ -lintl
  4. configure, build, and install ltris:
    ./configure --prefix=/sw --mandir=/sw/share/man --infodir=/sw/share/info --with-libiconv-prefix=/sw --with-libintl-prefix=/sw --with-sdl-prefix=/sw
    
    make
    
    sudo make install

* you can also set this up to run ltris from the build directory by using the –disable-install configure flag