CentOS 6.5安装PostgreSQL9.3.5时报错: jade: Command not found

CentOS 6.5安装PostgreSQL9.3.5时报错: jade: Command not found

CentOS 6.5安装PostgreSQL9.3.5时报错: jade: Command not found

1
[root@pghost1 postgresql-9.3.5]# ./configure --prefix=/opt/pgsql9.3.5 --with-pgport=1949 --with-perl --with-tcl --with-python --with-openssl --with-pam --without-ldap --with-libxml --with-libxslt --enable-thread-safety --with-wal-blocksize=8 --with-blocksize=8 && gmake world
...
gmake[3]: jade: Command not found
gmake[3]: *** [HTML.index] Error 127
gmake[3]: Leaving directory `/root/backup/postgresql-9.3.5/doc/src/sgml'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/backup/postgresql-9.3.5/doc/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/root/backup/postgresql-9.3.5/doc'
gmake: *** [world-doc-recurse] Error 2
[root@pghost1 postgresql-9.3.5]#

2
网上又说是copy安装文件时用户切换引起的,主要是文件归属和权限问题

我的过程应该没有问题,还是如下,继续,还是同样的错
[root@pghost1 postgresql-9.3.5]# chown -R root:root postgresql-9.3.5/

3
显然是配置pg相关文档时出现的问题,分别加上--with-no-docs和--with-no-html-docs继续,结果错误依旧

增加--with-no-docs
./configure --prefix=/opt/pgsql9.3.5 --with-pgport=1949 --with-perl --with-tcl --with-python --with-openssl --with-pam --without-ldap --with-libxml --with-libxslt --enable-thread-safety --with-wal-blocksize=8 --with-blocksize=8 --with-no-docs && gmake world

4
试了一把以前装过的pg934,问题依旧,而这次的环境虚拟机是新装的,问题留待以后确认

5
查找jade相关包并安装
yum search jade
[root@pghost1 backup]# yum -y install openjade.x86_64

6
再次configure问题依旧

7
yum -y install jadetex.noarch
yum -y install docbook-dtds.noarch

8
继续配置,报如下错误:
ERROR: `collateindex.pl' is missing on your system.
***
gmake[3]: *** [bookindex.sgml] Error 1
gmake[3]: Leaving directory `/root/backup/postgresql-9.3.5/doc/src/sgml'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/backup/postgresql-9.3.5/doc/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/root/backup/postgresql-9.3.5/doc'
gmake: *** [world-doc-recurse] Error 2
[root@pghost1 postgresql-9.3.5]#

9
 yum -y install docbook*

10
继续终于成功,看到了期望结果:

cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fpic -shared -o pgxml.so xpath.o xslt_proc.o -L../../src/port -L../../src/common -Wl,--as-needed -Wl,-rpath,'/opt/pgsql9.3.5/lib',--enable-new-dtags  -lxslt -lxml2 
gmake[2]: Leaving directory `/root/backup/postgresql-9.3.5/contrib/xml2'
gmake[1]: Leaving directory `/root/backup/postgresql-9.3.5/contrib'
PostgreSQL, contrib, and documentation successfully made. Ready to install.
[root@pghost1 postgresql-9.3.5]#

11
后续操作正常
总结一下就是如下就可以了。
 yum -y install openjade.x86_64
 yum -y install jadetex.noarch
 yum -y install docbook*

posted @ 2017-01-13 22:32 萌乐ML 阅读( ...) 评论( ...) 编辑 收藏
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

行动派大鹏

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值