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.5安装PostgreSQL9.3.5时报错: jade: Command not found的更多相关文章
- 新安装的soapui启动时报错及解决方法
今天新安装了soapui准备测试一下接口,结果安装成功后启动时报错:The JVM could not be started. The maximum heap size (-Xmx) might b ...
- 安装FreeIPA以及应用时报错汇总
安装FreeIPA以及应用时报错汇总 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.ERROR DNS zone yinzhengjie.org.cn already exis ...
- 关于go get安装git golang项目时报错的处理办法
关于go get安装git golang项目时报错的处理办法 使用go get安装github上的项目时一般来说,不可避免会出错.各种错误的处理办法: 必须条件: 1.安装git并配置环境变量.下载地 ...
- mac安装protobuf2.4.1时报错./include/gtest/internal/gtest-port.h:428:10: fatal error: 'tr1/tuple' file not found和google/protobuf/message.cc:175:16: error: implicit instantiation of undefined template
通过网上下载的protobuf2.4.1的压缩文件,然后进行安装,./configure和make时遇到了两个问题. 正常的安装步骤如下: ./configure make make check m ...
- 使用npm安装 Ant Design Vue 时报错—ant-design-vue@latest(sha1-qsf / gCIFcRYxyGmOKgx7TmHf1z4 =)seems to be corrupted.
安装 Ant Design Vue 时报错: npm install ant-design-vue --save ant-design-vue @ latest(sha1-qsf / gCIFcRYx ...
- CentOS 6.6安装postgresql9.6.6
一.环境介绍 系统平台:CentOS release 6.6 (Final) Postgresql:postgresql-9.6.6 二.安装过程 1.安装依赖包 yum -y install gcc ...
- Centos 6.9安装 php5.6 过程中报错:Error: Package: php56w-mcrypt-5.6.40-1.w6.x86_64 (webtatic)
在 CentOS 6.9 系统下安装 php 5.6 的过程中,执行如下命令: yum -y install php56w-pdo php56w-xml php56w-gd php56w-gd.x86 ...
- Linux(CentOS6.5)下编译安装PHP5.6.22时报错”configure: error: ZLIB extension requires gzgets in zlib”的解决方式(确定已经编译安装Zlib,并已经指定Zlib路径)
本文地址http://comexchan.cnblogs.com/,作者Comex Chan,尊重知识产权,转载请注明出处,谢谢! 今天在CentOS6.5下编译安装PHP时,一直报错 confi ...
- Vue安装依赖npm install时报错问题解决方法
1.vue的安装依赖于node.js,要确保你的计算机上已安装过node.js. 可进入cmd编辑器,输入命令 node -v进行查看.出现版本信息即成功!没有则从浏览器上面下载安装即可,没有安 ...
随机推荐
- vim复制
关于vim复制剪贴粘贴命令的总结 最近在使用vim,感觉很好很强大,但是在使用复制剪切粘贴命令是,碰到了一些小困惑,网上找了一些资料感觉很不全,讲的也不好,遂自己进行实践并总结了. 首先是剪切(删 ...
- 企业架构研究总结(30)——TOGAF架构内容框架之内容元模型(上)
2. 内容元模型(Content Metamodel) 在TOGAF的眼中,企业架构是以一系列架构构建块为基础的,并将目录.矩阵和图形作为其具体展现方式.如果我们把这些表述方式看作为构建块的语法,那么 ...
- iOS蓝牙调用的一般流程
一.服务端(也叫周边设备吧..脑残的翻译) 1.实现类必须遵守协议 CBPeripheralManagerDelegate 2.需要的主要类有: @property(strong,nonatomic) ...
- xml数据解析
xml数据解析 在iPhone开发中,XML的解析有很多选择,iOS SDK提供了NSXMLParser和libxml2两个类库,另外还有很多第三方类库可选,例如TBXML.TouchXML.Kiss ...
- SystemTray文字颜色问题
今天想给SystemTray的ForegroundColor设置为白色,但是模拟器正确,真机仍为黑色.经过一番折腾,发现是微软做了限制,背景是什么颜色,ForegroundColor就不能为什么颜色. ...
- 数据结构之树(Tree)(一) :树
ps:好久没用动手写blog了,要在这条路上不断发展,就需要不停的学习,不停的思考与总结,当把写blog作为一种习惯,就是自我成长的证明,Fighting!. 一.简介 树是一种重要的非线性数据结构, ...
- axis1,xfire,jUnit 测试案列+开Web Service开发指南+axis1.jar下载 代码
axis1,xfire,jUnit 测试案列+Web Service开发指南(中).pdf+axis1.jar下载 代码 项目和资源文档+jar 下载:http://download.csdn. ...
- hadoop部署错误
hadoop的单机部署很简单也不容易出错,但是对生产环境的价值和意义不大,但是可以快速用于开发. 部署hadoop的错误原因不少,并且很奇怪. 比如,用户名不同,造成客户端和服务器通讯产生认证失败的错 ...
- 【stanford C++】字符串(String)与流(Stream)
字符串(String)与流(Stream) 一.C++中字符串(String) 字符串(String):就是(可能是空的)字符序列. C++中的字符串在概念上和Java中的字符串类似. C++字符串用 ...
- 用Bottle开发web程序(二)
返回码 在开发web程序时,除了一些服务器错误等,常常需要自定义返回码,以便告诉用户处理请求的结果或者状态.bottle支持自定义的返回码,可以通过以下几种方式进行实现. abort 在bottle中 ...