lsltx 发表于 2017-2-9 12:16:32

lnmpa安装libconv失败但是lnmpa安装成功

In file included from progname.c:26:0:
./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
Makefile:914: recipe for target 'progname.o' failed
make: *** Error 1
make: Leaving directory '/home/pi/lnmp1.4/src/libiconv-1.14/srclib'
Makefile:865: recipe for target 'all' failed
make: *** Error 2
make: Leaving directory '/home/pi/lnmp1.4/src/libiconv-1.14/srclib'
Makefile:33: recipe for target 'all' failed
make: *** Error 2
总体上,我安装的lnmpa,安装成功了。
安装lnmpa我唯一修改的脚本就是在include/php.sh里的php7.1.0的配置函数中添加了--enable-maintainer-zts --with-pic --enable-cli。
以前(没添加这三个配置选项之前)没注意,以为安装成功了应该是都安装上了,这次(添加了这三个配置选项之后)偶然发现了这个错误,试着去掉这三个配置选项之后还是有这个错误,还麻烦军哥帮忙看一下

licess 发表于 2017-2-9 13:43:05

不清楚原因,可能是arm架构的原因
页: [1]
查看完整版本: lnmpa安装libconv失败但是lnmpa安装成功