mototown 发表于 2016-8-28 17:24:37

centos5.2安装lnmp1.3full后,pureftp安装失败

centos5.2安装lnmp1.3full后,pureftp安装失败make:
mv -f .deps/libpureftpd_a-safe_rw.Tpo .deps/libpureftpd_a-safe_rw.Pogcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-tls.o -MD -MP -MF .deps/libpureftpd_a-tls.Tpo -c -o libpureftpd_a-tls.o `test -f 'tls.c' || echo './'`tls.ctls.c: In function ‘tls_init_ecdh_curve’:tls.c:54: error: ‘EC_KEY’ undeclared (first use in this function)tls.c:54: error: (Each undeclared identifier is reported only oncetls.c:54: error: for each function it appears in.)tls.c:54: error: ‘curve’ undeclared (first use in this function)make: *** Error 1make: Leaving directory `/root/lnmp1.3-full/src/pure-ftpd-1.0.42/src'make: *** Error 1make: Leaving directory `/root/lnmp1.3-full/src/pure-ftpd-1.0.42'Leaving directory `/root/lnmp1.3-full/src/pure-ftpd-1.0.42/src'make: *** Error 1
make: Leaving directory `/root/lnmp1.3-full/src/pure-ftpd-1.0.42'
make: *** Error 2
Copy configure files...
cp: cannot create regular file `/usr/local/pureftpd/sbin/': No such file or directory
chmod: cannot access `/usr/local/pureftpd/sbin/pure-config.pl': No such file or directory
mkdir: cannot create directory `/usr/local/pureftpd/etc': No such file or directory
cp: cannot create regular file `/usr/local/pureftpd/etc/pure-ftpd.conf': No such file or directory
touch: cannot touch `/usr/local/pureftpd/etc/pureftpd.passwd': No such file or directory
touch: cannot touch `/usr/local/pureftpd/etc/pureftpd.pdb': No such file or directory
Add pureftpd service at system startup...
iptables: Index of insertion too big
iptables: Index of insertion too big
iptables: Index of insertion too big
Saving firewall rules to /etc/sysconfig/iptables:         
Pureftpd install failed!

[ 本帖最后由 mototown 于 2016-8-28 17:26 编辑 ]

licess 发表于 2016-8-28 19:28:37

估计可能和centos 5.2上的openssl有关,应该是openssl版本太低导致的
换个centos 6或7应该就能解决

mototown 发表于 2016-9-4 23:36:22

回复 2# 的帖子

军哥太厉害了,所有的问题没有解决不了的!!!!:victory: :victory: :victory: :victory: :victory:
页: [1]
查看完整版本: centos5.2安装lnmp1.3full后,pureftp安装失败