bootstrap fails on CentOS 6 #263

Closed
opened 2026-01-29 20:41:02 +00:00 by claunia · 4 comments
Owner

Originally created by @jamesjer on GitHub (Nov 27, 2018).

I downloaded the brotli 1.0.7 release on a CentOS 6 box and unpacked it. This box has autoconf 2.63. Then:

[brotli-1.0.7]$ ./bootstrap
/usr/bin/m4:configure.ac:4: Warning: too few arguments to builtin `m4_index'
/usr/bin/m4:configure.ac:4: bad expression in eval (bad input): 0m4_warn([syntax], [AC_INIT: not a literal: https://groups.google.com/forum/#!forum/brotli])
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
./bootstrap: line 31: exit: $: numeric argument required

Double quoting the URL fixes the problem; i.e., change line 4 of configure.ac to read:

AC_INIT([brotli], [1.0.7], [[https://groups.google.com/forum/#!forum/brotli]])
Originally created by @jamesjer on GitHub (Nov 27, 2018). I downloaded the brotli 1.0.7 release on a CentOS 6 box and unpacked it. This box has autoconf 2.63. Then: ``` [brotli-1.0.7]$ ./bootstrap /usr/bin/m4:configure.ac:4: Warning: too few arguments to builtin `m4_index' /usr/bin/m4:configure.ac:4: bad expression in eval (bad input): 0m4_warn([syntax], [AC_INIT: not a literal: https://groups.google.com/forum/#!forum/brotli]) autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 ./bootstrap: line 31: exit: $: numeric argument required ``` Double quoting the URL fixes the problem; i.e., change line 4 of configure.ac to read: ``` AC_INIT([brotli], [1.0.7], [[https://groups.google.com/forum/#!forum/brotli]]) ```
Author
Owner

@eustas commented on GitHub (Dec 13, 2018):

Will fix soon. Thanks for the report.

@eustas commented on GitHub (Dec 13, 2018): Will fix soon. Thanks for the report.
Author
Owner

@eustas commented on GitHub (Dec 13, 2018):

Interesting, autoconf have had a regression between 2.66 and 2.68 for "?" in urls... But 2.63 is even older and might be more buggier =)

@eustas commented on GitHub (Dec 13, 2018): Interesting, autoconf have had a regression between 2.66 and 2.68 for "?" in urls... But 2.63 is even older and might be more buggier =)
Author
Owner

@eustas commented on GitHub (Dec 13, 2018):

Could you check, if this helps, please:

curl -L -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar zxf autoconf-2.69.tar.gz
cd autoconf-2.69
yum install -y openssl-devel
./configure
make && make install
@eustas commented on GitHub (Dec 13, 2018): Could you check, if this helps, please: ``` curl -L -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz tar zxf autoconf-2.69.tar.gz cd autoconf-2.69 yum install -y openssl-devel ./configure make && make install ```
Author
Owner

@eustas commented on GitHub (Jul 2, 2020):

No response. Closing for now. Feel free to reopen (with the answer to the last question).

@eustas commented on GitHub (Jul 2, 2020): No response. Closing for now. Feel free to reopen (with the answer to the last question).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#263