2011-07-05 22 views
0

我正在嘗試爲Ubuntu服務器11.04構建zimbra HELIX-710。Zimbra的Perl的構建錯誤

我需要編譯Perl,我得到一個非常奇怪的錯誤,我不明白。一切順利的建設,但在驗證階段有一個錯誤。

這裏的痕跡。

 
    [email protected]:/home/public/p4/HELIX-710/ThirdParty/Perl$ make 
rm -rf tmp /home/public/p4/HELIX-710/ThirdParty/Perl/zimbramon /home/public/p4/HELIX-710/ThirdPartyBuilds/UBUNTUUNKNOWN_64/perl/perllib.tgz /home/public/p4/HELIX-710/ThirdPartyBuilds/UBUNTUUNKNOWN_64/perl/perlbin.tgz 
rm -f ThirdParty-Perllibs.log 
mkdir -p /home/loic/.cpan/CPAN 
sed -e "s|@@[email protected]@|/usr/bin/lynx|g" -e "s|@@[email protected]@|/usr/bin/wget|g" -e "s|@@[email protected]@|/usr/bin/less|g" -e "s|@@[email protected]@|/usr/bin/gpg|g" -e "s|@@[email protected]@|/usr/bin/unzip|g" -e "s|@@[email protected]@|/usr/bin/curl|g" -e "s|@@[email protected]@|/bin/bzip2|g" -e "s|@@[email protected]@|/usr/bin/make|g" -e "s|@@[email protected]@|/usr/bin/ftp|g" -e "s|@@[email protected]@|/bin/tar|g" -e "s|@@[email protected]@|/bin/gzip|g" -e "s|@@[email protected]@|INSTALL_BASE|g" -e "s|@@[email protected]@|/home/public/p4/HELIX-710/ThirdParty/Perl|g" -e "s|@@[email protected]@|http://zre-matrix.eng.vmware.com/cpan/|g" MyConfig.pm.template > /home/loic/.cpan/CPAN/MyConfig.pm 
mkdir -p /home/public/p4/HELIX-710/ThirdParty/Perl/zimbramon/lib 
(cd /home/public/p4/HELIX-710/ThirdParty/Perl/zimbramon/lib; ln -s ../lib perl5) 
mkdir -p /home/public/p4/HELIX-710/ThirdParty/Perl/zimbramon/bin 
mkdir -p tmp 
Logging to ThirdParty-Perllibs.log 
Compiling perl lib Crypt-SSLeay-0.57 ...done. 
Compiling perl lib Crypt-OpenSSL-Random-0.04 ...done. 
Compiling perl lib Crypt-OpenSSL-RSA-0.26 ...done. 
Compiling perl lib Array-Compare-1.17 ...done. 
Compiling perl lib Tree::DAG_Node ...done. 
Compiling perl lib Sub::Uplevel ...done. 
Compiling perl lib Test::Exception ...done. 
Compiling perl lib Test::Warn ...done. 
Compiling perl lib Net-SSLeay-1.36 ...done. 
Compiling perl lib XML-Parser-2.36 ...done. 
Compiling perl lib IO ...seddone. 
Compiling perl lib Scalar::Util ...done. 
Compiling perl lib IO::Socket::SSL ...done. 
Compiling perl lib Socket6 ...done. 
Compiling perl lib DBI ...done. 
Compiling perl lib IO::Zlib ...done. 
Compiling perl lib Bit::Vector ...done. 
Compiling perl lib HTML::Tagset ...done. 
Compiling perl lib HTML::Parser ...done. 
Compiling perl lib URI ...done. 
Compiling perl lib Net::HTTP ...done. 
Compiling perl lib Net::SMTP ...done. 
Compiling perl lib Proc::ProcessTable ...done. 
Compiling perl lib HTTP::Parser ...done. 
Compiling perl lib IO::Stringy ...done. 
Compiling perl lib E/ER/ERYQ/MIME-Lite-2.117.tar.gz ...done. 
Compiling perl lib D/DA/DAGOLDEN/Module-Build-0.3607.tar.gz ...done. 
Compiling perl lib Mail::Mailer ...done. 
Compiling perl lib Convert::BinHex ...done. 
Compiling perl lib D/DO/DONEILL/MIME-tools-5.427.tar.gz ...done. 
Compiling perl lib SOAP::Lite ...done. 
Compiling perl lib Net::Telnet ...done. 
Compiling perl lib Config::IniFiles ...done. 
Compiling perl lib Config::Properties ...done. 
Compiling perl lib Cache::FastMmap ...done. 
Compiling perl lib Device::SerialPort ...done. 
Compiling perl lib Date::Calc ...done. 
Compiling perl lib S/SB/SBECK/Date-Manip-5.56.tar.gz ...done. 
Compiling perl lib Date::Parse ...done. 
Compiling perl lib Time::HiRes ...done. 
Compiling perl lib Convert::ASN1 ...done. 
Compiling perl lib Net::LDAP ...done. 
Compiling perl lib Net::Server ...done. 
Compiling perl lib Unix::Syslog ...done. 
Compiling perl lib Parallel::ForkManager ...done. 
Compiling perl lib Package::Constants ...done. 
Compiling perl lib IO::Compress::Base ...done. 
Compiling perl lib IO::Compress::Gzip ...done. 
Compiling perl lib Compress::Raw::Zlib ...done. 
Compiling perl lib P/PM/PMQS/Compress-Zlib-1.42.tar.gz ...done. 
Compiling perl lib Archive::Tar ...done. 
Compiling perl lib Digest::SHA1 ...done. 
Compiling perl lib Digest::HMAC ...done. 
Compiling perl lib Digest::HMAC_MD5 ...done. 
Compiling perl lib Convert::TNEF ...done. 
Compiling perl lib Convert::UUlib ...done. 
Compiling perl lib Net::IP ...done. 
Compiling perl lib Net::DNS ...done. 
Compiling perl lib File::Tail ...done. 
Compiling perl lib File::Temp ...done. 
Compiling perl lib File::Grep ...done. 
Compiling perl lib Data::UUID ...done. 
Compiling perl lib List::Compare ...done. 
Compiling perl lib Getopt::Easy ...done. 
Compiling perl lib Crypt::SaltedHash ...done. 
Compiling perl lib Archive::Zip ...done. 
Compiling perl lib Digest::SHA ...done. 
Compiling perl lib Error ...done. 
Compiling perl lib Mail::DKIM ...done. 
Compiling perl lib K/KH/KHAMPTON/XML-SAX-Base-1.04.tar.gz ...done. 
Compiling perl lib XML::SAX::Expat ...done. 
Compiling perl lib XML::Simple ...done. 
Compiling perl lib IO::Socket::INET6 ...done. 
Compiling perl lib NetAddr::IP ...done. 
Compiling perl lib Net::DNS::Resolver::Programmable ...done. 
Compiling perl lib version ...done. 
Compiling perl lib Geography::Countries ...done. 
Compiling perl lib IP::Country ...done. 
Compiling perl lib DBD::SQLite ...done. 
Compiling perl lib Net-LDAPapi-3.0.3 ...done. 
Compiling perl lib BerkeleyDB-0.41 ...done. 
Compiling perl lib DB_File ...done. 
Compiling perl lib DBD::mysql ...done. 
Compiling perl lib Mail-SPF-v2.008 ...done. 
Compiling perl lib Mail-SpamAssassin-3.3.1 ...done. 
Compiling perl lib swatch-3.2.3 ...done. 
Verifying perl module build... 
/home/public/p4/HELIX-710/ThirdParty/Perl/zmcheckbuiltmodules.pl >> ThirdParty-Perllibs.log 2>&1; 
make: *** [check] Error 1 

