Server & Official Client & also a ManaPlus client,
this guide shows how.
(for me it all installs correctly, but only when done in the order presented below)
Last successful build was Sunday, May 06 2012
Prerequisites for going beyond this point: You have backed up your system.
IUD (Insert Usual Disclaimers)
1. Install ManaPlus client
Reference:
https://launchpad.net/~akaras/+archive/manaplus-nightly
For installing ManaPlus nightly add these to Other Software:
deb http://ppa.launchpad.net/akaras/manaplus-nightly/ubuntu karmic main
deb-src http://ppa.launchpad.net/akaras/manaplus-nightly/ubuntu karmic main
Add these by going to System>Administration>Software Sources>Other Software
When done, close Software Sources and open Synaptic Package Manager and search for manaplus and install.
If you do not see it try this in terminal:
Code: Select all
sudo apt-get update
2. Install Server & Official Client
First we install all known dependencies.
*To be able to download following dependencies over the Internet (instead of using Repository DVDs) I needed the following:
deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
Add these by going to System>Administration>Software Sources>Other Software
You may also want to do this in terminal:
Code: Select all
sudo apt-get update
Bison
Flex
cmake
git-core
Note: Using "search" and not "quick search" is recommended. And choose "mark" for additional required changes. When done installing, close Synaptic, because now we have to update git-core and will be using Update Manager in the process, and can not run Update Manager with Synaptic simultaneously in Ubuntu.
Now git-core needs to be updated
When installing most resent version of git-core in Ubuntu 9.10, ignore "Some index files failed to download", and remember to run Update Manager.
Open a terminal.
Code: Select all
sudo add-apt-repository ppa:git-core/ppa
Code: Select all
sudo apt-get update
-then run Update Manager to install "git (New Install), "git-core", and "git-man (New Install)"-
MORE DEPENDENCIES
Open a terminal and copy and paste:
Code: Select all
sudo apt-get install build-essential libcurl4-openssl-dev libguichan-dev libphysfs-dev libpng12-dev libpthread-stubs0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libxml2-dev zlib1g-dev libsdl-gfx1.2-dev
In addition to the ManaPlus client it would be good to have the official client too. I place this step here because it does not seem to install, unless some of the previous dependencies we already installed above, are present.
Install Official Client version 0.6.1 mana source
-this can take some time-
This installs the official client and puts an icon (an orange "M" design with the text "Mana") on the Applications-Games menu (sometimes it can take a minute for it to appear, sometimes you may have to reboot for the icon to be there).
Tip: In the next part here if you see something like "E: Could not open file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_karmic_main_source_Sources - open (2: No such file or directory)", ignore it and keep going.
Open a terminal.
Code: Select all
sudo apt-get build-dep mana git-core
Code: Select all
git clone git://github.com/mana/mana.git mana
Code: Select all
cd mana
Code: Select all
cmake .
Code: Select all
make
Code: Select all
sudo make install
For how to install a local server, see the guide at http://wiki.themanaworld.org/index.php/How_to_Develop
[Note: I installed Make 3.82 first, then installed local server]
There is a step on the wiki that suggests installing Make 3.82.
For instructions on how to do this refer to:
https://help.ubuntu.com/community/CompilingEasyHowTo
For a source of where to get Make 3.82, I used: (make-3.82.tar.gz 28-Jul-2010 01:58 1.6M ) from http://ftp.gnu.org/gnu/make/