Ubuntu

為 MediaWiki 安裝數學支持時出錯

  • July 7, 2011

如何解決安裝 MediaWiki 時出現的以下 Make 錯誤?

...

/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at t/maint/php-tag.t line 8.
BEGIN failed--compilation aborted at t/maint/php-tag.t line 8.
# Looks like your test died before it could output anything.
t/maint/php-tag..........dubious                                             
       Test returned status 255 (wstat 65280, 0xff00)
t/maint/unix-newlines....ok                                                  
Failed Test            Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/00-test.t             127 32512    ??   ??  ??
t/inc/Database.t        127 32512    ??   ??  ??
t/inc/Global.t          127 32512    ??   ??  ??
t/inc/IP.t              127 32512    ??   ??  ??
t/inc/ImageFunctions.t  127 32512    ??   ??  ??
t/inc/Language.t        127 32512    ??   ??  ??
t/inc/Licenses.t        127 32512    ??   ??  ??
t/inc/LocalFile.t       127 32512    ??   ??  ??
t/inc/Parser.t          127 32512    ??   ??  ??
t/inc/Revision.t        127 32512    ??   ??  ??
t/inc/Sanitizer.t       127 32512    ??   ??  ??
t/inc/Search.t          127 32512    ??   ??  ??
t/inc/Title.t           127 32512    ??   ??  ??
t/inc/Xml.t             127 32512    ??   ??  ??
t/maint/php-lint.t      254 65024   966  966  1-966
t/maint/php-tag.t       255 65280    ??   ??  ??
Failed 16/19 test scripts. 966/4248 subtests failed.
Files=19, Tests=4248, 46 wallclock secs (33.15 cusr + 10.38 csys = 43.53 CPU)
Failed 16/19 test programs. 966/4248 subtests failed.
make: *** [test] Error 255

剛剛用Google搜尋… http://www.opensubscriber.com/message/ubuntu-users@lists.ubuntu.com/6817776.html

也許它有幫助。

引用自:https://serverfault.com/questions/76993