CENTOS65 installation pg935 times wrong: Jade:command not found

Source: Internet
Author: User
Tags ldap postgresql

CENTOS65 installation pg935 times wrong: 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-- 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
The internet is also said to be copy installation files when user Switching caused, mainly file ownership and permissions issues

My process should be no problem, or as follows, continue, or the same mistake
[Root@pghost1 postgresql-9.3.5]# chown-r root:root postgresql-9.3.5/

3
Obviously is the issue of configuring PG-related documents, plus--with-no-docs and--with-no-html-docs continue, and the error remains

Increase--with-no-docs
./configure--prefix=/opt/pgsql9.3.5--with-pgport=1949--with-perl--with-tcl--with-python- With-pam--without-ldap--with-libxml--with-libxslt--enable-thread-safety--with-wal-blocksize=8 8--with-no-docs && Gmake World

4
Tried a pg934 before, the problem remains, and this time the environment virtual machine is new, the problem is left to confirm later

5
Find Jade related packages and install
Yum Search Jade
[Root@pghost1 backup]# yum-y Install openjade.x86_64

6
Again configure problem still

7
Yum-y Install Jadetex.noarch
Yum-y Install Docbook-dtds.noarch

8
Continue configuration, quote the following error:
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
continued to succeed at last, and saw the desired result:

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
Subsequent operation is normal
To sum up, it is as follows.
Yum-y Install openjade.x86_64
Yum-y Install Jadetex.noarch
Yum-y Install docbook*

References (The following two references have no direct effect and can provide information for understanding):
Http://grokbase.com/t/postgresql/pgsql-bugs/102rqvevbv/postgresql-9-0alpha-jade-required
Http://www.postgresql.org/docs/7.3/static/doc-build.html




-----------------
Reprint please the Source:
Blog.csdn.net/beiigang

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.