Am 28.02.2015 um 13:41 schrieb Alexander Kapshuk:
On Sat, Feb 28, 2015 at 1:49 PM, hw <h...@gartencenter-vaehning.de> wrote:



Am 28.02.2015 um 11:35 schrieb Alexander Kapshuk:

  On Sat, Feb 28, 2015 at 12:29 PM, hw <h...@gartencenter-vaehning.de> wrote:

  Hi,

I'm trying to "use Net::IMAP::Client;" in a perl script and keep getting
the message:


Can't locate Net/IMAP/Client.pm in @INC (you may need to install the
Net::IMAP::Client module) (@INC contains: /etc/perl
/usr/local/lib64/perl5/5.20.1/x86_64-linux /usr/local/lib64/perl5/5.20.1
/usr/lib64/perl5/vendor_perl/5.20.1/x86_64-linux
/usr/lib64/perl5/vendor_perl/5.20.1 /usr/local/lib64/perl5
/usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.20.1/x86_64-linux
/usr/lib64/perl5/5.20.1 .) at [scriptname]


Does anyone know which package(s) I need to emerge to install the missing
perl module?


  dev-perl/Mail-IMAPClient IMAP client module for Perl


Thank you!

I've emerged it and am still getting the same error message.


sunflo ~ # find /usr -name Client.pm
/usr/lib64/perl5/5.20.1/CPAN/HTTP/Client.pm
sunflo ~ #


Any ideas?


The module above probably comes from the pkg below:
equery -q b /usr/lib/perl5/5.20.1/CPAN/HTTP/Client.pm
dev-lang/perl-5.20.1-r4

Looks like the pkg I suggested installing was wrong. Sorry about that.

Np, at first I thought it should be in this package. I tried to emerge some packages which looked as if they might contain the module, to no avail.

The portage tree doesn't seem to have a Net-IMAP-Client pkg:
ls -1d /usr/portage/dev-perl/Net-IMAP*
/usr/portage/dev-perl/Net-IMAP-Simple
/usr/portage/dev-perl/Net-IMAP-Simple-SSL

Someone else might have an idea for you.

Sorry.


If anything fails, I might be able to install it from cpan or so. Is there anything special to consider when doing this on Gentoo?

Reply via email to