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

Tatsuo Ishii ishii at sraoss.co.jp
Tue Jul 18 21:16:29 JST 2017


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.


More information about the pgpool-general mailing list