I successfully compiled pol099 from svn (I used svn rev572 + applied all the patches concerning linux). I used this as a reference to compile it. I run ubuntu 10 (+ I installed libmysqlclient-dev).
I uncommented USE_MYSQL=1 in build file. My buildcore32 looks like this:
Code: Select all
#!/bin/bash
#
# Build Official 32bit Release
export USE_MYSQL=1
export LIBCRYPT="crypto"
export POL_BUILDTAG="ubuntu"
export CXX_MORE_OPTS="-m32 -O3 -DUSE_SYSTEM_ZLIB -DHAVE_OPENSSL -DNDEBUG -D_REENTRANT -DPOL_BUILDTAG=\\\"ubuntu\\\""
#export CXX_MORE_OPTS="-m32 -O3 -DUSE_SYSTEM_ZLIB -DHAVE_OPENSSL -DNDEBUG -D_REENTRANT -DHAVE_MYSQL -DPOL_BUILDTAG==\\\"ubuntu\\\""
make -f makefile.gcc dist
What might be the problem here?error{ errortext = "POL was not compiled with MySQL support." }