我想在我的操作系统上获取imapclient但它不会工作。我像这样添加了perl存储库:
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 :(得分:0)
>cpan install MAIL::IMAPClient
或更难
>cpan
cpan> force install MAIL::IMAPClient
或
>ppm install MAIL::IMAPClient
或使用GUI
>ppm
*choose package and install via gui*