免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1886 | 回复: 4
打印 上一主题 下一主题

[网络管理] 安装Iptraf不成功! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-17 16:31 |只看该作者 |倒序浏览
中间有错误提示,没安装成功没有生成文件。
是在Red hat9.0做的NAT服务器上安装的

[root@router iptraf-3.0.0]# ./Setup
=====================================================================
IPTraf Version 3.0.0 Setup
Target Platform: Linux/i686
---------------------------------------------------------------------

>>>>>> COMPILING IPTRAF 3.0.0 FROM SUPPLIED SOURCE CODE

make: Entering directory `/root/iptraf-3.0.0/src'
rm -f *.o *~ core iptraf rvnamed rawtime
make -C ../support clean
make[1]: Entering directory `/root/iptraf-3.0.0/support'
rm -rf *.o *~ libtextbox.a libtextbox.so
make[1]: Leaving directory `/root/iptraf-3.0.0/support'
make: Leaving directory `/root/iptraf-3.0.0/src'
make: Entering directory `/root/iptraf-3.0.0/support'
rm -rf *.o *~ libtextbox.a libtextbox.so
make: Leaving directory `/root/iptraf-3.0.0/support'
make: Entering directory `/root/iptraf-3.0.0/src'
gcc -Wall  -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDI
R=\"/usr/local/bin\" -I/usr/include/ncurses -I../support -DVERSION=\"3.0.0\" -DP
LATFORM=\"Linux/i386\"     -c -o iptraf.o iptraf.c
make: gcc: Command not found
make: *** [iptraf.o] Error 127
make: Leaving directory `/root/iptraf-3.0.0/src'
make: Entering directory `/root/iptraf-3.0.0/src'

*** Installing executable programs and preparing work directories

>>> 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
>>> IPTraf work directory /var/local/iptraf already exists
>>> IPTraf log directory /var/log/iptraf already exists
>>> IPTraf lockfile directory /var/run/iptraf already exists


*** iptraf, and rvnamed executables are in /usr/local/bin
*** Log files are placed in /var/log/iptraf


======================================================================

Please read the RELEASE-NOTES file for important new information about
this version. You can view this file now (will require the 'less'
program in /usr/bin.  Press Q to quit when done).

Would you like to view the RELEASE-NOTES file now (Y/N)? n

=====================================================================

Thank you for installing IPTraf.  You can now start IPTraf by issuing
the command

    /usr/local/bin/iptraf

at your shell prompt.  You can also add /usr/local/bin to your PATH environment
variable to avoid having to type the pathname when invoking the program.

make: Leaving directory `/root/iptraf-3.0.0/src'
[root@router iptraf-3.0.0]#

论坛徽章:
0
2 [报告]
发表于 2007-04-18 09:24 |只看该作者
make: gcc: Command not found   没装GCC吧?:wink:

论坛徽章:
0
3 [报告]
发表于 2007-04-18 11:01 |只看该作者
[root@router root]# rpm -qa | grep gcc
libgcc-3.2.2-5
[root@router root]#
看了一下有啊,是版本的问题吗?

论坛徽章:
0
4 [报告]
发表于 2007-04-18 11:09 |只看该作者
gcc 和libgcc不一样的吧。

论坛徽章:
0
5 [报告]
发表于 2007-04-18 11:48 |只看该作者
libgcc 是库。。。。。 gcc是gcc  LZ请注意下。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP