小编Bea*_*rai的帖子

在 Centos 上编译 PAM 模块时出现“cc: Command not found”

我试图让一个 linux 服务器成为一个半径客户端。所以我下载了pam_radius。按照本网站的步骤:openacs.org/doc/install-pam-radius.html 并按照以下步骤操作:

cd /usr/local/src
wget ftp://ftp.freeradius.org/pub/radius/pam_radius-1.3.16.tar
tar xvf pam_radius-1.3.16
cd pam_radius
make
cp pam_radius_auth.so /lib/security
Run Code Online (Sandbox Code Playgroud)

我以为我可以安装它,但我被困在“make”我收到此错误消息:

[root@zabbix pam_radius-1.4.0]# make
cc -Wall -fPIC -c src/pam_radius_auth.c -o pam_radius_auth.o
make: cc: Command not found
make: *** [pam_radius_auth.o] Error 127
Run Code Online (Sandbox Code Playgroud)

我用谷歌搜索了这个错误信息,有人说他们安装了 pam-devel。但即使在安装 pam-devel 后,我也收到相同的消息。我能做什么?

compiling centos radius

4
推荐指数
2
解决办法
8516
查看次数

标签 统计

centos ×1

compiling ×1

radius ×1