然後,如果我手動午餐zmcheckbuiltmodules.pl我沒有得到任何錯誤。

 
[email protected]:/home/public/p4/HELIX-710/ThirdParty/Perl$ ./zmcheckbuiltmodules.pl 
/usr/share/perl5/HTTP/Request.pm 
/usr/share/perl5/LWP/UserAgent.pm 

是否有人有一些線索?

+0

ThirdParty-Perllibs.log的內容是什麼? – Raoul

+0

嘿。 您現在的位置:loicvm.xwaves.net/ThirdParty-Perllibs.log – user789148

+0

看起來像路徑而不是內容。 '貓ThirdParty-Perllibs.log' – Raoul

回答

0

我已經browsed the log和情況很明顯:安裝程序是絕望的破碎。它在某個前綴/home/public/p4/HELIX-710/ThirdParty/Perl/zimbramon/下安裝Perl模塊,但實際上並未將此路徑添加到包含路徑中!所以Perl無法找到剛剛安裝的模塊。這是一個非常愚蠢的錯誤,它不應該超過QA。

示例:Sub :: Uplevel安裝爲/home/public/p4/HELIX-710/ThirdParty/Perl/zimbramon/lib/perl5/Sub/Uplevel.pm,稍後模塊Test :: Exception需要它並失敗,因爲包含路徑僅包含系統默認值/etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl(氣味像Debian)和臨時CPAN構建位置。

要求修復這個或你的錢回來;或者如果這不是一個選項,請將機器訪問權限授予一名Perl程序員,該程序員具有對CPAN安裝進行故障診斷的經驗,以清理這些碎片。

+0

嘿,謝謝你的回答。確實安裝程序已損壞。我不能要求退款,因爲它是Zimbra的開源版本hehe;)我找到了一種方法來做到這一點。我手動完成了最後一步,並修改了安裝程序。它工作:)謝謝 – user789148

+0

@daxim,它是否修復最新的分支(主) – Chang

+0

這很高興聽到。在我作爲用戶從他們推遲的MIME編碼短消息中受到傷害後,我已經放棄了Zimbra。 – daxim