> CentOS > CentOS故障 >

安装iptraf 失败

安装 iptraf 失败 make: gcc: Command not found make: *** [iptraf.o] Error 127 Installing iptraf in /usr/local/bin /usr/bin/install: cannot stat `iptraf': No such file or directory Installing rvnamed in /usr/local/bin /usr/bin/instal

安装iptraf 失败

make: gcc: Command not found

make: *** [iptraf.o] Error 127

>>> Installing iptraf in /usr/local/bin

/usr/bin/install: cannot stat `iptraf': No such file or directory

>>> Installing rvnamed in /usr/local/bin

/usr/bin/install: cannot stat `rvnamed': No such file or directory

[root@firewall3 iptraf-2.7.0]# /usr/local/bin/iptraf

-bash: /usr/local/bin/iptraf: No such file or directory

[root@firewall3 iptraf-2.7.0]# cd /usr/local/bin

[root@firewall3 bin]# ls

[root@firewall3 bin]#

我想,一定是有些软件没有装好,

2、安装环境需要 
--- gcc 2.7.2.3 or later 
--- GNU C (glibc) development library 2.1 or later 
--- ncurses development libraries 4.2 or later 
可以在linux下执行: 
# rpm -qa | grep gcc 
# rpm -qa | grep glibc 
# rpm -qa | grep ncurses 
如果没有,则请安装

我察看以下,自己的机器

[root@firewall3 iptraf]# rpm -qa |grep gcc

compat-gcc-c++-7.3-2.96.128

libgcc-3.2.3-42

compat-gcc-7.3-2.96.128

[root@firewall3 iptraf]# rpm -qa |grep glibc

glibc-headers-2.3.2-95.27

glibc-common-2.3.2-95.27

glibc-kernheaders-2.4-8.34.1

glibc-devel-2.3.2-95.27

glibc-2.3.2-95.27

[root@firewall3 iptraf]# rpm -qa |grep ncurses

ncurses-5.3-9.3

[root@firewall3 iptraf]#

我使用的是RedHat Enterprise Linux 3 AS 3.0

我需要什么样子的安装环境?gcc 版本太低?

 
(责任编辑:IT)