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: Fri Jul 11, 2008 6:17 pm

i need help on how to compile

Post by Dark Magician » Fri Jul 11, 2008 6:40 pm

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: Tue Apr 22, 2008 1:56 pm
Location: Liverpool, England

Re: i need help on how to compile

Post by Shaggy » Fri Jul 11, 2008 6:48 pm

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: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 » Fri Jul 11, 2008 7:05 pm

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: Fri Jul 11, 2008 6:17 pm

Re: i need help on how to compile

Post by Dark Magician » Fri Jul 11, 2008 7:15 pm

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

Re: i need help on how to compile

Post by Jaxad0127 » Fri Jul 11, 2008 7:23 pm

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: Tue Apr 22, 2008 1:56 pm
Location: Liverpool, England

Re: i need help on how to compile

Post by Shaggy » Fri Jul 11, 2008 7:48 pm

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: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: i need help on how to compile

Post by Jaxad0127 » Fri Jul 11, 2008 7:54 pm

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: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Re: i need help on how to compile

Post by Rotonen » Sun Jul 13, 2008 6:27 pm

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: Fri Jul 11, 2008 6:17 pm

Re: i need help on how to compile

Post by Dark Magician » Mon Jul 21, 2008 7:56 pm

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
Knight
Knight
Posts: 2213
Joined: Sat Nov 19, 2005 2:19 pm
Location: Poland
Contact:

Re: i need help on how to compile

Post by Platyna » Tue Jul 22, 2008 9:22 am

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: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Re: i need help on how to compile

Post by Bjørn » Thu Jul 24, 2008 6:54 pm

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