1
Installation Instructions
2
*************************
4
Copyright (C) 2007 MySQL AB
9
Get the SVN source from:
11
$ svn co .../mysql-proxy/trunk/ mysql-proxy/
13
Later you can update the tree by running
18
As you built from SVN none of the configure scripts is prepared. You need:
20
- autoconf 2.56 or higer
21
- automake 1.9 or higher
23
to generate the configure script. Use the provided autogen.sh to rebuild
28
You should have a configure script, ready to build.
30
Installing from Source
31
======================
33
$ gzip -cd mysql-proxy-0.5.0.tar.gz | tar xf -
34
$ cd mysql-proxy-0.5.0
39
As you have the source in the right place and the configure script exists, you have
40
to make sure that the dependencies are in place;
42
- libevent 1.x or higher (1.3b or later is prefered)
44
- glib2 2.4.0 or higer
59
On Debian and Ubuntu you need to tell the configure script that it has to use
60
"pkg-config lua5.1" to detect the lua-libriaries instead of the default
63
$ ./configure --with-lua=lua5.1
76
You should have a /usr/local/sbin/mysql-proxy now.