Skip to content

Bootstrap Build Fails with autoconf error "possibly undefined macro: _AC_PROG_CC_C99"

Summary

Bootstrap Build Fails with autoconf error possibly undefined macro: _AC_PROG_CC_C99.

This exact build code was working on 2/11/2021: https://github.com/macports/macports-ports/blob/bf9eff9b84cfb3d06f9ae8fcce39be7b0525b5a0/lang/ghc/Portfile

Steps to reproduce

Follow the quick-start instructions https://github.com/ghc/ghc#building--installing:

./boot

Expected behavior

A successful build.

Environment

  • GHC version used: 8.10.4

Optional:

  • Operating System: macOS

Related:

Edited by Steve Smith
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information