Need help Installing tmwserv on Fedora 10

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
niacc.edu
Peon
Peon
Posts: 10
Joined: 27 Mar 2009, 18:54

Need help Installing tmwserv on Fedora 10

Post by niacc.edu » 30 Mar 2009, 19:33

Thanks for the help in advanced.

WHAT I'M I MISSING??

First: Where I'll start where I'm stuck and then all the steps to get there.

After doing the make install
it placed tmwserv-account tmwserv-game into /usr/local/bin
[root@localhost bin]# ls
ccmake cmake cpack ctest curl curl-config sdl-config test_physfs tmw.db tmwserv-account tmwserv-game tmwserv.xml xml2-config xmlcatalog xmllint

When I try to start the tmwserv-account followed by the tmwserv-game I get the following error:
[root@localhost bin]# ./tmwserv-account
./tmwserv-account: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory
[root@localhost bin]# ./tmwserv-game
./tmwserv-game: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory

libphysfs.so.1 is located in /usr/bin/lib

so I copied tmwserv-account and tmwserv-gamethe into lib:
[root@localhost lib]# ls
libcurl.a libguichan_opengl.la libSDL-1.2.so.0 libSDL_mixer.la libxml2.a
libcurl.la libguichan_opengl.so libSDL-1.2.so.0.11.2 libSDL_mixer.so libxml2.la
libcurl.so libguichan_sdl-0.8.1.so.1 libSDL.a libSDL_net-1.2.so.0 libxml2.so
libcurl.so.4 libguichan_sdl-0.8.1.so.1.0.0 libSDL_image-1.2.so.0 libSDL_net-1.2.so.0.0.7 libxml2.so.2
libcurl.so.4.1.1 libguichan_sdl.a libSDL_image-1.2.so.0.1.6 libSDL_net.a libxml2.so.2.7.3
libenet.a libguichan_sdl.la libSDL_image.a libSDL_net.la libz.a
libguichan-0.8.1.so.1 libguichan_sdl.so libSDL_image.la libSDL_net.so pkgconfig
libguichan-0.8.1.so.1.0.0 libguichan.so libSDL_image.so libSDL.so python2.5
libguichan.a libphysfs.a libSDL.la libSDL_ttf-2.0.so.0 tmwserv-account
libguichan.la libphysfs.so libSDLmain.a libSDL_ttf-2.0.so.0.6.3 tmwserv-game
libguichan_opengl-0.8.1.so.1 libphysfs.so.1 libSDL_mixer-1.2.so.0 libSDL_ttf.a xml2Conf.sh
libguichan_opengl-0.8.1.so.1.0.0 libphysfs.so.1.1.1 libSDL_mixer-1.2.so.0.2.6 libSDL_ttf.la
libguichan_opengl.a libphysfs.so.2.0.0 libSDL_mixer.a libSDL_ttf.so
[root@localhost lib]# ./tmwserv-account
./tmwserv-account: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory
[root@localhost lib]# ./tmwserv-game
./tmwserv-game: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory
[root@localhost lib]#

Same Result:

Here are the step from the beginning I used in compiling tmwserv:

Running tmwserv

1. Install and/or prepare your database backend
2. Prepare configuration file tmwserv.xml
3. Get tmwdata from Git and put it into the data directory where you will be running the game server from.
4. Start the account server before starting the game server.

First start a new fedora 10 box from scratch:

Database setup:
1) Add the package SQLite
2) sqlite3 tmw.db
3) Next (You need to GIT git://gitorious.org/tmwserv/mainline.git) so you can complete step 4
4) .read ~/tmwserv/src/sql/sqlite/createTables.sql
5) .tables
6) Next you need to cd ~/tmwserv/doc to get a copy of tmwserv.xml

You then need to remove the comments to end SQLite
<!--
SQLite specific configuration.

sqlite_database: name and path to the sqlite database file
optional, default="tmw.db"
-->
<option name="sqlite_database" value="tmw.db"/>

7) Prepare configuration file tmwserv.xml
I believe the above SQLite change is the only needed change and the rest of the defaults should work.

8) Get tmwdata from Git and put it into the data directory where you will be running the game server from.

mkdir tmw
git clone git://gitorious.org/tmwserv/mainline.git tmwserv
git clone git://gitorious.org/tmwserv-data/mainline.git tmwdata

9) Start the account server before starting the game server
cd tmwserv
autoreconf -i
./configure
make
** Needed to login as root to do the next
make install

10) Configured tmwserv.xml and tmw.db

Copy into tmwserv.xml and tmw.db /usr/local/bin

This then returns me to the top.

WHAT I'M I MISSING??
niacc.edu
Peon
Peon
Posts: 10
Joined: 27 Mar 2009, 18:54

