i need help on how to compile

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
Dark Magician
Peon
Peon
Posts: 8
Joined: 11 Jul 2008, 17:17

i need help on how to compile

Post by Dark Magician »

can anyone that is very good at compiling tell me how to compile TMW on linux please. Thanks to anyone who replies or PMs me!
User avatar
Shaggy
Novice
Novice
Posts: 132
Joined: 22 Apr 2008, 12:56
Location: Liverpool, England

Re: i need help on how to compile

Post by Shaggy »

First of all, you need to ensure you have all the dependencies (the dev/devel packages as well as the standard). They are:

SDL
SDL_image
SDL_mixer
Guichan
libxml2
PhysFS
libcurl
zlib

(There may be others for 0.1)

When you are sure you've got all of them installed, go into the top directory of the client download, and type:

./autogen.sh && ./configure && make

When that is done, assuming no errors, you need to type

su -c "make install"

and then type the root password.

You should now have a fully installed client.
Enjoyed The Mana World? Then check out Aethyra (http://www.aethyra.com).
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 »

Make sure you have the right version of those dependencies as well: http://wiki.themanaworld.org/index.php/Dependencies.
Image
Dark Magician
Peon
Peon
Posts: 8
Joined: 11 Jul 2008, 17:17

Re: i need help on how to compile

Post by Dark Magician »

Im running fedora also
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 »

The page I linked to provides specific instructions for compiling under Fedora Core 6, though they may be a little out of date.
Image
User avatar
Shaggy
Novice
Novice
Posts: 132
Joined: 22 Apr 2008, 12:56
Location: Liverpool, England

Re: i need help on how to compile

Post by Shaggy »

One other thing, if you have Guichan 0.7 installed, you'll have to uninstall it first, as TMW needs v. 0.8.1
Enjoyed The Mana World? Then check out Aethyra (http://www.aethyra.com).
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 »

Shaggy wrote:One other thing, if you have Guichan 0.7 installed, you'll have to uninstall it first, as TMW needs v. 0.8.1
That depends on which version you're compiling. If you're compiling the 0.0.x branch (the current release version), you need 0.7(.1). If you're compiling the svn version (0.1), you need 0.8(.1).
Image
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 19:48
Location: Bern, Switzerland

Re: i need help on how to compile

Post by Rotonen »

http://en.wikipedia.org/wiki/Environment_variable

With multiple versions of libraries side by side, those become handy.
This message used to be meaningful.
Dark Magician
Peon
Peon
Posts: 8
Joined: 11 Jul 2008, 17:17

Re: i need help on how to compile

Post by Dark Magician »

i use lots of different types of linux and now im usin ubuntu so anyone know how to compile TMW step by step?
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Re: i need help on how to compile

Post by Platyna »

I've posted the a HOWTO in THIS forum as a sticky thread. Incredible the people can't see it.

Regards.
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: i need help on how to compile

Post by Bjørn »

jaxad0127 wrote:
Shaggy wrote:One other thing, if you have Guichan 0.7 installed, you'll have to uninstall it first, as TMW needs v. 0.8.1
That depends on which version you're compiling. If you're compiling the 0.0.x branch (the current release version), you need 0.7(.1). If you're compiling the svn version (0.1), you need 0.8(.1).
That's a bit inaccurate. From Subversion, both the 0.0 branch and trunk need Guichan 0.8.1. Only when you download our source release (0.0.24.1), you need Guichan 0.7.1.
Post Reply