How to build TMW from source and not mess with your OS.
Posted: 22 May 2008, 20:12
http://wiki.themanaworld.org/index.php/Dependencies
First check what versions of libararies listed on page above you have and what versions, then install these you using your distribution's package manager.
First make a directory where you will keep your TMW installation:
Enter this directory:
Get the source of Guichan:
Unpack it:
Enter the directory with the source:
Run configure script as follows:
Compile the source:
And install it:
Enter your TMW build directory:
Get the source of TMW:
Unpack:
Enter the directory with source:
Set required enviroment variables as follows:
Run configure:
Then make:
Now you may come back to your home directory:
To run the game you need to set the LD_LIBRARY_PATH variable:
And then run the game as follows:
If you add the following lines to your ~/.bash_profile file and relogin"
Then you may just start tmw just by typing:
(If your ~/.bash_profile file doesn't exist, just create it.)
Questions? Problems? Post them in a separate thread.
Regards,
First check what versions of libararies listed on page above you have and what versions, then install these you using your distribution's package manager.
First make a directory where you will keep your TMW installation:
Code: Select all
mkdir -p ~/tmw/src
Code: Select all
cd ~/tmw/src
Code: Select all
wget http://guichan.googlecode.com/files/guichan-0.7.1.tar.gz
Code: Select all
tar -vzxf guichan-0.7.1.tar.gz
Code: Select all
cd guichan-0.7.1
Code: Select all
./configure --prefix=$HOME/tmw
Code: Select all
make
Code: Select all
make install
Code: Select all
cd ..
Code: Select all
wget http://downloads.sourceforge.net/themanaworld/tmw-0.0.24.1.tar.gz
Code: Select all
tar -vzxf tmw-0.0.24.1.tar.gz
Code: Select all
cd tmw-0.0.24.1
Code: Select all
export LDFLAGS="$LDFLAGS -L$HOME/tmw/lib"
export CPPFLAGS="$CPPFLAGS -I$HOME/tmw/include"
Code: Select all
./configure --prefix=$HOME/tmw
Code: Select all
make
Code: Select all
cd
Code: Select all
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/tmw/lib
Code: Select all
$HOME/tmw/bin/tmw
Code: Select all
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/tmw/lib
export PATH=$PATH:$HOME/tmw/bin
Code: Select all
tmw
Questions? Problems? Post them in a separate thread.
Regards,