lnmp1.6 腾讯云 安装php失败
lnmp1.6 腾讯云 安装php失败看不出什么原因,用腾讯云的源和阿里的源都是这个问题
请大神解惑
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:25: note: suggested alternative:
In file included from /root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:26:0,
from /root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:21:
/usr/include/unicode/unistr.h:289:20: note: ‘icu_63::UnicodeString’
class U_COMMON_API UnicodeString : public Replaceable
^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:40: error: ‘ret’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:45: error: expected primary-expression before ‘char’
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:64: error: expected primary-expression before ‘str_len’
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:84: error: expected primary-expression before ‘*’ token
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:85: error: ‘status’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^
Makefile:964: recipe for target 'ext/intl/intl_convertcpp.lo' failed
make: *** Error 1
你系统自带的icu版本是64.1太高,php 5.6已经停止支持,只能换php 7.1及以上版本或者更换其他低ubuntu版本或linux发行版但是正常ubuntu 16.04上自带的icu是55.1
好的,感谢
页:
[1]