[pgpool-hackers: 1633] Re: autoconf broken

Tatsuo Ishii ishii at postgresql.org
Thu Jun 16 08:04:29 JST 2016


Thanks! The patch fixed the problem and I confirmed that "make all"
does not build the docs.

Before you commit/push, please fix following "git apply"
warnings. There are some unnecessary trailing spaces.

$ git apply ~/autoconf_fix.diff 
/home/t-ishii/autoconf_fix.diff:12: trailing whitespace.
docs: 
/home/t-ishii/autoconf_fix.diff:13: trailing whitespace.
	$(MAKE) -C doc all 
/home/t-ishii/autoconf_fix.diff:14: trailing whitespace.
.PHONY: docs 
/home/t-ishii/autoconf_fix.diff:39: trailing whitespace.
docs: 
/home/t-ishii/autoconf_fix.diff:40: trailing whitespace.
	$(MAKE) -C doc all 
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.

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

> Hi
> 
> On Wed, Jun 15, 2016 at 10:59 AM, Tatsuo Ishii <ishii at postgresql.org> wrote:
> 
>> Usama,
>>
>> I think current configure related files are broken since your SGML
>> patch was introduced. If so, please fix it. I need to tweak version
>> info toward 3.6.
>>
> 
> The problem was somehow the m4 files part of the SGML patch were not
> checked in the repository.
> Please find the attached patch if it solves the issue at your end. I have
> also altered the base Makefile.am
> So that only '$make docs' will build the docs and '$make all' will not
> build the documentation.
> 
> Kind regards
> Muhammad Usama
> 
> 
>> $ autoreconf
>> Makefile.am:7: error: can_build_docs does not appear in AM_CONDITIONAL
>> doc/src/sgml/Makefile.am:11: warning: ':='-style assignments are not
>> portable
>> doc/src/sgml/Makefile.am:11: warning: wildcard $(srcdir: non-POSIX
>> variable name
>> doc/src/sgml/Makefile.am:11: (probably a GNU make extension)
>> doc/src/sgml/Makefile.am:14: warning: ':='-style assignments are not
>> portable
>> doc/src/sgml/Makefile.am:14: warning: filter-out
>> %bookindex.sgml,$(ALLSGML: non-POSIX variable name
>> doc/src/sgml/Makefile.am:14: (probably a GNU make extension)
>> doc/src/sgml/Makefile.am:89: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:92: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:95: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:98: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:101: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:105: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:117: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:120: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:157: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:161: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:172: warning: '%'-style pattern rules are a GNU
>> make extension
>> doc/src/sgml/Makefile.am:187: warning: wildcard $(srcdir: non-POSIX
>> variable name
>> doc/src/sgml/Makefile.am:187: (probably a GNU make extension)
>> autoreconf: automake failed with exit status: 1
>> $ make
>> /bin/bash ./config.status --recheck
>> running CONFIG_SHELL=/bin/bash /bin/bash ./configure
>> --prefix=/home/t-ishii/work/pgpool-II/current --no-create --no-recursion
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> [snip]
>> checking lex output file root... lex.yy
>> checking lex library... -lfl
>> checking whether yytext is a pointer... yes
>> checking for bison... bison -y
>> ./configure: line 12045: PGAC_PROG_NSGMLS: command not found
>> ./configure: line 12046: PGAC_PROG_JADE: command not found
>> ./configure: line 12047: syntax error near unexpected token `4.2'
>> ./configure: line 12047: `PGAC_CHECK_DOCBOOK(4.2)'
>> make: *** [config.status] エラー 2
>>
>> Best regards,
>> --
>> Tatsuo Ishii
>> SRA OSS, Inc. Japan
>> English: http://www.sraoss.co.jp/index_en.php
>> Japanese:http://www.sraoss.co.jp
>> _______________________________________________
>> pgpool-hackers mailing list
>> pgpool-hackers at pgpool.net
>> http://www.pgpool.net/mailman/listinfo/pgpool-hackers
>>


More information about the pgpool-hackers mailing list