VPS侦探论坛

标题: LNMP1.6失败!!! [打印本页]

作者: 虎皮青椒    时间: 2019-5-11 01:00
标题: LNMP1.6失败!!!

只有mysql ok
咋回事啊?!


作者: licess    时间: 2019-5-11 12:42
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp: In function ‘int intl_charFromString(const int&, char**, int*, UErrorCode*)’:
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:56:11: error: request for member ‘isBogus’ in ‘from’, which is of non-class type ‘const int’
  if (from.isBogus()) {
           ^~~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:62:26: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
  int32_t capacity = from.length() * 3 + 1;
                          ^~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:64:11: error: request for member ‘isEmpty’ in ‘from’, which is of non-class type ‘const int’
  if (from.isEmpty()) {
           ^~~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:74:31: error: request for member ‘getBuffer’ in ‘from’, which is of non-class type ‘const int’
  const UChar *utf16buf = from.getBuffer();
                               ^~~~~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:76:69: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
  u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(),
                                                                     ^~~~~~
Makefile:847: recipe for target 'ext/intl/intl_convertcpp.lo' failed
make: *** [ext/intl/intl_convertcpp.lo] Error 1

Ubuntu 18.04的icu版本是64.1,对于php 5.6来说,icu 64.1并未适配且php 5.6已经不再更新,要装php 5.6的话得可以使用ubuntu 18以下的版本试试
作者: 虎皮青椒    时间: 2019-5-11 20:54
谢谢回复,辛苦辛苦。。




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4