加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

PostgreSQL编译出错一例

发布时间:2020-12-13 17:32:02 所属栏目:百科 来源:网络整理
导读:上传了一个postgresql,在编译安装postgresql时出现一个问题,报错: gmake[3]: jade:命令未找到gmake[3]: *** [HTML.index] 错误 127gmake[3]: Leaving directory `/home/postgres/postgresql-9.3.2/doc/src/sgml'gmake[2]: *** [all] 错误 2gmake[2]: Leaving
上传了一个postgresql,在编译安装postgresql时出现一个问题,报错:
gmake[3]: jade:命令未找到
gmake[3]: *** [HTML.index] 错误 127
gmake[3]: Leaving directory `/home/postgres/postgresql-9.3.2/doc/src/sgml'
gmake[2]: *** [all] 错误 2
gmake[2]: Leaving directory `/home/postgres/postgresql-9.3.2/doc/src'
gmake[1]: *** [all] 错误 2
gmake[1]: Leaving directory `/home/postgres/postgresql-9.3.2/doc'
gmake: *** [world-doc-][]recurse] 错误 2
环境 CentOS 6.3

过程大概是
configure
gmake world
gmake install-world
参考: http://my.oschina.net/Kenyon/blog/53657 一直都是用这个方法编译安装的,而且jade这个包实际上也用不到,反复试了几次,都在install的时候卡住,configure产生的文件log和status文件显示都正常的。后来把安装包和解压后的文件都删除掉,重新上传安装,成功了。 想了一下,是上传的时候操作不一样引起的,开始是用root上传压缩包,解压后chown文件夹权限给postgres用户,再切换到postgres用户下安装的。验证了一下,如果是root上传安装或者其他用户直接上传解压安装都没有这个问题。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读