VPS侦探论坛

 找回密码
 注册
查看: 3696|回复: 1

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

[复制链接]
发表于 2017-2-9 12:16:32 | 显示全部楼层 |阅读模式

  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。
以前(没添加这三个配置选项之前)没注意,以为安装成功了应该是都安装上了,这次(添加了这三个配置选项之后)偶然发现了这个错误,试着去掉这三个配置选项之后还是有这个错误,还麻烦军哥帮忙看一下

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-2-9 13:43:05 | 显示全部楼层


不清楚原因,可能是arm架构的原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-27 21:18 , Processed in 0.027292 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表