TMW SVN installation guide (Works on Ubuntu 8.04)

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
GonzoDark
Novice
Novice
Posts: 325
Joined: 21 Apr 2007, 10:27
Location: Denmark

TMW SVN installation guide (Works on Ubuntu 8.04)

Post by GonzoDark » 03 Jun 2008, 20:47

Started here http://forums.themanaworld.org/viewtopic.php?f=2&t=4303 by Fate, and finished by me.

------------------------------------------------------------------------------------------------------------
#This is a four-step guide to install TMW SVN version

#This installs a majority of the necessary dependencies for the TMW SVN
sudo apt-get -y install libsdl1.2-dev libphysfs-dev libxml2-dev libcurl4-openssl-dev zlib1g-dev autotools-dev g++-4.2 g++-4.1 g++-4.2-multilib automake autoconf subversion build-essential libpng12-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev

#This installs the new version of libguichan (0.8.1)
wget -c http://guichan.googlecode.com/files/gui ... 8.1.tar.gz
tar xf guichan-0.8.1.tar.gz
cd guichan-0.8.1
CXXFLAGS="-O3" ./configure --prefix=${HOME} && make && make install

#This downloads TMW SVN 0.0.24.1 to your computer and installs the game
svn co https://themanaworld.svn.sourceforge.ne ... nches/0.0/
cd 0.0
sh autogen.sh
CPPFLAGS="-I ${HOME}/include" LDFLAGS="-L ${HOME}/lib" CXXFLAGS="-O3" ./configure && make && sudo make install

#This will make a symbol link to guichan 0.8.1
sudo ln -s ${HOME}/lib/libguichan_sdl-0.8.1.so.1 /usr/lib/libguichan_sdl-0.8.1.so.1
sudo ln -s ${HOME}/lib/libguichan-0.8.1.so.1 /usr/lib/libguichan-0.8.1.so.1

#This will install TMW music 0.2
wget -c http://prdownloads.sourceforge.net/them ... z?download
tar -zxvf tmwmusic-0.2.tar.gz
cd tmwmusic-0.2/data
sudo cp -r * /usr/local/share/tmw/data
sudo chmod 777 -R /usr/local/share/tmw
----------------------------------------------------------------------------------------------------------

I also made 2 scripts to make it easy, run them in the Terminal Window (use the command "sh music.sh") after you have unpacked them.

Enjoy!

// GonzoDark

EDIT:

also works with 0.0.25
Attachments
music.sh.tar.gz
(350 Bytes) Downloaded 120 times
la.sh.tar.gz
(669 Bytes) Downloaded 117 times
Last edited by GonzoDark on 30 Jul 2008, 16:19, edited 10 times in total.
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
User avatar
fate
Novice
Novice
Posts: 402
Joined: 20 Mar 2008, 15:34

Re: TMW SVN installtion guide (Works on Ubuntu 8.04)

Post by fate » 03 Jun 2008, 21:18

Hi,

no need to use `sudo' if you install libguichan into your ${HOME}. Also, it would be nice to also describe how to install it without doing a global install (as I attempted to do). Finally, I agree that this should go into the wiki.

-- fate
User avatar
GonzoDark
Novice
Novice
Posts: 325
Joined: 21 Apr 2007, 10:27
Location: Denmark

Re: TMW SVN installtion guide (Works on Ubuntu 8.04)

Post by GonzoDark » 03 Jun 2008, 21:29

fate wrote:Hi,

no need to use `sudo' if you install libguichan into your ${HOME}. Also, it would be nice to also describe how to install it without doing a global install (as I attempted to do). Finally, I agree that this should go into the wiki.

-- fate
Thanks for pointing that out, I will look into that tomorrow.

If you wish to describe how to install it without doing a global installation, then please feel free to do so. :) ( I got my exams tomorrow, so I don't have the time right now ;) )

// GonzoDark

EDIT: I made some changes, and made 2 scripts to make it easy
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
User avatar
GonzoDark
Novice
Novice
Posts: 325
Joined: 21 Apr 2007, 10:27
Location: Denmark

Re: TMW SVN installtion guide (Works on Ubuntu 8.04)

Post by GonzoDark » 08 Jun 2008, 17:06

fate wrote:
Finally, I agree that this should go into the wiki.

-- fate
who will do that :?:

// GonzoDark
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
User avatar
doorsman
Novice
Novice
Posts: 292
Joined: 11 Mar 2008, 15:13

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Post by doorsman » 24 Oct 2008, 07:04

I might be off topic but why not just post dependencies / libs / ans so on ?

ppl compiling svn should know what they are doing or else go for the reg release :P
so a ubuntu or what so ever linux flavor .. but still :) i like it Gonzo keep it up :P
Still on freenode network #manacentral. On the Web at www.manacentral.net

