- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2019-5-11 12:42:51
|
显示全部楼层
/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以下的版本试试 |
|