Re: Need help Installing tmwserv on Fedora 10

Post by niacc.edu » 31 Mar 2009, 17:28

The problem is physfs-2.0.0 install to /usr/local/lib by default and you need to have it installed into /usr/lib

You can then run "ccmake ." and customize the build,
but the defaults are probably okay.

One step closer
vadenasy
Peon
Peon
Posts: 1
Joined: 09 Dec 2009, 08:29

Re: Need help Installing tmwserv on Fedora 10

Post by vadenasy » 09 Dec 2009, 12:00

How do I get Grub to allow me to boot into XP, the restore console, or Fedora? I just installed Fedora Core 6, Test 1 on my machine. I kept my XP system on the same machine. The Grub boot loader allows me to boot to Fedora or "other." The problem is, "other" is the XP recovery console. Is it possible to configure Grub to allow me to choose Fedora, XP, or recovery console.? If so can I do it without reinstalling Linux?
_______________________
external keyword tool ~ keyworddiscovery.com ~ keycompete.com ~ compete.com ~ webmasterworld.com
Last edited by vadenasy on 15 Dec 2009, 08:45, edited 1 time in total.
TheBasilisk
Novice
Novice
Posts: 188
Joined: 16 Dec 2008, 22:45

Re: Need help Installing tmwserv on Fedora 10

Post by TheBasilisk » 09 Dec 2009, 12:59

vadenasy wrote:How do I get Grub to allow me to boot into XP, the restore console, or Fedora? I just installed Fedora Core 6, Test 1 on my machine. I kept my XP system on the same machine. The Grub boot loader allows me to boot to Fedora or "other." The problem is, "other" is the XP recovery console. Is it possible to configure Grub to allow me to choose Fedora, XP, or recovery console.? If so can I do it without reinstalling Linux?
that's nothing to do with tmw. -.-
Hissssss...
User avatar
DarkLord
Novice
Novice
Posts: 390
Joined: 02 Dec 2009, 02:05
Location: Australia

Re: Need help Installing tmwserv on Fedora 10

Post by DarkLord » 09 Dec 2009, 13:06

Why do people stay with older Linux Operating Systems when new ones come out? They're free, why not upgrade. I did. I have Fedora 12 xD and Ubuntu 9.10 and Windows 7 Ultimate. I like all :P
Regards,
DarkLord

Occasionally playing TMW.

Running Windows 8.1 Pro, OS X Mavericks and Ubuntu 13.10
User avatar
Kage
Warrior
Warrior
Posts: 927
Joined: 02 May 2009, 19:12

Re: Need help Installing tmwserv on Fedora 10

Post by Kage » 09 Dec 2009, 14:13

DarkLord wrote:Why do people stay with older Linux Operating Systems when new ones come out? They're free, why not upgrade. I did. I have Fedora 12 xD and Ubuntu 9.10 and Windows 7 Ultimate. I like all :P
Some people like stability.
<Kage_Jittai> ... are you saying I am elite :D
<thorbjorn> Yes. :P
User avatar
LtCol KILGORE
Peon
Peon
Posts: 41
Joined: 06 Dec 2009, 15:50

Re: Need help Installing tmwserv on Fedora 10

Post by LtCol KILGORE » 09 Dec 2009, 15:17

Kage wrote:
DarkLord wrote:Why do people stay with older Linux Operating Systems when new ones come out?
They're free, why not upgrade. I did. I have Fedora 12 xD and Ubuntu 9.10 and Windows 7 Ultimate. I like all :P
Some people like stability.
yep ...
there's even a name for it in UBUNTU : LTS ... Long Term Support

~ Don't forget son that Linux remains a free (crossing fingers) UNIX usable by professionals (including some optional support at extra charge) ...
CHaRLie DoN'T SuRF !
User avatar
DarkLord
Novice
Novice
Posts: 390
Joined: 02 Dec 2009, 02:05
Location: Australia

Re: Need help Installing tmwserv on Fedora 10

Post by DarkLord » 11 Dec 2009, 08:26

Ah yes I get it. I still prefer to have the latest version xD
Regards,
DarkLord

Occasionally playing TMW.

Running Windows 8.1 Pro, OS X Mavericks and Ubuntu 13.10
User avatar
LtCol KILGORE
Peon
Peon
Posts: 41
Joined: 06 Dec 2009, 15:50

Re: Need help Installing tmwserv on Fedora 10

Post by LtCol KILGORE » 11 Dec 2009, 12:55

DarkLord wrote:I still prefer to have the latest version
Very sensible choice my boy :

as long as you live in a country where working is illegal for kids, you're not supposed to detain a "professional" version of any OS/software ...

~ Keep this L.T.S. UBUNTU for your dad and mum, please ...
CHaRLie DoN'T SuRF !
Post Reply