必要软件包:
libevent-devel
libtool
autoconf
automake
1、克隆源代码
git clone git://git.postgresql.org/git/pgbouncer.git
2、初始化子模块
cd pgbouncer
git submodule init
git submodule update
这里查看配置文件可知,是这个项目:
git://github.com/markokr/libusual.git
3、运行如下命令
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install