安装版本 :postgresql-9.4.4 (应该是目前稳定最新版本)
.configure --prefix=/usr/目录
其中报错:
configure: error: readline library notfound
If you have readline already installed, see config.log for detailson the
failure.
Use --without-readline to disable readlinesupport.
于是我检查了 readline
rpm -ql readline
标识其中已经安装
于是尝试搜索了下readline 是否还有其他的包
发现readline 还有一些其他的工具
然后再次查看是否安装过搜索出来的包,发现并没有安装。
然后尝试安装第一个 readline-devel 的包
安装后重新 ./configure
成功!