AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] Failed to install AMH |
|
---|---|
deepure |
deepure 发表于 2013-11-19 21:27:34
[OK] ams-1.5.0107-02 install completed.
Sorry, Failed to install AMH Please contact us: http://amysql.com 试过ubuntu 13.04 32bit 及64bit,新系统未安装其它内容 附件 amh.zip
点赞,加油! (0分)
2013-11-19 21:27:34 1
|
amysql |
看到有libiconv安装报错,
./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) libiconv安装不成功的话,PHP也会安装失败。 试下手动安装libiconv:再安装看看 sed -i '/gets is a security hole/d' gnulib-lib/stdio.in.h(在源码中找到gnulib-lib)
回复
2013-11-20 13:40:25 2
AMH面板 - 好用高效低占用、安全可靠极稳定 |
deepure |
本帖最后由 deepure 于 2013-11-20 21:58 编辑
手动编译libiconv,也有同样的报错,12.04和debian没问题。搜索了下libiconv1.14某些情况下需要打个patch 附件 libiconv-glibc-2.16.patch.gz
回复
2013-11-20 21:57:20 3
|
ptsa |
你最后解决了了吗?
回复
2014-02-07 18:35:53 4
|
ptsa |
--- srclib/stdio.in.h.orig 2011-08-07 16:42:06.000000000 +0300 补丁内容 怎么修改?
+++ srclib/stdio.in.h 2013-01-10 15:53:03.000000000 +0200 @@ -695,7 +695,9 @@ /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); +#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); +#endif #endif
回复
2014-02-07 20:53:55 5
|
ptsa |
管理员在新版本中 从集成包里修改这个问题吧,
让我们这些小白容易点
回复
2014-02-07 21:43:10 6
|