编译pgpool 2出现的错误

默认分类 · 2013-01-22

一、现象

进入/pgpool-II-3.2.1/sql/pgpool-regclass

然后输入make

提示出错

Makefile:15: /usr/lib/postgresql/9.1/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target `/usr/lib/postgresql/9.1/lib/pgxs/src/makefiles/pgxs.mk'.  Stop.

二、解决办法

google了一下,然后因为用的是ubuntu,然后这样解决了

sudo apt-get install postgresql-server-dev-9.1
postgresql
Theme Jasmine by Kent Liao