VPS侦探论坛

标题: lnmpa安装libconv失败但是lnmpa安装成功 [打印本页]

作者: lsltx    时间: 2017-2-9 12:16
标题: lnmpa安装libconv失败但是lnmpa安装成功
  1. In file included from progname.c:26:0:
  2. ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function)
  3. _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
  4. ^
  5. Makefile:914: recipe for target 'progname.o' failed
  6. make[2]: *** [progname.o] Error 1
  7. make[2]: Leaving directory '/home/pi/lnmp1.4/src/libiconv-1.14/srclib'
  8. Makefile:865: recipe for target 'all' failed
  9. make[1]: *** [all] Error 2
  10. make[1]: Leaving directory '/home/pi/lnmp1.4/src/libiconv-1.14/srclib'
  11. Makefile:33: recipe for target 'all' failed
  12. 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