一、现象
进入/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