当安装postgresql-8.2.5.tar.gz的时候报以下错误:
#./configure --prefix=/usr/local/pgsql
....
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.
解决方法:
方法1: 安装软件包readline-devel-4.3-13.i386.rpm
#rpm -ivh readline-devel-4.3-13.i386.rpm
方法2: --without-readline 选项关闭 readline 功能,即:
#./configure --prefix=/usr/local/pgsql --without-readline
阅读(2419) | 评论(0) | 转发(0) |