Hello all,
I\'ve been attempting to get PS server working on my machine and I ran into a few problems. I thought I would post what I found here to help out others and possibly get some answers. I found that the configure script was using a mysql_connect function that is obsolete as of mysql 4+. If you alter configure to use the function mysql_real_connect then it will find mysql. You also need to add 8 arguments to the function. So I ended up alter the section I was working on from ....
mysql_connect(0,0,0,0);
to
mysql_real_connect(0,0,0,0,0,0,0,0);
Which allows the configure script to work, but my guess is that the source may also use that function (I haven\'t spent the time digging around in the source yet, plus I\'m lacking in the c department). I can\'t seem to find out because the server won\'t search the directory I passed to the configure script for the appropriate libraries... I get
Warning: Failed to load `dbmysql\'; reason(s):
/usr/local/crystal/dbmysql.so: File not found
/usr/local/crystal/lib/dbmysql.so: File not found
./dbmysql.so: File not found
/home/bkujala/plane_install/cel//dbmysql.so: File not found
/home/bkujala/plane_install/cel//lib/dbmysql.so: File not found
/home/bkujala/plane_install/planeshift/dbmysql.so: File not found
Warning: Failed to load `dbmysql\'; reason(s):
/usr/local/crystal/dbmysql.so: File not found
/usr/local/crystal/libdbmysql.so: File not found
/usr/local/crystal/lib/dbmysql.so: File not found
/usr/local/crystal/lib/libdbmysql.so: File not found
./dbmysql.so: File not found
./libdbmysql.so: File not found
/home/bkujala/plane_install/cel//dbmysql.so: File not found
/home/bkujala/plane_install/cel//libdbmysql.so: File not found
/home/bkujala/plane_install/cel//lib/dbmysql.so: File not found
/home/bkujala/plane_install/cel//lib/libdbmysql.so: File not found
/home/bkujala/plane_install/planeshift/dbmysql.so: File not found
/home/bkujala/plane_install/planeshift/libdbmysql.so: File not found
WARNING: could not load plugin \'planeshift.database.mysql\'
I think perhaps something did not compile, but I haven\'t used jam much so I can\'t seem to figure it out. So I\'m stuck after a day or so working on this. I\'m wondering if anyone has been able to get teh server for PS to work with mysql 4+ or if I should give up on that effort. I appologize for any ignorance on the underlying technology I am probably missing something that is obvious.
Nephil