On 8 July 2014 19:00, Uday Vernekar <vernekaru...@gmail.com> wrote: > when i try to install Path::Tiny it gives me following error > > # The following REQUIRED prerequisites were not satisfied: > # > # File::Spec version '3.33' is not in required range '3.40' > # > t/00-report-prereqs.t ............. ok > t/basename.t ...................... File::Spec version 3.4 required--this > is only version 3.33 at > /root/.cpan/build/Path-Tiny-0.055-9ghu3X/blib/lib/Path/Tiny.pm line 12. > BEGIN failed--compilation aborted at > /root/.cpan/build/Path-Tiny-0.055-9ghu3X/blib/lib/Path/Tiny.pm line 12. > Compilation failed in require at t/basename.t line 9. > BEGIN failed--compilation aborted at t/basename.t line 9. >
Not sure why it hasn't, but that problem really should have been resolved by your cpan client. runtime.requires does indeed declare it properly: https://metacpan.org/source/DAGOLDEN/Path-Tiny-0.055/META.json#L67 As does Makefile.PL https://metacpan.org/source/DAGOLDEN/Path-Tiny-0.055/Makefile.PL#L30 https://metacpan.org/source/DAGOLDEN/Path-Tiny-0.055/Makefile.PL#L69 I'm not exactly sure what's going on here, but normally cpan clients are expected to resolve dependencies prior to installation. If you're certain its a bug in Path::Tiny, filing a bug here is recommended: https://github.com/dagolden/Path-Tiny/issues?state=open But other than that I'm not familiar with CPAN.pm and instead use App::cpanminus. -- Kent *KENTNL* - https://metacpan.org/author/KENTNL