为什么我安装vsftp中每次到make install出问题
# cd vsftpd-1.2.1# make install
if [ -x /usr/local/sbin ]; then \
install -m 755 vsftpd /usr/local/sbin/vsftpd; \
else \
install -m 755 vsftpd /usr/sbin/vsftpd; fi
if [ -x /usr/local/man ]; then \
install -m 644 vsftpd.8 /usr/local/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/local/man/man5/vsftpd.conf.5; \
elif [ -x /usr/share/man ]; then \
install -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5; \
else \
install -m 644 vsftpd.8 /usr/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/man/man5/vsftpd.conf.5; fi
install: 无法创建一般文件‘/usr/local/man/man8/vsftpd.8’: 没有那个文件 或目录
install: 无法创建一般文件‘/usr/local/man/man5/vsftpd.conf.5’: 没有那个文件或目录
make: *** 错误 1
# 先
mkdir /usr/local/man/man5/
mkdir /usr/local/man/man8/
后你试试 install # mkdir /usr/local/man/man8
# cd /usr/zVSftp/
# cd vsftpd-1.2.1
# ls
access.c hash.o prelogin.c str.o
access.h INSTALL prelogin.h sysdeputil.c
access.o ipv6parse.c prelogin.o sysdeputil.h
ascii.c ipv6parse.h privops.c sysdeputil.o
ascii.h ipv6parse.o privops.h sysstr.c
ascii.o LICENSE privops.o sysstr.h
AUDIT logging.c privsock.c sysstr.o
banner.c logging.h privsock.h sysutil.c
banner.h logging.o privsock.o sysutil.h
banner.o ls.c README sysutil.o
BENCHMARKS ls.h README.securitytcpwrap.c
BUGS ls.o README.solaris tcpwrap.h
builddefs.hmain.c RedHat tcpwrap.o
Changelog main.o REWARD TODO
COPYING Makefile secbuf.c tunables.c
defs.h Makefile.sun secbuf.h tunables.h
dummyinc netstr.c secbuf.o tunables.o
EXAMPLE netstr.h SECURITY TUNING
FAQ netstr.o secutil.c twoprocess.c
filesize.h oneprocess.c secutil.h twoprocess.h
filestr.c oneprocess.h secutil.o twoprocess.o
filestr.h oneprocess.o session.h utility.c
filestr.o parseconf.c SIZE utility.h
ftpcmdio.c parseconf.h SPEED utility.o
ftpcmdio.h parseconf.o standalone.c vsf_findlibs.sh
ftpcmdio.o port standalone.h vsftpd
ftpcodes.h postlogin.c standalone.o vsftpd.8
ftpdataio.cpostlogin.h str.c vsftpd.conf
ftpdataio.hpostlogin.o str.h vsftpd.conf.5
ftpdataio.opostprivparent.cstrlist.c vsftpver.h
hash.c postprivparent.hstrlist.h xinetd.d
hash.h postprivparent.ostrlist.o
# make install
if [ -x /usr/local/sbin ]; then \
install -m 755 vsftpd /usr/local/sbin/vsftpd; \
else \
install -m 755 vsftpd /usr/sbin/vsftpd; fi
if [ -x /usr/local/man ]; then \
install -m 644 vsftpd.8 /usr/local/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/local/man/man5/vsftpd.conf.5; \
elif [ -x /usr/share/man ]; then \
install -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5; \
else \
install -m 644 vsftpd.8 /usr/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/man/man5/vsftpd.conf.5; fi
if [ -x /etc/xinetd.d ]; then \
install -m 644 xinetd.d/vsftpd /etc/xinetd.d/vsftpd; fi
# 还是出错。。。同样的错。 没有帮我吗? 大家帮帮我啊。。。。。。。。。。。
55555555555~~~~~~~~~~~ 修改make文件,把其中拷贝出错的句子删除
然后再make install 说实话你为什么这么麻烦,有编译好的vsftp包为什么不用? 谢谢大家
页:
[1]