Added support for takeover functionalities on PgSQL 8.4 running on Linux too.

Recompilation of MySQL shared object with MySQL 5.1 development libraries on Debian 5.3.
Tweaked the UDF compilation/installation files for both MySQL and PgSQL.
This commit is contained in:
Bernardo Damele 2010-01-14 10:50:03 +00:00
parent d4d26b59eb
commit 1febdcac9b
6 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,9 @@
# For MySQL < 5.1
LIBDIR=/usr/lib
# For MySQL >= 5.1
#LIBDIR=/usr/lib/mysql/plugin
install:
gcc -Wall -I/usr/include/mysql -O1 -shared lib_mysqludf_sys.c -o lib_mysqludf_sys.so
strip -sx lib_mysqludf_sys.so
sudo cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so
cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so

View File

@ -29,7 +29,7 @@ make
if test $? -ne 0; then
echo "ERROR: You need libmysqlclient development software installed"
echo "to be able to compile this UDF, on Debian/Ubuntu just run:"
echo "apt-get install libmysqlclient15-dev"
echo "apt-get install libmysqlclient-dev"
exit 1
else
echo "MySQL UDF compiled successfully"

View File

@ -36,9 +36,9 @@ if test $? -ne 0; then
if test "${VERSION}" == "8.2"; then
echo "apt-get install postgresql-server-dev-8.2"
else if test "${VERSION}" == "8.3"; then
elif test "${VERSION}" == "8.3"; then
echo "apt-get install postgresql-server-dev-8.3"
else if test "${VERSION}" == "8.4"; then
elif test "${VERSION}" == "8.4"; then
echo "apt-get install postgresql-server-dev-8.4"
fi

Binary file not shown.

Binary file not shown.