Hi, I'm having some problems building psserver from SVN. I've followed all of the instructions here:
https://planeshift.svn.sf.net/svnroot/planeshift/trunk/docs/compiling.html. Everything compiles OK, but it appears that the mysql plugin is not compiling. I say that because when I run
./psserverI get the following error:
Your configuration files are in... /home/user/.PlaneShift
crystalspace.pluginmgr.loadplugin:
could not load plugin ‘crystalspace.sndsys.element.ogg’
could not load plugin ‘planeshift.database.mysql’
(irrelevant output omitted here)
Sun Oct 9 21:45:18 2011, Sun Oct 9 21:45:18 2011, Database Host: 'localhost' User: 'planeshift' Databasename: 'planeshift' Port: 0
planeshift.application.server:
No iDataConnection plugin!
Sun Oct 9 21:45:18 2011, <src/server/psserver.cpp:297 Initialize SEVERE>
Sun Oct 9 21:45:18 2011, Could not create database or connect to it:
Sun Oct 9 21:45:18 2011, error while initializing server!Up near the top, I see that it doesn't load the mysql plugin. I have the mysql, mysql-dev, and mysql C++ API and dev libraries installed on my system via yum. I'm thinking that the problem has something to do with the output of the ./configure script right before compiling.
(irrelevant output here)
checking if pkg-config recognizes mysqlclient... no
checking for mysqlclient-config... no
checking for libmysqlclient... no
(more irrelevant output)
Optional Dependencies
---------------------
Missing
PostgreSQL (database)
Sqlite3 (database)
hunspell (other)
mysql (database)
I've tried to specify the location of the libmysqlclient.so with:
./configure --with-mysqlclient=<insert directory here>I wasn't sure if the configure script was looking for the binary .so file or the headers, so I tried running it different times with the path to the binary (/usr/lib64/mysql) and the path to the headers in (/usr/include/mysql). Also note that I have both the 64-bit and 32-bit development libraries for mysql installed.
At this point I'm out of ideas... if some helpful developer could shed some light on the problem, I'd appreciate it greatly.
I want to build the server both because I'm interested in applying for the dev team, and I'm also interested in working (some time off in the future) on a modified version of the server/client to allow for fully dynamic virtual worlds. And besides that, PS is just THAT cool.

Thanks,
Geceni