./configure: line 13402: syntax error near unexpected token `else' #424

issue paveljanik opened this issue on October 31, 2016
  1. paveljanik commented at 8:39 AM on October 31, 2016: contributor

    Probably after merging #399, autogen.sh generates this code here:

      if test "$cross_compiling" = yes; then
      else
      cat >conftest.$ac_ext <<_ACEOF
    

    ie. else immediately following then. On other systems, there is : (true) there. @theuni Do you have an idea?

  2. gmaxwell commented at 10:56 AM on February 20, 2019: contributor

    This has been open forever without any other reports, I assume it got fixed. Feel free to reopen if otherwise.

  3. gmaxwell closed this on Feb 20, 2019

  4. duhanov commented at 8:00 AM on May 18, 2020: none

    Same error!

  5. duhanov commented at 8:00 AM on May 18, 2020: none

    CentOS release 6.7 (Final)

  6. elichai commented at 8:47 AM on May 18, 2020: contributor

    I confirmed it in a docker, the problem is that CentOS 6 ships with an old autoconf, and after installing a third party update I was able to compile and pass the tests. CentOS 6 got released a decade ago, stopped getting full updates 3 years ago and will be officially unmaintained in a few months. The result of that is that I couldn't even clone this repo, because yum install git gave me 1.7.1, which github doesn't support, so I had to get git from a third party source.

    So I think that not supporting CentOS 6 out of the box is quite reasonable seeing that even github doesn't support it out of the box (oh, and don't get me started on the SSL problems I had because all the CAs are out of date and it uses old openssl which I had to upgrade both)

  7. real-or-random referenced this in commit d9a5475a22 on May 18, 2020
  8. real-or-random referenced this in commit 5e8747ae2a on May 18, 2020
  9. real-or-random cross-referenced this on May 18, 2020 from issue autoconf: Use ":" instead of "dnl" as a noop by real-or-random
  10. real-or-random commented at 10:32 AM on May 18, 2020: contributor

    Yes, no need to support old very old versions of autoconf. But I assume the fix is trivial. @paveljanik @duhanov @elichai Can you check if #752 fixes this issue?

  11. real-or-random referenced this in commit 05d315affe on May 22, 2020

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-27 04:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me