- error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
需要安装redhat-rpm-config
sudo dnf installl redhat-rpm-config
- fatal error: Python.h: No such file or directory
需要安装python-devel
。针对python3是python3-devel
sudo dnf install python-devel
Python3
sudo dnf install python3-devel