osx - MAC编译安装PHP5.2失败

WBOY
풀어 주다: 2016-06-06 20:37:58
원래의
738명이 탐색했습니다.

<code>bash</code><code>...
mark test 
...

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X) [tests/lang/bug30638.phpt]
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 gmstrftime() function : usage variation - Checking Preferred date and time representation other than on Windows [ext/date/tests/gmstrftime_variation22.phpt]
Test strftime() function : usage variation - Checking Preferred date and time representation other than on Windows. [ext/date/tests/strftime_variation22.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 7: DTD tests [ext/dom/tests/dom007.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
Test session_encode() function : error functionality [ext/session/tests/session_encode_error2.phpt]
Test session_save_path() function : variation [ext/session/tests/session_save_path_variation5.phpt]
SimpleXML: XPath [ext/simplexml/tests/008.phpt]
SPL: DirectoryIterator test getGroup [ext/spl/tests/DirectoryIterator_getGroup_basic.phpt]
SPL: Spl Directory Iterator test getOwner [ext/spl/tests/DirectoryIterator_getOwner_basic.phpt]
SPL: Spl File Info test getGroup [ext/spl/tests/SplFileInfo_getGroup_basic.phpt]
SPL: Spl File Info test getOwner [ext/spl/tests/SplFileInfo_getOwner_basic.phpt]
Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt]
Test umask() function : usage variation [ext/standard/tests/file/umask_variation3.phpt]
proc_nice() basic behaviour [ext/standard/tests/general_functions/proc_nice_basic.phpt]
Test uniqid() function : basic functionality [ext/standard/tests/general_functions/uniqid_basic.phpt]
Test mail() function : basic functionality [ext/standard/tests/mail/mail_basic2.phpt]
Test mail() function : variation force extra parameters [ext/standard/tests/mail/mail_variation2.phpt]
highlight_file() and output buffer [ext/standard/tests/strings/006.phpt]
php_strip_whitespace() and output buffer [ext/standard/tests/strings/007.phpt]
Test nl_langinfo() function :  unexpected inputs for '$tem' argument [ext/standard/tests/strings/nl_langinfo_variation1.phpt]
Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt]
Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt]
Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt]
Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt]
Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt]
Test strtolower() function [ext/standard/tests/strings/strtolower.phpt]
Test strtoupper() function [ext/standard/tests/strings/strtoupper1.phpt]
Test strptime() function : basic functionality [ext/standard/tests/time/strptime_basic.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]
=====================================================================
</code>
로그인 후 복사
로그인 후 복사

大神给看看是什么问题?

回复内容:

<code>bash</code><code>...
mark test 
...

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X) [tests/lang/bug30638.phpt]
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 gmstrftime() function : usage variation - Checking Preferred date and time representation other than on Windows [ext/date/tests/gmstrftime_variation22.phpt]
Test strftime() function : usage variation - Checking Preferred date and time representation other than on Windows. [ext/date/tests/strftime_variation22.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 7: DTD tests [ext/dom/tests/dom007.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
Test session_encode() function : error functionality [ext/session/tests/session_encode_error2.phpt]
Test session_save_path() function : variation [ext/session/tests/session_save_path_variation5.phpt]
SimpleXML: XPath [ext/simplexml/tests/008.phpt]
SPL: DirectoryIterator test getGroup [ext/spl/tests/DirectoryIterator_getGroup_basic.phpt]
SPL: Spl Directory Iterator test getOwner [ext/spl/tests/DirectoryIterator_getOwner_basic.phpt]
SPL: Spl File Info test getGroup [ext/spl/tests/SplFileInfo_getGroup_basic.phpt]
SPL: Spl File Info test getOwner [ext/spl/tests/SplFileInfo_getOwner_basic.phpt]
Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt]
Test umask() function : usage variation [ext/standard/tests/file/umask_variation3.phpt]
proc_nice() basic behaviour [ext/standard/tests/general_functions/proc_nice_basic.phpt]
Test uniqid() function : basic functionality [ext/standard/tests/general_functions/uniqid_basic.phpt]
Test mail() function : basic functionality [ext/standard/tests/mail/mail_basic2.phpt]
Test mail() function : variation force extra parameters [ext/standard/tests/mail/mail_variation2.phpt]
highlight_file() and output buffer [ext/standard/tests/strings/006.phpt]
php_strip_whitespace() and output buffer [ext/standard/tests/strings/007.phpt]
Test nl_langinfo() function :  unexpected inputs for '$tem' argument [ext/standard/tests/strings/nl_langinfo_variation1.phpt]
Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt]
Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt]
Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt]
Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt]
Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt]
Test strtolower() function [ext/standard/tests/strings/strtolower.phpt]
Test strtoupper() function [ext/standard/tests/strings/strtoupper1.phpt]
Test strptime() function : basic functionality [ext/standard/tests/time/strptime_basic.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]
=====================================================================
</code>
로그인 후 복사
로그인 후 복사

大神给看看是什么问题?

安装 PHP 之前先安装 Xcode 的命令行工具

$ xcode-select --install

另外, 推荐使用 Homebrew 安装 PHP
http://brew.sh/
https://github.com/Homebrew/homebrew-php

관련 라벨:
php
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!