LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-28-2003, 03:44 AM   #1
RobJohnston
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Can't locate object method "splitpath" via package "File::Spec"


While trying to install mailscanner4 on a RaQ3i I find it errors with the following:

Can't locate object method "splitpath" via package "File::Spec" at /usr/lib/perl5/5.00503/i386-linux/ExtUtils/Manifest.pm line 33.

I have installe file::spec from the File-Spec-0.82 rpm but it still won't run.

Manifest.pm does have the entry:

my $Filename = __FILE__;
$DEFAULT_MSKIP = (File::Spec->splitpath($Filename))[1].
"$MANIFEST.SKIP";


So what can I do to remedy the situation?

Many thanks, Rob.
 
Old 06-28-2003, 09:54 AM   #2
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Try installing it directly from CPAN.

Check you have File::Spec::Unix installed also, File::Spec just loads the required OS module to do the stuff.

Does Manifest.pm have a "use File::Spec;" line at the top?

Flibble
 
Old 06-28-2003, 09:59 AM   #3
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Oh, and you might get more replys if you post this in Linux-Software , some people avoid General.

Can one of you MODs move the thread?

Flibble
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
LDAP object classes: cn=admin, why "simpleSecurityObject" and "organizationalRole&quo Hko Linux - Networking 0 08-06-2004 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:04 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