免费注册 查看新帖 |

Chinaunix

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

[FTP] 安装wu-ftp报错,请帮忙 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-11-30 13:12 |只看该作者 |倒序浏览
在Fedora Core release 2下安装wu-ftpd-2.6.2,configure应该是成功的。信息如下:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for ranlib... ranlib
checking for bison... bison -y
checking for a BSD compatible install... /usr/bin/install -c
checking for ar... ar
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking if we can do hard links... yes - using ln
checking for dirent.h... yes
checking for regex.h... yes
checking for shadow.h... yes
checking for security/pam_appl.h... yes
checking for opie.h... no
checking for skey.h... no
checking for syslog.h... yes
checking for sys/syslog.h... yes
checking for fcntl.h... yes
checking for mntent.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for glob.h... yes
checking for grp.h... yes
checking for ndir.h... no
checking for sys/dir.h... yes
checking for sys/ndir.h... no
checking for string.h... yes
checking for vmsdir.h... no
checking for sys/systeminfo.h... no
checking for bsd/bsd.h... no
checking for sys/param.h... yes
checking for values.h... yes
checking for limits.h... yes
checking for sys/types.h... yes
checking for sys/mntent.h... no
checking for sys/mnttab.h... no
checking for paths.h... yes
checking for dirfd... yes
checking for fchdir... yes
checking for flock... yes
checking for ftw... yes
checking for getcwd... yes
checking for getdtablesize... yes
checking for pstat... no
checking for lstat... yes
checking for vprintf... yes
checking for snprintf... yes
checking for regexec... yes
checking for regex... no
checking for fgetspent... yes
checking for usercmp... no
checking for getusershell... yes
checking for setuid... yes
checking for vsnprintf... yes
checking for snprintf... (cached) yes
checking for strcasestr... yes
checking for strdup... yes
checking for sys/types.h... yes
checking for sys/mntent.h... no
checking for sys/mnttab.h... no
checking for paths.h... yes
checking for dirfd... yes
checking for fchdir... yes
checking for flock... yes
checking for ftw... yes
checking for getcwd... yes
checking for getdtablesize... yes
checking for pstat... no
checking for lstat... yes
checking for vprintf... yes
checking for snprintf... yes
checking for regexec... yes
checking for regex... no
checking for fgetspent... yes
checking for usercmp... no
checking for getusershell... yes
checking for setuid... yes
checking for vsnprintf... yes
checking for snprintf... (cached) yes
checking for strcasestr... yes
checking for strdup... yes
checking for strerror... yes
checking for strsep... yes
checking for strstr... yes
checking for syslog... yes
checking for glob... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for sigprocmask... yes
checking for quotactl... yes
checking for getrlimit... yes
checking for sysconf... yes
checking for setsid... yes
checking for memmove... yes
checking for strtoul... yes
checking for seteuid... yes
checking for setegid... yes
checking for crypt in -lcrypt... yes
checking for socket in -lsocket... no
checking for socket in -lsocket... (cached) no
checking for connect in -lsocket... no
checking for connect in -lsocket... (cached) no
checking for inet_addr in -lnsl... yes
checking for sys_siglist... yes
checking for setspent in -lshadow... no
checking for getspnam in -lshadow... no
checking for setspent in -lc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating support/Makefile
config.status: creating util/privatepw/Makefile
config.status: creating src/pathnames.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating src/config.h
config.status: src/config.h is unchanged

但make时就报了很多错误:
(cd support ; make all)
make[1]: Entering directory `/usr/wu_ftp/wu-ftpd-2.6.2/support'
rm -f libsupport.a
ar cq libsupport.a authuser.o
ranlib libsupport.a
make[1]: Leaving directory `/usr/wu_ftp/wu-ftpd-2.6.2/support'
(cd util/privatepw ; make all)
make[1]: Entering directory `/usr/wu_ftp/wu-ftpd-2.6.2/util/privatepw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/wu_ftp/wu-ftpd-2.6.2/util/privatepw'
(cd src ; make all)
make[1]: Entering directory `/usr/wu_ftp/wu-ftpd-2.6.2/src'
gcc -g -O2 -I.. -I../support -c -o COPYRIGHT.o COPYRIGHT.c
bison -y ftpcmd.y
ftpcmd.y:197.9: syntax error, unexpected "="
ftpcmd.y:205.9: syntax error, unexpected "="
ftpcmd.y:228.17-18: $2 of `cmd' has no declared type
ftpcmd.y:260.17-18: $2 of `cmd' has no declared type
ftpcmd.y:271.17-18: $2 of `cmd' has no declared type
ftpcmd.y:310.55-56: $4 of `cmd' has no declared type
ftpcmd.y:311.17-18: $2 of `cmd' has no declared type
ftpcmd.y:312.25-26: $4 of `cmd' has no declared type
ftpcmd.y:325.55-56: $4 of `cmd' has no declared type
ftpcmd.y:326.17-18: $2 of `cmd' has no declared type
ftpcmd.y:327.25-26: $4 of `cmd' has no declared type
ftpcmd.y:340.45-46: $4 of `cmd' has no declared type
ftpcmd.y:341.17-18: $2 of `cmd' has no declared type
ftpcmd.y:347.50-51: $4 of `cmd' has no declared type
ftpcmd.y:347.54-55: invalid $ value
ftpcmd.y:347.54-55: $8 of `cmd' has no declared type
ftpcmd.y:348.17-18: $2 of `cmd' has no declared type
ftpcmd.y:354.55-56: $4 of `cmd' has no declared type
ftpcmd.y:355.17-18: $2 of `cmd' has no declared type
ftpcmd.y:355.23-24: $4 of `cmd' has no declared type
ftpcmd.y:355.53-54: $4 of `cmd' has no declared type
ftpcmd.y:357.41-42: $4 of `cmd' has no declared type
ftpcmd.y:359.17-18: $4 of `cmd' has no declared type
ftpcmd.y:360.22-23: $4 of `cmd' has no declared type
ftpcmd.y:365.55-56: $4 of `cmd' has no declared type
ftpcmd.y:366.17-18: $2 of `cmd' has no declared type
ftpcmd.y:366.23-24: $4 of `cmd' has no declared type
ftpcmd.y:366.53-54: $4 of `cmd' has no declared type
ftpcmd.y:367.23-24: $4 of `cmd' has no declared type
ftpcmd.y:368.17-18: $4 of `cmd' has no declared type
ftpcmd.y:369.22-23: $4 of `cmd' has no declared type
ftpcmd.y:374.55-56: $4 of `cmd' has no declared type
ftpcmd.y:375.17-18: $2 of `cmd' has no declared type
ftpcmd.y:1071.26-27: $2 of `type_code' has no declared type
ftpcmd.y:1075.14: warning: type clash on default action: <Number>; != <>;
ftpcmd.y:1076.9: syntax error, unexpected "="
ftpcmd.y:1089.13: warning: type clash on default action: <Number>; != <>;
ftpcmd.y:1090.9: syntax error, unexpected "="
ftpcmd.y:1104.9: syntax error, unexpected "="
ftpcmd.y:1196.9: syntax error, unexpected "="
ftpcmd.y:1220.12: warning: empty rule for typed nonterminal, and no action
ftpcmd.y:1221.9: syntax error, unexpected "="
make[1]: *** [ftpcmd.c] 閿欒? 1
make[1]: Leaving directory `/usr/wu_ftp/wu-ftpd-2.6.2/src'
make: *** [all] 閿欒? 2

configure时的参数如下:
./configure --prefix=/usr/wu_ftp --disable-dnsretry --enable-quota --enable-pam
--disable-daemon --disable-newlines --disable-virtual --disable-plsm --disable-p
asvip --disable-anonymous --enable-ls --enable-numericuid
请各位帮帮忙!谢谢!

论坛徽章:
0
2 [报告]
发表于 2004-11-30 13:52 |只看该作者

安装wu-ftp报错,请帮忙

service vsftpd start
wu-ftpd漏洞太多
不建议使用
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP