I was trying to make a linux server become a radius client. So I downloaded pam_radius. By following the steps from this website : openacs.org/doc/install-pam-radius.html and by following these steps : cd /usr/local/srcwget ftp://ftp.freeradius.org/pub/radius/pam_radius-1.3.16.tartar xvf pam_radius-1.3.16cd pam_radiusmakecp pam_radius_auth.so /lib/securityI thought I could install it but I got stuck at make I get this error message:[root@zabbix pam_radius-1.4.0]# makecc -Wall -fPIC -c src/pam_radius_auth.c -o pam_radius_auth.omake: cc: Command not foundmake: *** [pam_radius_auth.o] Error 127I googled this error message and someone said they installed pam-devel. But I get the same message even after installation of pam-devel. What can I do?
cc: Command not found when compiling a PAM module on Centos
centos;compiling;radius
Your error message is:make: cc: Command not foundwhich tells you that you are missing the C compiler. As @GAD3R suggests, installing the Development Tools group will correct this. You probably also need the pam-devel package.But, that said: there's really no reason to build pam_radius yourself, as it already exists in EPEL (Extra Packages for Enterprise Linux). Find instructions for configuring it here, and then just sudo yum install pam_radius.