PlaneShift

Development => Development Deliberation => Topic started by: dna on January 12, 2005, 10:38:22 am

Title: CVS tag question
Post by: dna on January 12, 2005, 10:38:22 am
Hi all,

I\'ve been trying to compile everything on my slackware box and have run into a problem. I\'ve found a couple different sites with build information but with no dates so now I\'m confused about what CVS tag to use. I\'ve tried:

cvs -d :pserver:anonymous:@cvs.sourceforge.net:/cvsroot/planeshift co -P -A -rMB planeshift

and:

cvs -d :pserver:anonymous:@cvs.sourceforge.net:/cvsroot/planeshift co planeshift

Both tell me \"IF YOU WANT TO PLAY MB THIS IS NOT THE CVS CHECKOUT YOU WANT.\"

I had it almost working last week but got involved with other stuff and forgot what I did to fix this problem:

crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder
opening audio device: No such file or directory

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
LOG_SCRIPT flag deactivated.

LoadConfigFromFile:
  set
  set
  set
  set
  set

planeshift.application.client:
  psEngine initialized.
Creating psnetconnection 84f22a8!

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.

Walk test works except for sound and celtst just crashes because of python.

Any help would be greatly appreciated,

Dan

---edit---
BTW, here\'s the configure from planeshift:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if -shared is accepted... -shared
checking if -soname is accepted... yes
checking for install... install
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for socklen_t... yes
checking for stdint-types... found in stdint.h
creating include/psstdint.h - (just to include  stdint.h)
checking for Crystal Space - version >= 0.99... 0.99
checking for libmysqlclient... ***
*** mysqlclient test source had problems, check your config.log ..
*** Also try one of the following switches :
***   --with-mysqlclient-prefix=PFX
***
checking for curl... 7.12.2
checking for cel... 0.99
checking for socklen_t... (cached) yes
checking build mode... optimize
checking whether to use new renderer... yes
configure: creating ./config.status
config.status: creating include/psconfig.h
config.status: executing Jamconfig commands
config.status: executing Jamfile commands
config.status: executing test commands
configure:

Please note that this project uses jam as build tool.
So you have to type \'jam\' now.
Title:
Post by: dna on January 12, 2005, 02:14:46 pm
Ok, been doing a little investigating. I start up ./psclient and it runs at 100% cpu so I ran strace on it and found:


---snip---

access(\"./data/options/sound.xml\", F_OK) = -1 ENOENT (No such file or directory)
open(\"./data/options/sound_def.xml\", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=102, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x45d06000
fstat64(8, {st_mode=S_IFREG|0644, st_size=102, ...}) = 0
_llseek(8, 0,
read(8, \"\\r\\n\\r\\n<\"..., 102) = 102
_llseek(8, 102, [102], SEEK_SET)        = 0
_llseek(8, 102, [102], SEEK_SET)        = 0
close(8)                                = 0
munmap(0x45d06000, 4096)                = 0
brk(0x8500000)                          = 0x8500000
brk(0x84f4000)                          = 0x84f4000
brk(0x84e6000)                          = 0x84e6000
brk(0x84d8000)                          = 0x84d8000
write(1, \"\\n\", 1)                       = 1
write(1, \"planeshift.application.client:\\n\", 31) = 31
write(1, \"  psEngine initialized.\\n\", 24) = 24
write(7, \"planeshift.application.client:  \"..., 54) = 54
gettimeofday({1105508230, 214038}, NULL) = 0
gettimeofday({1105508230, 214066}, NULL) = 0
gettimeofday({1105508230, 214141}, NULL) = 0
ioctl(3, FIONREAD,
  • )                 = 0

write(3, \"\\22\\0\\30\\0\\4\\0\\340\\1(\\0\\0\\0)\\0\\0\\0 \\0\\0\\0\\22\\0\\0\\0x\\0\\0\"..., 208) = 208
gettimeofday({1105508230, 215278}, NULL) = 0
ioctl(3, FIONREAD,
  • )                 = 0

gettimeofday({1105508230, 215370}, NULL) = 0
ioctl(3, FIONREAD,
  • )                 = 0

gettimeofday({1105508230, 215430}, NULL) = 0
ioctl(3, FIONREAD,
  • )                 = 0

gettimeofday({1105508230, 215488}, NULL) = 0
gettimeofday({1105508230, 215513}, NULL) = 0
ioctl(3, FIONREAD,
  • )                 = 0

gettimeofday({1105508230, 215570}, NULL) = 0
ioctl(3, FIONREAD,
  • )                 = 0


---snip---

The rest of the file is calls to gettimeofday until it locks up X. It doesn\'t lock up without strace but takes a long time to go from the intro to the login.

Don\'t think this really has anything to do with my other problem but you never know.

Dan
Title:
Post by: DrayKO on January 12, 2005, 09:32:42 pm
You want to use the instructions at http://laanx.fragnetics.com/debian.php(or gentoo.php)

cvs -d :pserver:anonymous:@cvs.sourceforge.net:/cvsroot/planeshift co planeshift
is the right one.

I\'m having also broblems with CB hanging my x and:
crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.

I\'ll have to do cvs update later on and try again. BTW you don\'t have to worry about mysql(or so I think), its only used for the server.
Title:
Post by: dna on January 14, 2005, 12:16:16 pm
Thanks for the reply.

crystalspace.pluginmgr.loadplugin:
WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.

This is called by not having CEL and CSCONF(?) set so crystal space can find where cel is installed. CEL points to the libs and CSCONF(can\'t remember the correct name, something like that) points to cel-config as near as I can tell.
Title:
Post by: Karosh_Steinkatz on January 15, 2005, 02:21:44 am
It\'s CSCONFPATH and should point to your cel folder.