[Catalyst] cannot install Catalyst on perl 5.6.1
michael reece
mreece at sacbee.com
Fri Jun 10 19:57:48 CEST 2005
it _is_ possible, and i have it running on a production 5.6.1 server,
but it is "unsupported" and not entirely trivial.
note: some things will never work, such as proper utf8 support,
including Plucene and related. but if it has to be done, and you
don't need utf8, it can be made to work.
this particular error you getting is related to Class::Struct.
CPAN won't let you install a new version without installing perl.
i got around it by grabbing the source from http://search.cpan.org/
src/NWCLARK/perl-5.8.7/lib/Class/Struct.pm
'locate Struct.pm' (perhaps at /usr/lib/perl5/5.6.1/Class/Struct.pm)
and make a backup. then copy the source from cpan, and paste it in.
while the new Struct.pm comes with newer perl, it does say "use
5.006_001;" and it does appear to work fine under 5.6.1.
On Jun 10, 2005, at 5:09 AM, Srinivasa Mullangi wrote:
> We have Perl 5.6.1 on our production machine.
> When I try to install Ctalyst I get this Error in 'Perl Makefile.PL'
>
> * ERROR: Version 5.006001 of perl is installed, but we need
> version >= 5.008001
> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install
> the versions
> of the modules indicated above before proceeding with this
> installation.
>
>
> I did 'make' anyway but 'make test' is generating the following
> error for all the tests:
>
> t/component/controller/action/regexp.........Initializer for
> response must be hash reference at /root/Catalyst-5.23/blib/lib/
> Catalyst/Engine/Test.pm line 51
>
> Is there any workaround to make Catalyst work on perl 5.6.1.
> Upgrading is not an option right now.
>
>
> Thanks
> Srini
>
>
> Discover Yahoo!
> Stay in touch with email, IM, photo sharing & more. Check it out!
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
More information about the Catalyst
mailing list