Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntucompile [2011/02/19 16:45]
admin created
ubuntucompile [2017/01/29 17:11]
admin
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 build-dep manaplus
-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 +
-sudo aptitude install 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 +
-sudo aptitude install libphysfs-dev libpng12-dev libxml2-dev zlib1g-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev gettext+
 </​code>​ </​code>​
-  - Make directory:<​code>​+  - Make 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.2.6/manaplus-1.1.2.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.2.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>​
-  - Compile.<​code>​+  - Compile:<​code>​
 ./configure ./configure
 make</​code>​ make</​code>​
-  -  Install.<​code>​ +  -  Install:<​code>​ 
-make install</​code>​+sudo make install</​code>​
   -  Uninstall. \\ If you want, you can unstall game by running this command:<​code>​   -  Uninstall. \\ If you want, you can unstall game by running this command:<​code>​
 sudo make uninstall</​code>​ sudo make uninstall</​code>​
-  -  Now you can run game by selecting **Applications \ Games \ Mana**.+  -  Now you can run game by selecting **Applications \ Games \ ManaPlus**. 
 + 
 +====== See also ====== 
 +[[repository|Repository]],​ [[nightly|Nightly]]
  
Print/export
Languages