CentOS6.5安装PostgreSQL9.3.5时报错:jade:Commandnotfound
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了CentOS6.5安装PostgreSQL9.3.5时报错:jade:Commandnotfound,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含3461字,纯文字阅读大概需要5分钟。
内容图文
![CentOS6.5安装PostgreSQL9.3.5时报错:jade:Commandnotfound](/upload/InfoBanner/zyjiaocheng/561/705e73d246544036a5b091529b1f2aaa.jpg)
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*
------------------------------------华丽丽的分割线------------------------------------
CentOS 6.3环境下yum安装PostgreSQL 9.3
PostgreSQL缓存详述
Windows平台编译 PostgreSQL
Ubuntu下LAPP(Linux+Apache+PostgreSQL+PHP)环境的配置与安装
Ubuntu上的phppgAdmin安装及配置
CentOS平台下安装PostgreSQL9.3
PostgreSQL配置Streaming Replication集群
如何在CentOS 7/6.5/6.4 下安装PostgreSQL 9.3 与 phpPgAdmin
------------------------------------华丽丽的分割线------------------------------------
PostgreSQL 的详细介绍:请点这里
PostgreSQL 的下载地址:请点这里
本文永久更新链接地址:
内容总结
以上是互联网集市为您收集整理的CentOS6.5安装PostgreSQL9.3.5时报错:jade:Commandnotfound全部内容,希望文章能够帮你解决CentOS6.5安装PostgreSQL9.3.5时报错:jade:Commandnotfound所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。