centos65安装pg935时报错: jade: Command not found

centos65安装pg935时报错:  jade: Command not found

1

[[email protected] 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

[[email protected] postgresql-9.3.5]#

2

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

我的过程应该没有问题,还是如下,继续,还是同样的错

[[email protected] 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

[[email protected] 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

[[email protected] 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.

[[email protected] postgresql-9.3.5]#

11

后续操作正常

总结一下就是如下就可以了。

yum -y install openjade.x86_64

yum -y install jadetex.noarch

yum -y install docbook*

参考(下面这两个参考没有直接作用,可以对理解提供信息):

http://grokbase.com/t/postgresql/pgsql-bugs/102rqvevbv/postgresql-9-0alpha-jade-required

http://www.postgresql.org/docs/7.3/static/doc-build.html

-----------------

转载请著明出处:

blog.csdn.net/beiigang

时间: 2024-10-11 04:54:58

centos65安装pg935时报错: jade: Command not found的相关文章

安装cx_Oracle时报错:error: command 'gcc' failed with exit status 1

1.安装cx_Oracle 1)下载cx_Oracle,https://pypi.python.org/pypi 2)解压压缩包 3)执行python setup.py install 执行后报错:error: command 'gcc' failed with exit status 1 排查: 1)检查是否安装oracle客户端软件 2)查看当前环境变量中是否配置oracle的相关变量,如echo $ORACLE_HOME 3)如果没有配置需要将oracle环境变量配置到当前用户.bash_

安装TA-Lib时报错:ubuntu****, Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='

使用pip install TA-Lib 时报错: ERROR: Complete output from command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-afeznd8w/TA-Lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open

win10下pip3安装tesserocr时报错

使用pip3在线安装tesserocr时报错,刚开始报错内容是提示未安装vs2014,安装完以后报错内容如下 ERROR: Command errored out with exit status 1: command: 'c:\users\administrator\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"

安装MySQL-python报错error: command 'gcc' failed with exit status 1

[[email protected] MySQL-python-1.2.3]# python setup.py install function) .... _mysql.c:133: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function) _mysql.c:380: error: '_mysql_ConnectionObject' has no member named 'connection' _mysql.c:382

三星笔记本安装系统时报错:image failed to verify with * access denied* press any key to continue.

安装系统从光盘启动报错: 出现黑屏,并且有一个提示框image failed to verify with *access denied*press any key to continue 原因:三星笔记本对系统有降级保护,在将win8改装为win7是,需要设置bios. 1.开机按F2 进入bios,找到Boot-->secure boot-->改为:disabled---->OS Mode Selection改为:CSM OS. 2.在 advanced-->fast bios

CentOS6.4安装readline时报错:/usr/bin/ld : cannot find -lncurses

解决方法: 安装ncurses-devel,输入命令: #yum install ncurses-devel ###安装完成后重新安装readline(#pip install readline)即可### 参考资料: 1.http://bbs.chinaunix.net/thread-2262638-1-1.html CentOS6.4安装readline时报错:/usr/bin/ld : cannot find -lncurses,布布扣,bubuko.com

Ubuntu 16.04安装QtCharts时报错:'qtConfig' is not a recognized test function.

错误: 'qtConfig' is not a recognized test function. 解决方法: 其实5.9分支的版本有问题,转成5.7分支即可. git clone https://github.com/qtproject/qtcharts.git cd qtcharts git checkout 5.7 qmake make sudo make install 参考: http://php.wekeepcoding.com/article/10792742/Cross-comp

安装tcpreplay时报错:configure: error: libdnet not found

安装tcpreplay时报错configure: error: libdnet not found 解决方法: 下载包libdnet-1.8.tar.gz并安装,依次执行: ./configure make make install 验证问题解决. 下载地址:http://download.chinaunix.net/download/0006000/5777.shtml

词云:解决pip install wordcloud安装过程中报错“error: command 'x86_64-linux-gnu-gcc' failed with exit status 1”问题

外部环境:ubuntu16.04, 64bits, 全局环境python2.7 在虚拟环境(python3.5)中执行 pip install wordcloud 时安装失败,报错: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for wordcloud Running setup.py