[Catalyst-dev] [PATCH] File::Slurp not required in Makefile.PL

Marcello Romani mromani at ottotecnica.com
Thu Nov 9 07:11:29 GMT 2006


Steve Peters ha scritto:
> I attempted to install Catalyst on a fresh Perl system and it failed two
> tests:  optional_lighttpd-fastcgi-non-root.t and optional_lighttpd-fastcgi.t.
> The failures were caused by File::Slurp being used, but never mentioned
> in the Makefile.PL as a requirement.  The patch below adds it as a 
> requirement.
> 
> Steve Peters
> steve at fisharerojo.org
>  
> --- Makefile.PL.old     2006-11-08 20:27:53.000000000 -0600
> +++ Makefile.PL 2006-11-08 20:28:19.000000000 -0600
> @@ -13,6 +13,7 @@
>  requires 'CGI::Simple::Cookie';
>  requires 'Data::Dump';
>  requires 'File::Modified';
> +requires 'File::Slurp';
>  requires 'HTML::Entities';
>  requires 'HTTP::Body'    => '0.5';
>  requires 'HTTP::Headers' => '1.64';
> 
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst-dev
> 
> 

File::Slurp is a requirement only if those tests are to be run.
AFAIK, there's a patch in trunk that corrects the problem:

http://dev.catalyst.perl.org/changeset/5440

-- 
Marcello Romani
Responsabile IT
Ottotecnica s.r.l.
http://www.ottotecnica.com



More information about the Catalyst-dev mailing list