naterajj has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am trying to install a Perl module in a redhat 8.0 box, but the installation fails with the following error:

Use of uninitialized value in -d at /usr/lib/perl5/5.8.1/File/Path.pm line 153.
fileparse(): need a valid pathname at /usr/lib/perl5/5.8.1/File/Path.pm line 154
make: *** pure_vendor_install Error 255

This same module installs fine in a debian/sid box, I am using this in my Makefile.pl:

VENDORPREFIX => '/usr/private', 
INSTALLDIRS => 'vendor'

Also, the versions of ExtUtils::MakeMaker and File::Path are the same on box boxes

Any help will be greatly appreciated