- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2019-6-9 19:42:01
|
显示全部楼层
/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(),
^~~~~~
make: *** [Makefile:932: ext/intl/intl_convertcpp.lo] Error 1
php 7.0及以下版本都已经停止支持和更新了
低于php 7.1的版本无法在ubuntu 19.04这种非常新的linux发行版上安装 |
|