Hello,
I am running into issues when trying to run brew install hugo within my AWS Cloud9 IDE (running Amazon Linux 2).
I did that before, so I am surprised that I am not able to install Hugo successfully this time. Maybe I am missing something.
Brew is successfully installed - running version 3.6.10.
When I run brew install hugo, I am getting the following error message:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/xz-20221113-5435-gyv9oh/xz-5.2.7':
configure: error: C compiler cannot create executables
See `config.log' for more details
Out of curiosity, when you installed brew, did you install gcc when prompted? If I remember correctly that happens toward the end of the brew installation. I’m just wondering if brew wants its own compiler.