- 积分
- 4
- 威望
-
- 金钱
-
- 注册时间
- 2011-10-11
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2011-10-11 21:47:21
|
显示全部楼层
copy centos.sh 的命令执行 make test 报php错误
- cd php-5.2.17/
- ./buildconf --force
- ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic
- make ZEND_EXTRA_LIBS='-liconv'
- make install
复制代码
提示
- [root@localhost php-5.2.17]# make install
- Installing PHP SAPI module: cgi
- Installing PHP CGI binary: /usr/local/bin/
- Installing PHP CLI binary: /usr/local/bin/
- Installing PHP CLI man page: /usr/local/man/man1/
- Installing build environment: /usr/local/lib/php/build/
- Installing header files: /usr/local/include/php/
- Installing helper programs: /usr/local/bin/
- program: phpize
- program: php-config
- Installing man pages: /usr/local/man/man1/
- page: phpize.1
- page: php-config.1
- Installing PEAR environment: /usr/local/lib/php/
- [PEAR] Archive_Tar - already installed: 1.3.7
- [PEAR] Console_Getopt - already installed: 1.2.3
- [PEAR] Structures_Graph- already installed: 1.0.3
- [PEAR] XML_Util - already installed: 1.2.1
- [PEAR] PEAR - already installed: 1.9.1
- Wrote PEAR system config file at: /usr/local/etc/pear.conf
- You may want to add: /usr/local/lib/php to your php.ini include_path
- Installing PDO headers: /usr/local/include/php/ext/pdo/
复制代码
make test 后得到以下提示- =====================================================================
- TEST RESULT SUMMARY
- ---------------------------------------------------------------------
- Exts skipped : 57
- Exts tested : 22
- ---------------------------------------------------------------------
- Number of tests : 8975 6197
- Tests skipped : 2778 ( 31.0%) --------
- Tests warned : 0 ( 0.0%) ( 0.0%)
- Tests failed : 20 ( 0.2%) ( 0.3%)
- Expected fail : 5 ( 0.1%) ( 0.1%)
- Tests passed : 6172 ( 68.8%) ( 99.6%)
- ---------------------------------------------------------------------
- Time taken : 497 seconds
- =====================================================================
- =====================================================================
- FAILED TEST SUMMARY
- ---------------------------------------------------------------------
- timezone_abbreviations_list() tests [ext/date/tests/010.phpt]
- Test DateTimeZone::listAbbreviations() function : basic functionality [ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt]
- Test DateTime::modify() function : usage variation - Passing unexpected values to first argument $modify. [ext/date/tests/DateTime_modify_variation1.phpt]
- Test date_modify() function : usage variation - Passing unexpected values to second argument $format. [ext/date/tests/date_modify_variation2.phpt]
- Test timezone_abbreviations_list() function : basic functionality [ext/date/tests/timezone_abbreviations_list_basic1.phpt]
- DOMDocument:validateOnParse - effectual determination (dom_document_validate_on_parse_read/dom_document_validate_on_parse_write) [ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt]
- Test iconv_mime_decode() function : usage variations - Pass different data types to charset arg [ext/iconv/tests/iconv_mime_decode_variation3.phpt]
- iconv_mime_encode() [ext/iconv/tests/iconv_mime_encode.phpt]
- iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
- Test iconv_strlen() function : error conditions - pass an unknown encoding [ext/iconv/tests/iconv_strlen_error2.phpt]
- Test iconv_strlen() function : usage variations - Pass different data types as $encoding arg [ext/iconv/tests/iconv_strlen_variation2.phpt]
- Test iconv_strpos() function : error conditions - Pass unknown encoding [ext/iconv/tests/iconv_strpos_error2.phpt]
- Test iconv_strpos() function : usage variations - pass different data types as $charset arg [ext/iconv/tests/iconv_strpos_variation4.phpt]
- Test iconv_strrpos() function : error conditions - pass an unknown encoding [ext/iconv/tests/iconv_strrpos_error2.phpt]
- Test iconv_strrpos() function : usage variations - pass different data types as $encoding arg [ext/iconv/tests/iconv_strrpos_variation3.phpt]
- Test iconv_substr() function : error conditions - Pass an unknown encoding [ext/iconv/tests/iconv_substr_error2.phpt]
- Test session_encode() function : error functionality [ext/session/tests/session_encode_error2.phpt]
- SimpleXML: XPath [ext/simplexml/tests/008.phpt]
- Test gethostbynamel() function : error conditions [ext/standard/tests/network/gethostbynamel_error.phpt]
- Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect), using UTF-* [ext/xml/tests/bug32001.phpt]
- =====================================================================
- =====================================================================
- EXPECTED FAILED TEST SUMMARY
- ---------------------------------------------------------------------
- output buffering - fatalism [tests/output/ob_011.phpt]
- ob_start(): Ensure unerasable buffer cannot be flushed by ob_flush() [tests/output/ob_start_basic_unerasable_005.phpt]
- Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt]
- SPL: ArrayObject::exchangeArray() basic usage with object as underlying data store. [ext/spl/tests/arrayObject_exchangeArray_basic3.phpt]
- Bug #39863 (file_exists() silently truncates after a null byte) [ext/standard/tests/file/bug39863.phpt]
- =====================================================================
- You may have found a problem in PHP.
- We would like to send this report automatically to the
- PHP QA team, to give us a better understanding of how
- the test cases are doing. If you don't want to send it
- immediately, you can choose "s" to save the report to
- a file that you can send us later.
- Do you want to send this report now? [Yns]:
复制代码 难道是PHP本身有问题?
[ 本帖最后由 topin 于 2011-10-11 21:49 编辑 ] |
|