postgresql安装指南

1.postgresql下载地址

postgresql-10.1.tar.gz

2.解压 tar -zxvf 文件

3.依次执行:

./configure

 ./configure是检查当前环境能否安装PG,以下是我遇到的报错和解决方案

 报错1:configure: error: no acceptable C compiler found in $PATH:

 解决:yum install gcc

 报错2:configure: error: readline library not found

 解决:yum install readline-devel

未完待续。。。

猜你喜欢

转载自www.cnblogs.com/wayneLOVEdoris/p/9444327.html