免费注册 查看新帖 |

Chinaunix

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

安装iptraf出错!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-02 20:22 |只看该作者 |倒序浏览
安装iptraf出错!!
[root@hqzxx tmp]# cd iptraf-2.7.0
[root@hqzxx iptraf-2.7.0]# ./Setup
=====================================================================
IPTraf Version 2.7.0 Setup
Target Platform: Linux/i686
---------------------------------------------------------------------

>;>;>;>;>;>; COMPILING IPTRAF 2.7.0 FROM SUPPLIED SOURCE CODE

make: Entering directory `/tmp/iptraf-2.7.0/src'
rm -f *.o *~ core iptraf rvnamed rawtime cfconv
make -C ../support clean
make[1]: Entering directory `/tmp/iptraf-2.7.0/support'
rm -rf *.o *~ libtextbox.a libtextbox.so
make[1]: Leaving directory `/tmp/iptraf-2.7.0/support'
make: Leaving directory `/tmp/iptraf-2.7.0/src'
make: Entering directory `/tmp/iptraf-2.7.0/support'
rm -rf *.o *~ libtextbox.a libtextbox.so
make: Leaving directory `/tmp/iptraf-2.7.0/support'
make: Entering directory `/tmp/iptraf-2.7.0/src'
gcc -Wall -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\" -I/usr/include/ncurses -I../support -DVERSION=\"2.7.0\" -DPLATFORM=\"Linux/i386\" -g -c -o iptraf.o iptraf.c
iptraf.c:26:20: stdlib.h: No such file or directory
iptraf.c:27:20: unistd.h: No such file or directory
iptraf.c:28:20: getopt.h: No such file or directory
iptraf.c:29:20: curses.h: No such file or directory
iptraf.c:30:19: panel.h: No such file or directory
iptraf.c:31:20: signal.h: No such file or directory
iptraf.c:32:20: string.h: No such file or directory
iptraf.c:33:18: time.h: No such file or directory
iptraf.c:34:23: sys/types.h: No such file or directory
iptraf.c:35:22: sys/stat.h: No such file or directory
iptraf.c:36:19: fcntl.h: No such file or directory
iptraf.c:37:20: dirent.h: No such file or directory
iptraf.c:38:19: errno.h: No such file or directory
In file included from iptraf.c:39:
../support/menurt.h:34: syntax error before "WINDOW"
../support/menurt.h:34: warning: no semicolon at end of struct or union
../support/menurt.h:35: warning: type defaults to `int' in declaration of `menupanel'
../support/menurt.h:35: warning: data definition has no type or storage class
../support/menurt.h:36: syntax error before '*' token
../support/menurt.h:36: warning: type defaults to `int' in declaration of `descwin'
../support/menurt.h:36: warning: data definition has no type or storage class
../support/menurt.h:37: syntax error before '*' token
../support/menurt.h:37: warning: type defaults to `int' in declaration of `descpanel'
../support/menurt.h:37: warning: data definition has no type or storage class
../support/menurt.h:45: syntax error before '}' token
In file included from iptraf.c:40:
../support/winops.h:8:20: curses.h: No such file or directory
In file included from iptraf.c:40:
../support/winops.h:11: syntax error before '*' token
../support/winops.h:13: syntax error before '*' token
../support/winops.h:14: syntax error before '*' token
In file included from iptraf.c:43:
deskman.h:11: syntax error before "WINDOW"
deskman.h:13: syntax error before '*' token
deskman.h:15: syntax error before '*' token
deskman.h:19: syntax error before "WINDOW"
In file included from iptraf.c:46:
fltselect.h:10:23: sys/types.h: No such file or directory
fltselect.h:11:25: netinet/udp.h: No such file or directory
In file included from iptraf.c:46:
fltselect.h:26: syntax error before "u_int16_t"
fltselect.h:26: warning: no semicolon at end of struct or union
In file included from iptraf.c:48:
ifstats.h:29: syntax error before "WINDOW"
ifstats.h:29: warning: no semicolon at end of struct or union
ifstats.h:30: warning: type defaults to `int' in declaration of `borderpanel'
ifstats.h:30: warning: data definition has no type or storage class
ifstats.h:31: syntax error before '*' token
ifstats.h:31: warning: type defaults to `int' in declaration of `statwin'
ifstats.h:31: warning: data definition has no type or storage class
ifstats.h:32: syntax error before '*' token
ifstats.h:32: warning: type defaults to `int' in declaration of `statpanel'
ifstats.h:32: warning: data definition has no type or storage class
ifstats.h:33: syntax error before '}' token
In file included from iptraf.c:49:
serv.h:26: syntax error before "time_t"
serv.h:26: warning: no semicolon at end of struct or union
serv.h:27: warning: type defaults to `int' in declaration of `proto_starttime'
serv.h:27: warning: data definition has no type or storage class
serv.h:31: syntax error before '}' token
serv.h:43: syntax error before "WINDOW"
serv.h:43: warning: no semicolon at end of struct or union
serv.h:44: warning: type defaults to `int' in declaration of `panel'
serv.h:44: warning: data definition has no type or storage class
serv.h:45: syntax error before '*' token
serv.h:45: warning: type defaults to `int' in declaration of `borderwin'
serv.h:45: warning: data definition has no type or storage class
serv.h:46: syntax error before '*' token
serv.h:46: warning: type defaults to `int' in declaration of `borderpanel'
serv.h:46: warning: data definition has no type or storage class
serv.h:47: syntax error before '}' token
In file included from iptraf.c:54:
tcptable.h:9:20: stdlib.h: No such file or directory
tcptable.h:10:20: string.h: No such file or directory
tcptable.h:11:20: unistd.h: No such file or directory
tcptable.h:12:19: fcntl.h: No such file or directory
tcptable.h:13:20: curses.h: No such file or directory
tcptable.h:14:19: panel.h: No such file or directory
tcptable.h:15:19: netdb.h: No such file or directory
tcptable.h:16:18: time.h: No such file or directory
tcptable.h:17:23: sys/types.h: No such file or directory
tcptable.h:18:24: sys/socket.h: No such file or directory
tcptable.h:19:24: netinet/in.h: No such file or directory
tcptable.h:20:23: arpa/inet.h: No such file or directory
tcptable.h:21:24: net/if_arp.h: No such file or directory
tcptable.h:22:23: asm/types.h: No such file or directory
tcptable.h:23:29: linux/if_packet.h: No such file or directory
tcptable.h:24:28: linux/if_ether.h: No such file or directory
tcptable.h:25:27: linux/if_fddi.h: No such file or directory
tcptable.h:26:25: linux/if_tr.h: No such file or directory
tcptable.h:27:20: net/if.h: No such file or directory
tcptable.h:28:24: netinet/ip.h: No such file or directory
tcptable.h:29:25: netinet/udp.h: No such file or directory
In file included from tcptable.h:31,
from iptraf.c:54:
tcphdr.h:7:23: sys/types.h: No such file or directory
tcphdr.h:8:20: endian.h: No such file or directory
In file included from tcptable.h:31,
from iptraf.c:54:
tcphdr.h:11: syntax error before "u_int16_t"
tcphdr.h:11: warning: no semicolon at end of struct or union
tcphdr.h:12: warning: type defaults to `int' in declaration of `dest'
tcphdr.h:12: warning: data definition has no type or storage class
tcphdr.h:13: syntax error before "seq"
tcphdr.h:13: warning: type defaults to `int' in declaration of `seq'
tcphdr.h:13: warning: data definition has no type or storage class
tcphdr.h:14: syntax error before "ack_seq"
tcphdr.h:14: warning: type defaults to `int' in declaration of `ack_seq'
tcphdr.h:14: warning: data definition has no type or storage class
tcphdr.h:16: syntax error before "res1"
tcphdr.h:36: warning: type defaults to `int' in declaration of `window'
tcphdr.h:36: warning: data definition has no type or storage class
tcphdr.h:37: syntax error before "check"
tcphdr.h:37: warning: type defaults to `int' in declaration of `check'
tcphdr.h:37: warning: data definition has no type or storage class
tcphdr.h:38: syntax error before "urg_ptr"
tcphdr.h:38: warning: type defaults to `int' in declaration of `urg_ptr'
tcphdr.h:38: warning: data definition has no type or storage class
In file included from iptraf.c:54:
tcptable.h:47: field `saddr' has incomplete type
tcptable.h:48: field `daddr' has incomplete type
tcptable.h:74: syntax error before "time_t"
tcptable.h:74: warning: no semicolon at end of struct or union
tcptable.h:75: warning: type defaults to `int' in declaration of `starttime'
tcptable.h:75: warning: data definition has no type or storage class
tcptable.h:76: syntax error before "conn_starttime"
tcptable.h:76: warning: type defaults to `int' in declaration of `conn_starttime'
tcptable.h:76: warning: data definition has no type or storage class
tcptable.h:79: conflicting types for `prev_entry'
serv.h:29: previous declaration of `prev_entry'
tcptable.h:80: conflicting types for `next_entry'
serv.h:30: previous declaration of `next_entry'
tcptable.h:81: syntax error before '}' token
tcptable.h:112: syntax error before "WINDOW"
tcptable.h:112: warning: no semicolon at end of struct or union
tcptable.h:113: warning: type defaults to `int' in declaration of `tcppanel'
tcptable.h:113: warning: data definition has no type or storage class
tcptable.h:114: syntax error before '*' token
tcptable.h:114: warning: type defaults to `int' in declaration of `borderwin'
tcptable.h:114: warning: data definition has no type or storage class
tcptable.h:115: syntax error before '*' token
tcptable.h:115: warning: type defaults to `int' in declaration of `borderpanel'
tcptable.h:115: warning: data definition has no type or storage class
tcptable.h:116: syntax error before '}' token
tcptable.h:133: syntax error before "FILE"
tcptable.h:141: syntax error before "FILE"
tcptable.h:157: syntax error before "FILE"
tcptable.h:159: syntax error before "FILE"
In file included from iptraf.c:55:
log.h:11: syntax error before '*' token
log.h:12: syntax error before "FILE"
log.h:14: syntax error before '*' token
log.h:15: syntax error before '*' token
log.h:16: syntax error before '*' token
log.h:17: syntax error before '*' token
In file included from iptraf.c:57:
rvnamed.h:1:24: netinet/in.h: No such file or directory
rvnamed.h:2:23: arpa/inet.h: No such file or directory
In file included from iptraf.c:57:
rvnamed.h:24: field `saddr' has incomplete type
rvnamed.h:26: confused by earlier errors, bailing out
make: *** [iptraf.o] Error 1
make: Leaving directory `/tmp/iptraf-2.7.0/src'
make: Entering directory `/tmp/iptraf-2.7.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
*** Clearing non-TCP filter data file
>;>;>; 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 `/tmp/iptraf-2.7.0/src'
[root@hqzxx iptraf-2.7.0]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP