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, 18:17

i need help on how to compile

Post by Dark Magician » 11 Jul 2008, 18:40

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, 13:56
Location: Liverpool, England

Re: i need help on how to compile

Post by Shaggy » 11 Jul 2008, 18:48

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
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 » 11 Jul 2008, 19:05

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, 18:17

Re: i need help on how to compile

Post by Dark Magician » 11 Jul 2008, 19:15

Im running fedora also
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 » 11 Jul 2008, 19:23

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, 13:56
Location: Liverpool, England

Re: i need help on how to compile

Post by Shaggy » 11 Jul 2008, 19:48

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
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 » 11 Jul 2008, 19:54

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, 20:48
Location: Espoo, Finland

Re: i need help on how to compile

Post by Rotonen » 13 Jul 2008, 18:27

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, 18:17

Re: i need help on how to compile

Post by Dark Magician » 21 Jul 2008, 19:56

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
Former Dictator
Former Dictator
Posts: 2213
Joined: 19 Nov 2005, 14:19
Location: Poland
Contact:

Re: i need help on how to compile

Post by Platyna » 22 Jul 2008, 09:22

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

Regards.
Zuzanna K. Filutowska
[The rest of this signature was censored by TMWC's "Freedom" and "Free speech".]
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: i need help on how to compile

Post by Bjørn » 24 Jul 2008, 18:54

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