LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can't locate object method "splitpath" via package "File::Spec" (http://www.linuxquestions.org/questions/linux-general-1/cant-locate-object-method-splitpath-via-package-file-spec-68610/)

RobJohnston 06-28-2003 03:44 AM

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.

Flibble 06-28-2003 09:54 AM

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

Flibble 06-28-2003 09:59 AM

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


All times are GMT -5. The time now is 02:25 PM.