Skip Menu |

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 123210
Status: open
Priority: 0/
Queue: PathTools

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

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



Subject: Need to specify File::Path 2.07 as a dependency
PathTools doesn't install on some older versions of perl because of a missing dependency. While File::Path is in core, you use the 'make_path' function, which wasn't introduced until version 2.07. That's only in core from perl 5.10.1 onwards (and 5.8.9). With a shiny new File::Path installed, PathTools passes all its tests and installs just fine, so fixing this should be a simple matter of adding this to the PREREQ_PM hash in Makefile.PL 'File::Path' => 2.07 There's a circular dependency between File::Path and PathTools, but thankfully the versions of File::Spec and Cwd in core seem to be sufficient to satisfy File::Path's dependencies, so being explicit about the dependency shouldn't introduce any problems.
This has been fixed in blead by using mkpath rather than make_path. It just needs a release at some point.