nauxliu / opencc4php

简繁体转换 PHP 扩展
MIT License
458 stars 85 forks source link

新版本是不是有什么BUG,死活安装不上 #54

Open hahaapi opened 3 years ago

hahaapi commented 3 years ago

make test这部 PHP 7.1 7.3都 试过了,都 是这提示 `Build complete. Don't forget to run 'make test'.

===================================================================== PHP : /www/server/php/70/bin/php PHP_SAPI : cli PHP_VERSION : 7.0.33 ZEND_VERSION: 3.0.0 PHP_OS : Linux - Linux debian 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 INI actual : /root/opencc4php/tmp-php.ini More .INIs :

PHP : /www/server/php/70/bin/phpdbg PHP_SAPI : phpdbg PHP_VERSION : 7.0.33 ZEND_VERSION: 3.0.0 PHP_OS : Linux - Linux debian 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 INI actual : /root/opencc4php/tmp-php.ini More .INIs :

CWD : /root/opencc4php Extra dirs : VALGRIND : Not used

TIME START 2021-02-21 03:54:23

PASS Check for opencc presence [tests/001.phpt] FAIL Test opencc4php [tests/002.phpt]

TIME END 2021-02-21 03:54:23

===================================================================== TEST RESULT SUMMARY

Exts skipped : 0 Exts tested : 44

Number of tests : 2 2 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 ( 50.0%) ( 50.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 1 ( 50.0%) ( 50.0%)

Time taken : 0 seconds

===================================================================== FAILED TEST SUMMARY

Test opencc4php [tests/002.phpt]

You may have found a problem in PHP. This report can be automatically sent to the PHP QA team at http://qa.php.net/reports and http://news.php.net/php.qa.reports This gives us a better understanding of PHP's behavior. If you don't want to send the report immediately you can choose option "s" to save it. You can then email it to qa-reports@lists.php.net later. Do you want to send this report now? [Yns]: `

hahaapi commented 3 years ago

/bin/sh /test/opencc4php/libtool --mode=compile cc -I. -I/test/opencc4php -DPHP_ATOM_INC -I/test/opencc4php/include -I/test/opencc4php/main -I/test/opencc4php -I/www/server/php/71/include/php -I/www/server/php/71/include/php/main -I/www/server/php/71/include/php/TSRM -I/www/server/php/71/include/php/Zend -I/www/server/php/71/include/php/ext -I/www/server/php/71/include/php/ext/date/lib -I/usr/include/opencc -DHAVE_CONFIG_H -g -O2 -c /test/opencc4php/opencc.c -o opencc.lo mkdir .libs cc -I. -I/test/opencc4php -DPHP_ATOM_INC -I/test/opencc4php/include -I/test/opencc4php/main -I/test/opencc4php -I/www/server/php/71/include/php -I/www/server/php/71/include/php/main -I/www/server/php/71/include/php/TSRM -I/www/server/php/71/include/php/Zend -I/www/server/php/71/include/php/ext -I/www/server/php/71/include/php/ext/date/lib -I/usr/include/opencc -DHAVE_CONFIG_H -g -O2 -c /test/opencc4php/opencc.c -fPIC -DPIC -o .libs/opencc.o /bin/sh /test/opencc4php/libtool --mode=link cc -DPHP_ATOM_INC -I/test/opencc4php/include -I/test/opencc4php/main -I/test/opencc4php -I/www/server/php/71/include/php -I/www/server/php/71/include/php/main -I/www/server/php/71/include/php/TSRM -I/www/server/php/71/include/php/Zend -I/www/server/php/71/include/php/ext -I/www/server/php/71/include/php/ext/date/lib -I/usr/include/opencc -DHAVE_CONFIG_H -g -O2 -o opencc.la -export-dynamic -avoid-version -prefer-pic -module -rpath /test/opencc4php/modules opencc.lo -lopencc cc -shared .libs/opencc.o -lopencc -Wl,-soname -Wl,opencc.so -o .libs/opencc.so creating opencc.la (cd .libs && rm -f opencc.la && ln -s ../opencc.la opencc.la) /bin/sh /test/opencc4php/libtool --mode=install cp ./opencc.la /test/opencc4php/modules cp ./.libs/opencc.so /test/opencc4php/modules/opencc.so cp ./.libs/opencc.lai /test/opencc4php/modules/opencc.la PATH="$PATH:/sbin" ldconfig -n /test/opencc4php/modules

Libraries have been installed in: /test/opencc4php/modules

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

Build complete. Don't forget to run 'make test'.

===================================================================== PHP : /www/server/php/71/bin/php PHP_SAPI : cli PHP_VERSION : 7.1.33 ZEND_VERSION: 3.1.0 PHP_OS : Linux - Linux debian 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 INI actual : /test/opencc4php/tmp-php.ini More .INIs :

PHP : /www/server/php/71/bin/phpdbg PHP_SAPI : phpdbg PHP_VERSION : 7.1.33 ZEND_VERSION: 3.1.0 PHP_OS : Linux - Linux debian 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 INI actual : /test/opencc4php/tmp-php.ini More .INIs :

CWD : /test/opencc4php Extra dirs : VALGRIND : Not used

TIME START 2021-02-21 18:21:39

PASS Check for opencc presence [tests/001.phpt] FAIL Test opencc4php [tests/002.phpt]

TIME END 2021-02-21 18:21:39

===================================================================== TEST RESULT SUMMARY

Exts skipped : 0 Exts tested : 44

Number of tests : 2 2 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 ( 50.0%) ( 50.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 1 ( 50.0%) ( 50.0%)

Time taken : 0 seconds

===================================================================== FAILED TEST SUMMARY

Test opencc4php [tests/002.phpt]

You may have found a problem in PHP. This report can be automatically sent to the PHP QA team at http://qa.php.net/reports and http://news.php.net/php.qa.reports This gives us a better understanding of PHP's behavior. If you don't want to send the report immediately you can choose option "s" to save it. You can then email it to qa-reports@lists.php.net later. Do you want to send this report now? [Yns]: