public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't locate Net/IMAP/Client.pm
@ 2015-02-28 10:29 hw
  2015-02-28 10:35 ` Alexander Kapshuk
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: hw @ 2015-02-28 10:29 UTC (permalink / raw
  To: gentoo-user

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?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 10:29 [gentoo-user] Can't locate Net/IMAP/Client.pm hw
@ 2015-02-28 10:35 ` Alexander Kapshuk
  2015-02-28 11:49   ` hw
  2015-02-28 12:09 ` Alan McKinnon
  2015-02-28 21:26 ` Stroller
  2 siblings, 1 reply; 13+ messages in thread
From: Alexander Kapshuk @ 2015-02-28 10:35 UTC (permalink / raw
  To: Gentoo mailing list

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

On Sat, Feb 28, 2015 at 12:29 PM, hw <hw@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

[-- Attachment #2: Type: text/html, Size: 1144 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 10:35 ` Alexander Kapshuk
@ 2015-02-28 11:49   ` hw
  2015-02-28 12:41     ` Alexander Kapshuk
  0 siblings, 1 reply; 13+ messages in thread
From: hw @ 2015-02-28 11:49 UTC (permalink / raw
  To: gentoo-user



Am 28.02.2015 um 11:35 schrieb Alexander Kapshuk:
> On Sat, Feb 28, 2015 at 12:29 PM, hw <hw@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?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 10:29 [gentoo-user] Can't locate Net/IMAP/Client.pm hw
  2015-02-28 10:35 ` Alexander Kapshuk
@ 2015-02-28 12:09 ` Alan McKinnon
  2015-02-28 12:57   ` Alexander Kapshuk
  2015-03-04 10:12   ` hw
  2015-02-28 21:26 ` Stroller
  2 siblings, 2 replies; 13+ messages in thread
From: Alan McKinnon @ 2015-02-28 12:09 UTC (permalink / raw
  To: gentoo-user

On Sat, 28 Feb 2015 11:29:30 +0100
hw <hw@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?


If memory serves (and if my eix skillz are up to it), it's this

dev-perl/Net-IMAP-Simple

> 



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 11:49   ` hw
@ 2015-02-28 12:41     ` Alexander Kapshuk
  2015-03-04 10:09       ` hw
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Kapshuk @ 2015-02-28 12:41 UTC (permalink / raw
  To: Gentoo mailing list

[-- Attachment #1: Type: text/plain, Size: 1572 bytes --]

On Sat, Feb 28, 2015 at 1:49 PM, hw <hw@gartencenter-vaehning.de> wrote:

>
>
> Am 28.02.2015 um 11:35 schrieb Alexander Kapshuk:
>
>  On Sat, Feb 28, 2015 at 12:29 PM, hw <hw@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.
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.

[-- Attachment #2: Type: text/html, Size: 2611 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 12:09 ` Alan McKinnon
@ 2015-02-28 12:57   ` Alexander Kapshuk
  2015-03-04 10:12   ` hw
  1 sibling, 0 replies; 13+ messages in thread
From: Alexander Kapshuk @ 2015-02-28 12:57 UTC (permalink / raw
  To: Gentoo mailing list

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

On Sat, Feb 28, 2015 at 2:09 PM, Alan McKinnon <alan.mckinnon@gmail.com>
wrote:

> On Sat, 28 Feb 2015 11:29:30 +0100
> hw <hw@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?
>
>
> If memory serves (and if my eix skillz are up to it), it's this
>
> dev-perl/Net-IMAP-Simple
>
> >
>
>
> I could be wrong, but dev-perl/Net-IMAP-Simple does not contain
Net-IMAP-Client.pm:

grep module /usr/portage/dev-perl/Net-IMAP-Simple/metadata.xml
    <remote-id type="cpan-module">Net::IMAP::Simple</remote-id>
    <remote-id type="cpan-module">Net::IMAP::Simple::PipeSocket</remote-id>
    <remote-id type="cpan-module">Net::IMAP::SimpleX</remote-id>
    <remote-id type="cpan-module">Net::IMAP::SimpleX::Body</remote-id>
    <remote-id
type="cpan-module">Net::IMAP::SimpleX::BodySummary</remote-id>
    <remote-id type="cpan-module">Net::IMAP::SimpleX::NIL</remote-id>

[-- Attachment #2: Type: text/html, Size: 2286 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 10:29 [gentoo-user] Can't locate Net/IMAP/Client.pm hw
  2015-02-28 10:35 ` Alexander Kapshuk
  2015-02-28 12:09 ` Alan McKinnon
@ 2015-02-28 21:26 ` Stroller
  2015-03-04 10:16   ` hw
  2 siblings, 1 reply; 13+ messages in thread
From: Stroller @ 2015-02-28 21:26 UTC (permalink / raw
  To: gentoo-user


On Sat, 28 February 2015, at 10:29 am, hw <hw@gartencenter-vaehning.de> wrote:
> 
> I'm trying to "use Net::IMAP::Client;" in a perl script and keep getting the message:
> 
> ...
> Does anyone know which package(s) I need to emerge to install the missing perl module?

http://search.cpan.org/~ganglion/Net-IMAP-Client/

eix imap -C dev-perl

I don't think there's a package for this is in portage.

You could try app-portage/g-cpan and seeing if that will install it. I believe I read a few months ago that it's in need of maintenance, but I'd expect it to work in most packages.

http://www.gentoo.org/proj/en/perl/g-cpan.xml

Stroller.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 12:41     ` Alexander Kapshuk
@ 2015-03-04 10:09       ` hw
  0 siblings, 0 replies; 13+ messages in thread
From: hw @ 2015-03-04 10:09 UTC (permalink / raw
  To: gentoo-user



Am 28.02.2015 um 13:41 schrieb Alexander Kapshuk:
> On Sat, Feb 28, 2015 at 1:49 PM, hw <hw@gartencenter-vaehning.de> wrote:
>
>>
>>
>> Am 28.02.2015 um 11:35 schrieb Alexander Kapshuk:
>>
>>   On Sat, Feb 28, 2015 at 12:29 PM, hw <hw@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?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 12:09 ` Alan McKinnon
  2015-02-28 12:57   ` Alexander Kapshuk
@ 2015-03-04 10:12   ` hw
  1 sibling, 0 replies; 13+ messages in thread
From: hw @ 2015-03-04 10:12 UTC (permalink / raw
  To: gentoo-user



Am 28.02.2015 um 13:09 schrieb Alan McKinnon:
> On Sat, 28 Feb 2015 11:29:30 +0100
> hw <hw@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?
>
>
> If memory serves (and if my eix skillz are up to it), it's this
>
> dev-perl/Net-IMAP-Simple


sunflo ~ # eix dev-perl/Net-IMAP-Simple 
 

[I] dev-perl/Net-IMAP-Simple
      Available versions:  (~)1.220.100-r1
      Installed versions:  1.220.100-r1(16:16:45 20.02.2015)
      Homepage:            http://search.cpan.org/dist/Net-IMAP-Simple/
      Description:         Perl extension for simple IMAP account handling


It's already installed ...


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-02-28 21:26 ` Stroller
@ 2015-03-04 10:16   ` hw
  2015-03-04 15:51     ` Michael Orlitzky
  0 siblings, 1 reply; 13+ messages in thread
From: hw @ 2015-03-04 10:16 UTC (permalink / raw
  To: gentoo-user



Am 28.02.2015 um 22:26 schrieb Stroller:
>
> On Sat, 28 February 2015, at 10:29 am, hw <hw@gartencenter-vaehning.de> wrote:
>>
>> I'm trying to "use Net::IMAP::Client;" in a perl script and keep getting the message:
>
> I don't think there's a package for this is in portage.
>
> You could try app-portage/g-cpan and seeing if that will install it. I believe I read a few months ago that it's in need of maintenance, but I'd expect it to work in most packages.
>
> http://www.gentoo.org/proj/en/perl/g-cpan.xml

Thank you, I'll look into it and see if I can install the module I need :)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-03-04 10:16   ` hw
@ 2015-03-04 15:51     ` Michael Orlitzky
  2015-03-17 15:35       ` hw
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Orlitzky @ 2015-03-04 15:51 UTC (permalink / raw
  To: gentoo-user

On 03/04/2015 05:16 AM, hw wrote:
>> 
>> You could try app-portage/g-cpan and seeing if that will install
>> it. I believe I read a few months ago that it's in need of
>> maintenance, but I'd expect it to work in most packages.
>> 
>> http://www.gentoo.org/proj/en/perl/g-cpan.xml
> 
> Thank you, I'll look into it and see if I can install the module I
> need :)
> 
> 

File a bug for it. Even if no one commits to maintaining it in the tree,
we can at least post ebuilds there and keep track of them in one place.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-03-04 15:51     ` Michael Orlitzky
@ 2015-03-17 15:35       ` hw
  2015-03-17 15:44         ` Michael Orlitzky
  0 siblings, 1 reply; 13+ messages in thread
From: hw @ 2015-03-17 15:35 UTC (permalink / raw
  To: gentoo-user



Am 04.03.2015 um 16:51 schrieb Michael Orlitzky:
> On 03/04/2015 05:16 AM, hw wrote:
>>>
>>> You could try app-portage/g-cpan and seeing if that will install
>>> it. I believe I read a few months ago that it's in need of
>>> maintenance, but I'd expect it to work in most packages.
>>>
>>> http://www.gentoo.org/proj/en/perl/g-cpan.xml
>>
>> Thank you, I'll look into it and see if I can install the module I
>> need :)
>>
>>
>
> File a bug for it. Even if no one commits to maintaining it in the tree,
> we can at least post ebuilds there and keep track of them in one place.

Sounds like a good idea :)


For now, I've installed the missing module with cpan.  Are we actually 
supposed to run cpan as root to be able to put the required files into 
the library directory?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Can't locate Net/IMAP/Client.pm
  2015-03-17 15:35       ` hw
@ 2015-03-17 15:44         ` Michael Orlitzky
  0 siblings, 0 replies; 13+ messages in thread
From: Michael Orlitzky @ 2015-03-17 15:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On 03/17/2015 11:35 AM, hw wrote:
> 
> For now, I've installed the missing module with cpan.  Are we actually
> supposed to run cpan as root to be able to put the required files into
> the library directory?
> 

You aren't supposed to use CPAN at all, it will break stuff. Here's an
ebuild for dev-perl/Net-IMAP-Client-0.950.500 (attached).

I could file the bug for you, but it will be beneficial in the long run
for you to get comfortable with the process.


[-- Attachment #2: Net-IMAP-Client-0.950.500.ebuild --]
[-- Type: text/plain, Size: 406 bytes --]

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

MODULE_AUTHOR="GANGLION"
MODULE_VERSION="0.9505"

inherit perl-module

DESCRIPTION="Not so simple IMAP client library"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="dev-perl/IO-Socket-SSL
	dev-perl/List-MoreUtils
	virtual/perl-Encode"
DEPEND="${RDEPEND}"

SRC_TEST=do

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-03-17 15:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 10:29 [gentoo-user] Can't locate Net/IMAP/Client.pm hw
2015-02-28 10:35 ` Alexander Kapshuk
2015-02-28 11:49   ` hw
2015-02-28 12:41     ` Alexander Kapshuk
2015-03-04 10:09       ` hw
2015-02-28 12:09 ` Alan McKinnon
2015-02-28 12:57   ` Alexander Kapshuk
2015-03-04 10:12   ` hw
2015-02-28 21:26 ` Stroller
2015-03-04 10:16   ` hw
2015-03-04 15:51     ` Michael Orlitzky
2015-03-17 15:35       ` hw
2015-03-17 15:44         ` Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox