Can't locate POE.pm in @INC

M

Michael Evanchik

Hi i installed perl-POE and when in test a pearl script this is my
error.

[root@localhost POE-Component-IRC-2.9]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
Can't locate POE.pm in @INC (@INC contains: blib/lib blib/arch
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
at blib/lib/POE/Component/IRC.pm line 14.
BEGIN failed--compilation aborted at blib/lib/POE/Component/IRC.pm
line 14.
Compilation failed in require at test.pl line 12.
BEGIN failed--compilation aborted at test.pl line 12.
make: *** [test_dynamic] Error 2

Anyone know what i should look for or do.
Thanks for your help in advance.
 
B

bd

Michael said:
Hi i installed perl-POE and when in test a pearl script this is my
error.

[root@localhost POE-Component-IRC-2.9]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
Can't locate POE.pm in @INC (@INC contains: blib/lib blib/arch
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
at blib/lib/POE/Component/IRC.pm line 14.
BEGIN failed--compilation aborted at blib/lib/POE/Component/IRC.pm
line 14.
Compilation failed in require at test.pl line 12.
BEGIN failed--compilation aborted at test.pl line 12.
make: *** [test_dynamic] Error 2

Anyone know what i should look for or do.
Thanks for your help in advance.

You're apparently trying to install the POE::Component::IRC module. However,
first you need to install the POE module. Get it from cpan.org, or use
'cpan POE' to install it. Then restart the POE::Component::IRC module
installation.
 
M

Michael Evanchik

Thanks for your help. I did have POE installed but what the problem
was is the POE install is installing itself to the lesser version of
perl i had installed. I deleted the lesser version of perl and then
reinstalled and it works. My problem is i dont understand how linux
keeps lesser versions instead of upgrading them.

Mike
 
S

Sam Holden

Thanks for your help. I did have POE installed but what the problem
was is the POE install is installing itself to the lesser version of
perl i had installed. I deleted the lesser version of perl and then
reinstalled and it works. My problem is i dont understand how linux
keeps lesser versions instead of upgrading them.

linux doesn't. Your distribution might.

Just make sure the perl executable you use to run Makefile.PL is the
one you want the module installed for, and all should work out fine.
At least it has in my experience (I have two perl versions installed,
the system one and my own install that is actually from this
century)...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top