我在安裝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