Skip Menu |

This queue is for tickets about the Sys-Filesystem CPAN distribution.

Report information
The Basics
Id: 88901
Status: resolved
Priority: 0/
Queue: Sys-Filesystem

People
Owner: Nobody in particular
Requestors: MICHIELB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Install problem on Win32 if Win32::DriveInfo is not installed
Build.PL lists Win32::DriveInfo correctly as a build-required module if the OS is MSWin32. But Build.PL first tries to load Sys::Filesystem::Mswin32 to see if the platform is supported by Sys::Filesystem. This errors out, so module installation fails. Only if Win32::DriveInfo is installed beforehand the installation works OK. I'm not sure what an elegant solution would be. Below output of Build.PL on Windows if Win32::DriveInfo is not installed: Couldn't require Sys::Filesystem::Mswin32 : Can't locate Win32/DriveInfo.pm in @INC (@INC contains: C:/work/Sys-Filesystem/lib C:/St rawberryPerl/perl/site/lib C:/StrawberryPerl/perl/vendor/lib C:/StrawberryPerl/perl/lib .) at C:/work/Sys-Filesystem/lib/Sys/Filesys tem/Mswin32.pm line 29. BEGIN failed--compilation aborted at C:/work/Sys-Filesystem/lib/Sys/Filesystem/Mswin32.pm line 29. Compilation failed in require at (eval 42) line 2. at C:/StrawberryPerl/perl/site/lib/Module/Pluggable.pm line 32 Couldn't require Sys::Filesystem::Mswin32 : Attempt to reload Sys/Filesystem/Mswin32.pm aborted. Compilation failed in require at (eval 44) line 2. at C:/StrawberryPerl/perl/site/lib/Module/Pluggable.pm line 32 Can't be used (Can't locate object method "new" via package "Sys::Filesystem::Mswin32" at C:/work/Sys-Filesystem/lib/Sys/Filesystem. pm line 104. ) - OS not supported or bad maintained?
Are you able to try the recent version from github? I tried a patch and would love to get some details whether it helps you or not.
On Mon Sep 23 08:36:18 2013, REHSACK wrote: Show quoted text
> Are you able to try the recent version from github? I tried a patch > and would love to get some details whether it helps you or not.
Sure, this helps! -- Mike
Okay, I refined that and expect that it's solved. Please reopen if not.