Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
ubuntucompile [2011/03/06 17:57] admin |
ubuntucompile [2013/07/30 08:53] admin [Compile in Ubuntu] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compile in Ubuntu ====== | ====== Compile in Ubuntu ====== | ||
+ | **It is recommended that you install from the [[repository|repository]] or a [[nightly|nightly version]], but if you still want to compile you can with these instructions. ** | ||
- | - Create directory for compiling client and go to it in terminal. | ||
- Install dependencies:<code> | - Install dependencies:<code> | ||
sudo apt-get install aptitude | sudo apt-get install aptitude | ||
- | sudo aptitude install autopoint libguichan-0.8.1-1 libguichan-sdl-0.8.1-1 libphysfs1 libsdl-image1.2 | + | sudo aptitude install autopoint libguichan-0.8.1-1 libguichan-sdl-0.8.1-1 libphysfs1 libsdl-image1.2 \ |
- | sudo aptitude install libsdl-mixer1.2 libsdl-net1.2 libsdl-ttf2.0-0 build-essential g++ g++-4.4 | + | libsdl-mixer1.2 libsdl-net1.2 libsdl-ttf2.0-0 build-essential g++ g++-4.4 \ |
- | sudo aptitude install libstdc++6-4.4-dev patch autoconf libtool libcurl4-gnutls-dev libgl1-mesa-dev libenet-dev | + | libstdc++6-4.4-dev patch autoconf libtool libcurl4-gnutls-dev libgl1-mesa-dev libenet-dev \ |
- | sudo aptitude install libguichan-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev | + | libguichan-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev \ |
- | sudo aptitude install libphysfs-dev libpng12-dev libxml2-dev zlib1g-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev gettext | + | libphysfs-dev libpng12-dev libxml2-dev zlib1g-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev gettext |
</code> | </code> | ||
- | - Make directory:<code> | + | - Make a directory:<code> |
mkdir manaplus</code> | mkdir manaplus</code> | ||
- | - Open directory:<code> | + | - Open the directory:<code> |
cd manaplus</code> | cd manaplus</code> | ||
- Download client sources:<code> | - Download client sources:<code> | ||
- | wget http://download.evolonline.org/manaplus/download/1.1.3.6/manaplus-1.1.3.6.tar.bz2</code> | + | wget http://download.evolonline.org/manaplus/download/manaplus.tar.xz</code> |
- Extract sources:<code> | - Extract sources:<code> | ||
- | tar xvf manaplus-1.1.3.6.tar.bz2</code> | + | tar xvJf manaplus.tar.xz</code> |
- Open subdir:<code> | - Open subdir:<code> | ||
- | cd manaplus</code> | + | cd manaplus*</code> |
- Update make file:<code> | - Update make file:<code> | ||
autoreconf -i</code> | autoreconf -i</code> | ||
Line 30: | Line 30: | ||
sudo make uninstall</code> | sudo make uninstall</code> | ||
- Now you can run game by selecting **Applications \ Games \ ManaPlus**. | - Now you can run game by selecting **Applications \ Games \ ManaPlus**. | ||
+ | |||
+ | ====== See also ====== | ||
+ | [[repository|Repository]], [[nightly|Nightly]] | ||