Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-03-17 Thread hw



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?




Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-03-17 Thread Michael Orlitzky
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.

# 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


Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-03-04 Thread 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.




Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-03-04 Thread hw



Am 28.02.2015 um 22:26 schrieb Stroller:


On Sat, 28 February 2015, at 10:29 am, hw  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 :)




Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-03-04 Thread hw



Am 28.02.2015 um 13:09 schrieb Alan McKinnon:

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



Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-03-04 Thread hw



Am 28.02.2015 um 13:41 schrieb Alexander Kapshuk:

On Sat, Feb 28, 2015 at 1:49 PM, hw  wrote:




Am 28.02.2015 um 11:35 schrieb Alexander Kapshuk:

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




Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-02-28 Thread Stroller

On Sat, 28 February 2015, at 10:29 am, hw  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.




Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-02-28 Thread Alexander Kapshuk
On Sat, Feb 28, 2015 at 2:09 PM, Alan McKinnon 
wrote:

> On Sat, 28 Feb 2015 11:29:30 +0100
> hw  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
Net::IMAP::Simple
Net::IMAP::Simple::PipeSocket
Net::IMAP::SimpleX
Net::IMAP::SimpleX::Body
Net::IMAP::SimpleX::BodySummary
Net::IMAP::SimpleX::NIL


Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-02-28 Thread Alexander Kapshuk
On Sat, Feb 28, 2015 at 1:49 PM, hw  wrote:

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


Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-02-28 Thread Alan McKinnon
On Sat, 28 Feb 2015 11:29:30 +0100
hw  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

> 




Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

2015-02-28 Thread hw



Am 28.02.2015 um 11:35 schrieb Alexander Kapshuk:

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



Re: [gentoo-user] Can't locate Net/IMAP/Client.pm

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