[pgpool-general: 5631] Re: building pgpool RMP error

Avi Weinberg AviW at gilat.com
Tue Jul 18 21:52:49 JST 2017


Hi,

I installed yum install docbook-dtds docbook-style-xsl fop libxslt opensp
But I still get the following error (I think it does not have perl -g key.  Is it some type of perl extension?):

make[1]: Leaving directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5'
+ make -j3 -C doc
make: Entering directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc'
Making all in src
make[1]: Entering directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc/src'
Making all in sgml
make[2]: Entering directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc/src/sgml'
/bin/mkdir -p html
osx -D. -x lower -i include-xslt-index pgpool.sgml >pgpool.xmltmp
wall -wno-unused-param -wno-empty -wfully-tagged   -d stylesheet.dsl -t sgml -i output-html  -V html-index pgpool.sgml
wall: invalid option -- 'w'
usage: wall [message]
make[2]: [HTML.index] Error 1 (ignored)
LC_ALL=C perl  -f -g -i 'bookindex' -o bookindex.sgml HTML.index
Unrecognized switch: -g  (-h will show valid options).
make[2]: *** [bookindex.sgml] Error 29
make[2]: *** Waiting for unfinished jobs....
perl -p -e 's/\[(aacute|acirc|aelig|agrave|amp|aring|atilde|auml|bull|copy|eacute|egrave|gt|iacute|lt|mdash|nbsp|ntilde|oacute|ocirc|oslash|ouml|pi|quot|scaron|uuml) *\]/\&\1;/gi;' \
                -e '$_ .= qq{<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\n} if $. == 1;' \
                <pgpool.xmltmp > pgpool.xml
rm pgpool.xmltmp
make[2]: Leaving directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc/src/sgml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc'
error: Bad exit status from /var/tmp/rpm-tmp.Wl8M4Q (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Wl8M4Q (%build)





Verified that I have installed:
yum install docbook-dtds docbook-style-xsl fop libxslt opensp


 [root at h2-nms tmp]# yum install docbook-dtds docbook-style-xsl fop libxslt opensp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.isoc.org.il
 * extras: ba.mirror.garr.it
 * updates: ct.mirror.garr.it
Setting up Install Process
Package docbook-dtds-1.0-51.el6.noarch already installed and latest version
Package docbook-style-xsl-1.75.2-6.el6.noarch already installed and latest version
Package fop-0.95-4.4.el6.x86_64 already installed and latest version
Package libxslt-1.1.26-2.el6_3.1.x86_64 already installed and latest version
Package opensp-1.5.2-12.1.el6.x86_64 already installed and latest version
Nothing to do

-----Original Message-----
From: Tatsuo Ishii [mailto:ishii at sraoss.co.jp]
Sent: Tuesday, July 18, 2017 3:16 PM
To: Avi Weinberg <AviW at gilat.com>
Cc: pgpool-general at pgpool.net
Subject: Re: building pgpool RMP error

You need the SGML doc build tool chain.

yum install docbook-dtds docbook-style-xsl fop libxslt opensp

Per PostgreSQL doc.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

> Hi
>
> I took the existing 3.6.5 rpm.  Modified the source code and zipped it
> again.  Then tried to build pgpool RMP
>
> I ran the following command:
>
> rpmbuild -ba pgpool.spec --define="pgpool_version 3.6.5" --define="pg_version 96" --define="pghome /usr/pgsql-9.6" --define="dist rhel6"
>
>
> and got the following error:
>
> Making all in sgml
> make[2]: Entering directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc/src/sgml'
> /bin/mkdir -p html
> D. -x lower -i include-xslt-index pgpool.sgml >pgpool.xmltmp
> wall -wno-unused-param -wno-empty -wfully-tagged   -d stylesheet.dsl -t sgml -i output-html  -V html-index pgpool.sgml
> /bin/sh: D.: command not found
> wall: invalid option -- 'w'
> usage: wall [message]
> make[2]: [pgpool.xml] Error 127 (ignored) perl -p -e
> 's/\[(aacute|acirc|aelig|agrave|amp|aring|atilde|auml|bull|copy|eacute|egrave|gt|iacute|lt|mdash|nbsp|ntilde|oacute|ocirc|oslash|ouml|pi|quot|scaron|uuml) *\]/\&\1;/gi;' \
>                 -e '$_ .= qq{<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\n} if $. == 1;' \
>                 <pgpool.xmltmp > pgpool.xml
> make[2]: [HTML.index] Error 1 (ignored) LC_ALL=C perl  -f -g -i
> 'bookindex' -o bookindex.sgml HTML.index rm pgpool.xmltmp Unrecognized
> switch: -g  (-h will show valid options).
> make[2]: *** [bookindex.sgml] Error 29
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc/src/sgml'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc/src'
> make: *** [all-recursive] Error 1
> make: Leaving directory `/var/lib/pgsql/rpmbuild/BUILD/pgpool-II-3.6.5/doc'
> error: Bad exit status from /var/tmp/rpm-tmp.SN11bd (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.SN11bd (%build) IMPORTANT -
> This email and any attachments is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform the sender immediately and delete this email: you should not copy or use this e-mail for any purpose nor disclose its contents to any person.
IMPORTANT - This email and any attachments is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform the sender immediately and delete this email: you should not copy or use this e-mail for any purpose nor disclose its contents to any person.


More information about the pgpool-general mailing list