虎皮青椒 发表于 2019-5-11 01:00:28

LNMP1.6失败!!!


只有mysql ok
咋回事啊?!

licess 发表于 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: *** 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:18

谢谢回复,辛苦辛苦。。:handshake
页: [1]
查看完整版本: LNMP1.6失败!!!