Subject: | Cannot install with File::Path@2.06_04 or before. |
An error occurs in t/abs2rel.t.
Show quoted text
> t/abs2rel..............."make_path" is not exported by the File::Path module
> Can't continue after import errors at t/abs2rel.t line 9
> BEGIN failed--compilation aborted at t/abs2rel.t line 9.
> t/abs2rel...............dubious
> Test returned status 255 (wstat 65280, 0xff00)
My environement:
* CentOS 5
* Perl 5.8.8
* File::Path 1.08
File::Path@2.06.04 or before does not have make_path() method.
https://metacpan.org/changes/distribution/File-Path
I can install this module with the following fix.
Show quoted text> diff --git a/Makefile.PL b/Makefile.PL
> index bc40baf..4434f95 100644
> --- a/Makefile.PL
> +++ b/Makefile.PL
> @@ -19,6 +19,7 @@ WriteMakefile
> 'Test' => '0',
> # done_testing() is used in dist/Cwd/t/Spec.t
> 'Test::More' => 0.88,
> + 'File::Path' => '2.06_05',
> },
> ($] > 5.011) ? () : ( INSTALLDIRS => 'perl' ), # CPAN sourced versions should now install to site
> 'EXE_FILES' => [],