Page 1 of 1

i need help on how to compile

Posted: 11 Jul 2008, 17:40
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!

Re: i need help on how to compile

Posted: 11 Jul 2008, 17:48
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.

Re: i need help on how to compile

Posted: 11 Jul 2008, 18:05
by Jaxad0127
Make sure you have the right version of those dependencies as well: http://wiki.themanaworld.org/index.php/Dependencies.

Re: i need help on how to compile

Posted: 11 Jul 2008, 18:15
by Dark Magician
Im running fedora also

Re: i need help on how to compile

Posted: 11 Jul 2008, 18:23
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.

Re: i need help on how to compile

Posted: 11 Jul 2008, 18:48
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

Re: i need help on how to compile

Posted: 11 Jul 2008, 18:54
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).

Re: i need help on how to compile

Posted: 13 Jul 2008, 17:27
by Rotonen
http://en.wikipedia.org/wiki/Environment_variable

With multiple versions of libraries side by side, those become handy.

Re: i need help on how to compile

Posted: 21 Jul 2008, 18:56
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?

Re: i need help on how to compile

Posted: 22 Jul 2008, 08:22
by Platyna
I've posted the a HOWTO in THIS forum as a sticky thread. Incredible the people can't see it.

Regards.

Re: i need help on how to compile

Posted: 24 Jul 2008, 17:54
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.