LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2009, 02:18 PM   #1
sjmarshy
LQ Newbie
 
Registered: Mar 2009
Location: United Kingdom
Distribution: Fedora 10
Posts: 17

Rep: Reputation: 0
Can't locate ExtUtils/Packlist.pm in @INC


I'm trying to install a new perl module (prima) using the Makefile.PL but this error continually comes up:

Can't locate ExtUtils/Packlist.pm in @INC (@INC contains: . /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl .) at Makefile.PL line 50.
BEGIN failed--compilation aborted at Makefile.PL line 50.

I think I know that it means there's no packlist in the special include variable...but I have no idea really, nor any about how to fix it. What do I need to do to either fix this problem or install Prima manually?
Cheers.
 
Old 04-03-2009, 04:04 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The perl module 'Packlist.pm' is not a "packlist",
Quote:
... provides a standard way to manage .packlist files.
and if the 'ExtUtils::Packlist' isn't part of your
perl 5.10 ( for unknown reasons ) you can install
that first > > 'ExtUtils-Install-1.52'
( ExtUtils-Install-1.52.tar.gz )
http://search.cpan.org/~yves/ExtUtil...ls/Packlist.pm

But a much more convenient way is : use the 'cpan' shell :
'su' .. # 'cpan'
> cpan install Prima
which will also download and install the dependencies.
.....
 
Old 04-03-2009, 04:49 PM   #3
sjmarshy
LQ Newbie
 
Registered: Mar 2009
Location: United Kingdom
Distribution: Fedora 10
Posts: 17

Original Poster
Rep: Reputation: 0
For some reason, I don't have the ability to go into the cpan shell, I attempted to # yum install cpan but it returned the following error:

--> Running transaction check
---> Package perl-CPAN.i386 0:1.9205-56.fc10 set to be updated
--> Processing Dependency: perl = 4:5.10.0-56.fc10 for package: perl-CPAN
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: perl-CPAN
--> Running transaction check
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-Pod-Simple
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-libs
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-Pod-Escapes
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-Module-Pluggable
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-version
---> Package perl.i386 4:5.10.0-56.fc10 set to be updated
---> Package perl-ExtUtils-MakeMaker.i386 0:6.36-56.fc10 set to be updated
--> Processing Dependency: perl(Test::Harness) for package: perl-ExtUtils-MakeMaker
--> Processing Dependency: perl-devel for package: perl-ExtUtils-MakeMaker
--> Running transaction check
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-libs
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-Pod-Escapes
---> Package perl-Module-Pluggable.i386 1:3.60-56.fc10 set to be updated
---> Package perl-Pod-Simple.i386 1:3.07-56.fc10 set to be updated
---> Package perl-Test-Harness.i386 0:3.12-56.fc10 set to be updated
---> Package perl-devel.i386 4:5.10.0-56.fc10 set to be updated
--> Processing Dependency: perl(ExtUtils::ParseXS) for package: perl-devel
---> Package perl-version.i386 3:0.74-56.fc10 set to be updated
--> Running transaction check
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-libs
--> Processing Dependency: perl = 4:5.10.0-49.fc10 for package: perl-Pod-Escapes
---> Package perl-ExtUtils-ParseXS.i386 1:2.18-56.fc10 set to be updated
--> Finished Dependency Resolution
1erl-Pod-Escapes-1.04-49.fc10.i386 from installed has depsolving problems
--> Missing Dependency: perl = 4:5.10.0-49.fc10 is needed by package 1erl-Pod-Escapes-1.04-49.fc10.i386 (installed)
4erl-libs-5.10.0-49.fc10.i386 from installed has depsolving problems
--> Missing Dependency: perl = 4:5.10.0-49.fc10 is needed by package 4erl-libs-5.10.0-49.fc10.i386 (installed)
Error: Missing Dependency: perl = 4:5.10.0-49.fc10 is needed by package 1erl-Pod-Escapes-1.04-49.fc10.i386 (installed)
Error: Missing Dependency: perl = 4:5.10.0-49.fc10 is needed by package 4erl-libs-5.10.0-49.fc10.i386 (installed)

sorry about all the problems, but how do I resolve this?
helps really appreciated, cheers.
 
Old 04-04-2009, 03:00 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, you may just have to try again. It works fine
in my Fedora 10 with all the updates from 'build 49'
to 'build 56'. ( Please read the attached text.)

Or try removing 'perl-Pod-Escapes' :
# rpm -e perl-Pod-Escapes
( # rpm -e --nodeps perl-Pod-Escapes )
and see if that improves the situation.
.....
Attached Files
File Type: txt cpan-yum-install.txt (6.4 KB, 59 views)
 
Old 04-05-2009, 10:50 AM   #5
sjmarshy
LQ Newbie
 
Registered: Mar 2009
Location: United Kingdom
Distribution: Fedora 10
Posts: 17

Original Poster
Rep: Reputation: 0
I *think* I've sorted it. from attempting to remove the offending dependency packages, it turns out for some reason I had two different versions installed, and although one was up to date, the dependencies of the older one wouldn't allow me to update perl or install cpan...deleted the misc second packages and it's updating perl right now (which it also wouldn't let me do) once all the updates are done I'll see if cpan installation will now work...
Cheers
 
Old 04-05-2009, 01:23 PM   #6
sjmarshy
LQ Newbie
 
Registered: Mar 2009
Location: United Kingdom
Distribution: Fedora 10
Posts: 17

Original Poster
Rep: Reputation: 0
okay, it started updating perl but it hangs after its downloaded but before it installs everything (on the first item, in fact). I've tried it with cpan too and it hangs there also.I think it might be the update of Perl itself that is causing it...:/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
locate mikeshn Linux - Software 4 05-14-2007 04:38 AM
cpan> locate -u Unknown shell command 'locate -u'. Type ? for help. sharad2005 Linux From Scratch 1 08-04-2006 12:40 AM
What's a packlist? Can I remove it? BlueNoteMKVI Linux - Newbie 3 09-14-2005 10:44 PM
locate juanb Linux - Newbie 2 12-18-2003 05:36 AM
Can't locate locate hindenbergbaby Linux - Newbie 3 10-22-2003 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration