当前位置:Linux教程 - Linux文化 - WU-FTPD安装问题求救!!!

WU-FTPD安装问题求救!!!


我在安装WU-FTPD的时候,出了这个错误,不知道怎么解决,为些求教大家// 下面是我安装的过程。我用的是wu-ftpd-current.tar.gz包,解压之后,用这个命令make install后出现的错误。如下: [root@linux wu-ftpd-2.6.2]# make install (cd support ; make all) make[1]: Entering directory `/soft/wu-ftpd-2.6.2/support' rm -f libsupport.a ar cq libsupport.a authuser.o ranlib libsupport.a make[1]: Leaving directory `/soft/wu-ftpd-2.6.2/support' (cd util/privatepw ; make all) make[1]: Entering directory `/soft/wu-ftpd-2.6.2/util/privatepw' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/soft/wu-ftpd-2.6.2/util/privatepw' (cd src ; make all) make[1]: Entering directory `/soft/wu-ftpd-2.6.2/src' 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: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 `/soft/wu-ftpd-2.6.2/src' make: *** [all] 错误 2 [root@linux wu-ftpd-2.6.2]# 就是这个错误了。请大家帮帮忙。。我看不懂。

>>> 此贴的回复 >> 安装原码程序时,都要执行三步: 1./configure 2 make 3 make install

>>> 此贴的回复 >> 费解,google了一下: bison版本太新:( cp ftpcmd.y ftpcmd.y.orig sed -e "s/=[ "$'\t'"][ "$'\t'"]*{/'=' {/" ftpcmd.y.orig > ftpcmd.y