Вопрос

Я пытаюсь получить 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.
.

Любая помощь будет оценена!Спасибо!

Это было полезно?

Решение

>cpan install MAIL::IMAPClient
.

или сложнее

>cpan
cpan> force install MAIL::IMAPClient
.

или

>ppm install MAIL::IMAPClient
.

или с графическим интерфейсом

>ppm
*choose package and install via gui*
.

Ссылка: mail :: ImapClient

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top