Patience, Integrity and Truth. A harsh Reality...

doors
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Post by Jaxad0127 » 24 Oct 2008, 14:45

doorsman wrote:I might be off topic but why not just post dependencies / libs / ans so on ?

ppl compiling svn should know what they are doing or else go for the reg release :P
so a ubuntu or what so ever linux flavor .. but still :) i like it Gonzo keep it up :P
http://wiki.themanaworld.org/index.php/Dependencies.
Image
User avatar
fate
Novice
Novice
Posts: 402
Joined: 20 Mar 2008, 15:34

Re: TMW GIT installation guide

Post by fate » 14 Nov 2008, 22:10

Hi,

the tmw client is now stored as a git repository. Here are the updated installation steps for those of you who want to run the bleeding edge development client (which may or may not be broken). The steps are based on IchigoBlack's earlier steps; I thus have not re-validated them (so please let me know if I missed something!)

These steps are not fully automated for a number of reasons. Read them carefully and *think* before executing them-- you may not need all of them.

Code: Select all

# This installs a majority of the necessary dependencies for the TMW git installation.  If the g++ parts give you errors, try earlier versions of g++ (4.2, 4.1). 
sudo apt-get -y install libsdl1.2-dev libphysfs-dev libxml2-dev libcurl4-openssl-dev zlib1g-dev autotools-dev g++-4.3 g++-4.3-multilib automake autoconf subversion build-essential libpng12-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev

# This installs the new version of libguichan (0.8.1).  Only execute these steps if your distribution does not provide libguichan-dev at version 8.1 or higher.
# If your distribution provides libguichan-dev at version 8.1, install that version instead.
wget -c http://guichan.googlecode.com/files/guichan-0.8.1.tar.gz
tar xf guichan-0.8.1.tar.gz
cd guichan-0.8.1
CXXFLAGS="-O3" ./configure --prefix=${HOME} && make && make install

# Next, manually download the latest TMW git snapshot to your computer and installs the game:
# Fire up a web browser and to to http://gitorious.org/projects/tmw/repos/mainline/trees/0.0
# Click on the link in the bottom left corner (`Download as gzipped tarball').
# Let's say that the downloaded file is called ${FILE}.  Then the next step is
tar xvfz ${FILE}
cd tmw-mainline
sh autogen.sh
CPPFLAGS="-I ${HOME}/include" LDFLAGS="-L ${HOME}/lib" CXXFLAGS="-O3" ./configure && make

# The next steps are OPTIONAL; they will install TMW music 0.2
wget -c 'http://prdownloads.sourceforge.net/themanaworld/tmwmusic-0.2.tar.gz?download'
tar -zxvf tmwmusic-0.2.tar.gz   
cd tmwmusic-0.2/data
sudo cp -r * /usr/local/share/tmw/data 
sudo chmod 777 -R /usr/local/share/tmw
This will build tmw, but not install it globally. To run it, go into the directory you executed these steps from and run

Code: Select all

LD_LIBRARY_PATH=${HOME}/lib tmw-mainline/src/tmw
-- fate
User avatar
fate
Novice
Novice
Posts: 402
Joined: 20 Mar 2008, 15:34

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Post by fate » 14 Nov 2008, 23:46

Hi,

follow-up to the above instructions: doorsman pointed out that you need to be registered to download the package. We may have snapshots available soon, though; I'll post another message if/once we do. :-)

-- fate
User avatar
Black Don
Warrior
Warrior
Posts: 660
Joined: 06 Feb 2008, 22:30

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Post by Black Don » 15 Nov 2008, 02:09

if SVN is going were do I get the trunk graphics from now?
"Too much of a good thing is an awesome thing, but too much of an awesome thing is, um, really really dumb. And bad." Strong Bad
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Post by Jaxad0127 » 15 Nov 2008, 02:26

Black Don wrote:if SVN is going were do I get the trunk graphics from now?
http://wiki.themanaworld.org/index.php/Git_Repository
The tmwdata project.
Image
User avatar
bigglesworth
Novice
Novice
Posts: 211
Joined: 11 Nov 2007, 04:23
Location: Land of Ooo

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Post by bigglesworth » 23 Nov 2008, 05:54

I browsed to "http://gitorious.org/projects/tmw/repos/mainline/trees/0.0" and downloaded the tarball.

At the moment, there is no "autogen.sh".
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Post by Jaxad0127 » 23 Nov 2008, 06:06

bigglesworth wrote:I browsed to "http://gitorious.org/projects/tmw/repos ... /trees/0.0" and downloaded the tarball.

At the moment, there is no "autogen.sh".
Please read the INSTALL file. You need to run "autoreconf -i".
Image
Post Reply