When CentOS6.5 is installed with PostgreSQL9.3.5, the following error occurs: jade: Commandnotfound.

Source: Internet
Author: User
When CentOS6.5 is installed with PostgreSQL9.3.5, the following error occurs: jade: Commandnotfound.

When installing PostgreSQL9.3.5 on CentOS 6.5, the following error occurs: jade: Command not found.

When installing PostgreSQL9.3.5 on CentOS 6.5, the following error occurs: 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
On the Internet, this is caused by User Switching during copy installation files, mainly due to File Ownership and permission issues.

There should be no problem in my process, as follows, continue, or the same error
[Root @ pghost1 postgresql-9.3.5] # chown-R root: root postgresql-9.3.5/

3
It is obviously a problem that occurs when you configure pg documents. Add -- with-no-docs and -- with-no-html-docs to continue, and the result is still incorrect.

Add -- 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
I tried a previously installed pg934, but the problem persists. This time the Environment Virtual Machine was newly installed, and the problem remains for future confirmation.

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

6
Configure again

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

8
To continue the configuration, the following error is reported:
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
Finally, we succeeded and saw the expected results:

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 operations are normal
The following is a summary.
Yum-y install openjade. x86_64
Yum-y install jadetex. noarch
Yum-y install docbook *

------------------------------------ Lili split line ------------------------------------

Install PostgreSQL 6.3 on yum in CentOS 9.3

PostgreSQL cache details

Compiling PostgreSQL on Windows

Configuration and installation of LAPP (Linux + Apache + PostgreSQL + PHP) Environment in Ubuntu

Install and configure phppgAdmin on Ubuntu

Install PostgreSQL9.3 on CentOS

Configure a Streaming Replication cluster in PostgreSQL

How to install PostgreSQL 7/6 and phpPgAdmin in CentOS 5/6. 4

------------------------------------ Lili split line ------------------------------------

PostgreSQL details: click here
PostgreSQL: click here

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.