To build any software that links against external libraries, you will need a C compiler and development versions of any libraries you may be linking against. To ensure that things work properly, install the compiler using the standard method for your operating system.
In Fedora, this would be done using the dnf tool:
sudo dnf install -y gcc
If you are unsure whether you have gcc installed, type the following command in a terminal window:
gcc -version
If gcc is installed, you'll see something like this: