VPS侦探论坛

 找回密码
 注册
查看: 140|回复: 2

树莓派buster安装lnmp失败

[复制链接]
发表于 2019-7-22 13:24:44 | 显示全部楼层 |阅读模式


安装php的时候失败,其他没问题

日志


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

 楼主| 发表于 2019-7-22 13:25:25 | 显示全部楼层

本帖最后由 qwe134133987 于 2019-7-22 13:27 编辑
  1. make: *** [Makefile:932:ext/intl/intl_convertcpp.lo] 错误 1
  2. /bin/bash /home/pi/lnmp1.6/src/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile g++ -I/usr/include  -Wno-write-strings -Iext/intl/ -I/home/pi/lnmp1.6/src/php-5.6.40/ext/intl/ -DPHP_ATOM_INC -I/home/pi/lnmp1.6/src/php-5.6.40/include -I/home/pi/lnmp1.6/src/php-5.6.40/main -I/home/pi/lnmp1.6/src/php-5.6.40 -I/home/pi/lnmp1.6/src/php-5.6.40/ext/date/lib -I/home/pi/lnmp1.6/src/php-5.6.40/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/openssl/include -I/usr/local/curl/include -I/usr/local/freetype/include/freetype2 -I/home/pi/lnmp1.6/src/php-5.6.40/ext/mbstring/oniguruma -I/home/pi/lnmp1.6/src/php-5.6.40/ext/mbstring/libmbfl -I/home/pi/lnmp1.6/src/php-5.6.40/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/home/pi/lnmp1.6/src/php-5.6.40/ext/sqlite3/libsqlite -I/home/pi/lnmp1.6/src/php-5.6.40/ext/zip/lib -I/home/pi/lnmp1.6/src/php-5.6.40/TSRM -I/home/pi/lnmp1.6/src/php-5.6.40/Zend    -g -O2  -c /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp -o ext/intl/intl_convertcpp.lo
  3. In file included from /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:21:
  4. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:25: error: ‘UnicodeString’ was not declared in this scope
  5. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  6.                          ^~~~~~~~~~~~~
  7. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:25: note: suggested alternative:
  8. In file included from /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:26,
  9.                  from /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:21:
  10. /usr/include/unicode/unistr.h:289:20: note:   ‘icu_63::UnicodeString’
  11. class U_COMMON_API UnicodeString : public Replaceable
  12.                     ^~~~~~~~~~~~~
  13. In file included from /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:21:
  14. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:40: error: ‘ret’ was not declared in this scope
  15. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  16.                                         ^~~
  17. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:40: note: suggested alternative: ‘getw’
  18. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  19.                                         ^~~
  20.                                         getw
  21. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:45: error: expected primary-expression before ‘char’
  22. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  23.                                              ^~~~
  24. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:64: error: expected primary-expression before ‘str_len’
  25. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  26.                                                                 ^~~~~~~
  27. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:84: error: expected primary-expression before ‘*’ token
  28. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  29.                                                                                     ^
  30. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:85: error: ‘status’ was not declared in this scope
  31. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  32.                                                                                      ^~~~~~
  33. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:85: note: suggested alternative: ‘static’
  34. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  35.                                                                                      ^~~~~~
  36.                                                                                      static
  37. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:91: error: expression list treated as compound expression in initializer [-fpermissive]
  38. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  39.                                                                                            ^
  40. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:30:31: error: ‘UnicodeString’ does not name a type; did you mean ‘gdImageString’?
  41. int intl_charFromString(const UnicodeString &from, char **res, int *res_len, UErrorCode *status);
  42.                                ^~~~~~~~~~~~~
  43.                                gdImageString
  44. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:25: error: redefinition of ‘int intl_stringFromChar’
  45. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  46.                          ^~~~~~~~~~~~~
  47. In file included from /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:21:
  48. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:28:5: note: ‘int intl_stringFromChar’ previously defined here
  49. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
  50.      ^~~~~~~~~~~~~~~~~~~
  51. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:25: error: ‘UnicodeString’ was not declared in this scope
  52. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  53.                          ^~~~~~~~~~~~~
  54. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:25: note: suggested alternative:
  55. In file included from /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:26,
  56.                  from /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:21:
  57. /usr/include/unicode/unistr.h:289:20: note:   ‘icu_63::UnicodeString’
  58. class U_COMMON_API UnicodeString : public Replaceable
  59.                     ^~~~~~~~~~~~~
  60. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:40: error: ‘ret’ was not declared in this scope
  61. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  62.                                         ^~~
  63. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:40: note: suggested alternative: ‘recv’
  64. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  65.                                         ^~~
  66.                                         recv
  67. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:45: error: expected primary-expression before ‘char’
  68. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  69.                                              ^~~~
  70. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:64: error: expected primary-expression before ‘str_len’
  71. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  72.                                                                 ^~~~~~~
  73. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:84: error: expected primary-expression before ‘*’ token
  74. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  75.                                                                                     ^
  76. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:85: error: ‘status’ was not declared in this scope
  77. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  78.                                                                                      ^~~~~~
  79. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:85: note: suggested alternative: ‘statx’
  80. int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
  81.                                                                                      ^~~~~~
  82.                                                                                      statx
  83. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:54:31: error: ‘UnicodeString’ does not name a type; did you mean ‘OnUpdateString’?
  84. int intl_charFromString(const UnicodeString &from, char **res, int *res_len, UErrorCode *status)
  85.                                ^~~~~~~~~~~~~
  86.                                OnUpdateString
  87. /home/pi/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp: In function ‘int intl_charFromString(const int&, char**, int*, UErrorCode*)’:
  88. /home/pi/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’
  89.   if (from.isBogus()) {
  90.            ^~~~~~~
  91. /home/pi/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’
  92.   int32_t capacity = from.length() * 3 + 1;
  93.                           ^~~~~~
  94. /home/pi/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’
  95.   if (from.isEmpty()) {
  96.            ^~~~~~~
  97. /home/pi/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’
  98.   const UChar *utf16buf = from.getBuffer();
  99.                                ^~~~~~~~~
  100. /home/pi/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’
  101.   u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(),
  102.                                                                      ^~~~~~
  103. make: *** [Makefile:932:ext/intl/intl_convertcpp.lo] 错误 1
复制代码

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

发表于 2019-7-22 22:41:14 | 显示全部楼层

安装要求上有说明,请看最后一条
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2019-8-25 05:33 , Processed in 0.083667 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表