I cant find a place to suggest a fix in a support article, so I’m sending here…
In article:
In Fedora 29, gives an error:
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
apxs:Error: Command failed with rc=65536
Because need the package “redhat-rpm-config”. So need to replace the line:
sudo yum install httpd-devel libtool git
with
sudo yum install httpd-devel libtool git redhat-rpm-config
Hope this helps.