安裝版本 :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. It is possible the compiler isnt lookingin the proper directory.
Use --without-readline to disable readlinesupport.
於是我檢查了 readline
rpm -ql readline
標識其中已經安裝
於是嘗試搜索了下readline 是否還有其他的包
發現readline 還有一些其他的工具
然後再次查看是否安裝過搜索出來的包,發現並沒有安裝。
然後嘗試安裝第一個 readline-devel 的包
安裝後重新 ./configure
成功!