VPS侦探论坛
标题:
lnmpa安装libconv失败但是lnmpa安装成功
[打印本页]
作者:
lsltx
时间:
2017-2-9 12:16
标题:
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[2]: *** [progname.o] Error 1
make[2]: Leaving directory '/home/pi/lnmp1.4/src/libiconv-1.14/srclib'
Makefile:865: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pi/lnmp1.4/src/libiconv-1.14/srclib'
Makefile:33: recipe for target 'all' failed
make: *** [all] Error 2
复制代码
总体上,我安装的lnmpa,安装成功了。
安装lnmpa我唯一修改的脚本就是在include/php.sh里的php7.1.0的配置函数中添加了--enable-maintainer-zts --with-pic --enable-cli。
以前(没添加这三个配置选项之前)没注意,以为安装成功了应该是都安装上了,这次(添加了这三个配置选项之后)偶然发现了这个错误,试着去掉这三个配置选项之后还是有这个错误,还麻烦军哥帮忙看一下
作者:
licess
时间:
2017-2-9 13:43
不清楚原因,可能是arm架构的原因
欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/)
Powered by Discuz! X3.4