I have setup a new fresh server to test just few hours ago, even nginx/apache won't get installed there
Configuring APR library
Platform: aarch64-unknown-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.6.5
checking for chosen layout... apr
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... no
configure: error: in `/www/server/apache/src/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure failed for srclib/apr
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
Ubuntu 22.04.4 LTS
\l
Bit:64 Mem:3813M Core:2 gcc: cmake:3.22.1
Linux 5.15.0-105-generic aarch64
ERROR: apache-2.4.58 installation failed.
|-Successify --- Command executed! ---