2014-01-10 52 views
0

我想在我的操作系統上獲得imapclient,但它不會工作。我添加了像這樣的perl存儲庫:Linux SLE11 SPC3 Mail :: IMAPClient

 zypper ar -f -n perl http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP2 Perl 

我得到正確的輸出,它說庫添加。

但是當我使用zypper的添加imapclient這樣

zypper install -y "perl(MAIL::IMAPClient)" 

我得到:

zypper install -y "perl(MAIL::IMAPClient)" 
    Refreshing service 'susecloud'. 
    Retrieving repository 'perl' metadata [done] 
    Building repository 'perl' cache [done] 
    Retrieving repository 'perl' metadata [error] 
    Repository 'perl' is invalid. 
    [|] Valid metadata not found at specified URL(s) 
    Please check if the URIs defined for this repository are pointing to a valid 
    repository. 
    Warning: Disabling repository 'perl' because of the above error. 
    Loading repository data... 
    Reading installed packages... 
    'perl(MAIL::IMAPClient)' not found in package names. Trying capabilities. 
    No provider of 'perl(MAIL::IMAPClient)' found. 

任何幫助,將不勝感激!謝謝!

+0

怎麼樣'cpan MAIL :: IMAPClient' –

回答

0
>cpan install MAIL::IMAPClient 

或更硬

>cpan 
cpan> force install MAIL::IMAPClient 

>ppm install MAIL::IMAPClient 

或GUI

>ppm 
*choose package and install via gui* 

鏈接:MAIL::IMAPClient

+0

感謝它完美的工作是cpan和ppm另一個安裝工具,如zypper? – tanghe

+0

恕我直言,我認爲zypper是SuSe的一種repo安裝程序? cpan是perl的基本模塊安裝工具包。ppm是根據活動狀態perl的實用程序,但僅提供與活動狀態perl 100%兼容的受限模塊。 –