PlaneShift
Development => Development Deliberation => Topic started by: Olakion on August 22, 2004, 07:15:39 pm
-
Hello All,
I am have downloaded and build the latest version of CVS. I am able to build the complete software on Win XP with MinGW. I try now to run the psserver but I am not able to get it running.
Can someone give a link how I can setup a server locally?
-
hmm... does it give you any helpful error messages? I seem to believe I heard that either minGW or Cygwin (or both?) are missing a proper implementation of the winsock32 api which facilitates network communication... obviously, the server and client need that, so it\'s possible that that is your problem. I myself never built with minGW on windows, so I may not be the best person to ask.. :-/
josePhoenix
-
It gives no errors at compilation. When I run psserver.exe the following error message is generated:
$ ./psserver.exe
WARNING: could not load plugin \'crystalspace.motion.manager.default\'
WARNING: could not load plugin \'planeshift.database.mysql\'
-Server Console initialized (d:\\Olaf\\PlaneShiftSrc\\planeshift\\psserver.exe-V0.1)-
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.
planeshift.application.server:
No iDataConnection plugin!
Initialize:
Could not create database or connect to it.
error while initializing server!
LoadLibraryEx(d:\\Olaf\\PlaneShiftSrc\\planeshift\\dbmysql.dll) error 126: Kan opgegeven module niet vinden.
The last message is in Dutch because i have a Dutch version of WinXP. It say that the module can not be found but the file dbmysql.dll is in that directory.
-
Hmm, was MySQL installed correctly and the daemon is running?
-
That\'s what I was asking for, errors at runtime. you stated that you built the software so I assumed that that meant no compile errors.
That message seems to mean that mysql isn\'t running, or that you didn\'t have libmysql installed at ./configure time.
I\'m not sure how to install libmysql on windows, but with linux it\'s packaged with the mysql server. Or, you may have it, but MinGW doesn\'t know that it\'s there to compile in.
josePhoenix
-
I have found the cause of the problem. I needed to add in the PATH variable the directory where the file ?libmySQL.dll? is stored and the server will start.
Thanks to everyone that tried to help me.
-
Glad to hear you got it working!