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

Bo Peng pengbo at sraoss.co.jp
Wed Jul 19 10:21:26 JST 2017


Hi,

You need to install the following tools to build sgml files.

# yum install docbook docbook-dsssl docbook-sgml docbook-xsl openjade \
    jade libxslt docbook-dtds docbook-style-xsl docbook-style-dsssl

On Tue, 18 Jul 2017 11:12:08 +0000
Avi Weinberg <AviW at gilat.com> wrote:

> 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.


-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan



More information about the pgpool-general mailing list