From The Mana World
As many of you know, compiling software can be difficult for new users to Linux, so I have devised shell scripts to solve this issue.
(K)Ubuntu
REQUIRES: bash, wget, tar.
To use this script simply open a text editor, paste, and save as "tmw-install.sh". (See below the script for directions)
# This is the tmw STABLE install script, for version 0.0.26 of tmw, and # 0.8.1 of guichan. # This script especially made for Ubuntu/Kubuntu 8.04.1 Hardy Heron # This script is licensed under the GPL v.2 # The contributors and creators to/of this script disclaim # all warranties and liability, and are not responsible for damages/losses # of any kind. # bash, wget, and tar are required for this script. sudo apt-get install build-essential libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl1.2-dev libphysfs-dev zlib1g-dev libxml2-dev libcurl4-gnutls-dev mkdir ~/programs mkdir ~/programs/tmw mkdir ~/src cd ~/src wget http://guichan.googlecode.com/files/guichan-0.8.1.tar.gz tar -vzxf guichan-0.8.1.tar.gz cd guichan-0.8.1 ./configure --prefix=$HOME/programs/tmw make make install cd ~/src wget http://downloads.sourceforge.net/themanaworld/tmw-0.0.26.tar.gz tar -vzxf tmw-0.0.26.tar.gz cd tmw-0.0.26 export LDFLAGS="$LDFLAGS -L$HOME/programs/tmw/lib" export CPPFLAGS="$CPPFLAGS -I$HOME/programs/tmw/include" ./configure --prefix=$HOME/programs/tmw make make install cd ~
First we need to get it so that it can be used, type this in the nearest terminal:
chmod u+x tmw-install.sh
Then type this:
./tmw-install.sh
And ta-da! Wait for it to finish running and then run tmw using this command: (see below for directions)
# This is the tmw STABLE run script, for version 0.0.26 of tmw # This script is licensed under the GPL v.2 # The contributors and creators to/of this script disclaim # all warranties and liability, and are not responsible for damages/losses # of any kind. # bash is required for this script. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/programs/tmw/lib && $HOME/programs/tmw/bin/tmw
Now copy, paste into a text editor, and save as tmw.sh.
Then run this:
chmod u+x tmw.sh
and now you can start tmw simply by typing:
./tmw.sh