[Catalyst] nmake catalyst_par

Octavian Râşniţă orasnita at gmail.com
Mon Apr 20 09:01:03 GMT 2009


From: "Tomas Doran" <bobtfish at bobtfish.net>On 19 Apr 2009, at 17:27, 
Octavian Râşniţă wrote:
> With Catalyst 5.8 I've tried:
>
> E:\web\T2> perl Makefile.PL
> ...
> E:\web\T2> nmake
> ...
> E:\web\T2> nmake catalyst_par
> ...

<snip>

> Could be an error of PAR, or something else?

I guess you're using perl 5.8 rather than 5.10?

If so, then this is as PAR isn't following the fact that MRO::Compat
needs to pull in Class::C3 to do its job on perl 5.8. Try explicitly
saying 'use Class::C3' in your MyApp.pm and this may fix it.

This is just a guess - but one of the major problems with PAR is that
its detection of what to package doesn't work so well with runtime
class loading :/

Cheers
t0m



Thanks and sorry for not giving a complete explanation, but I use Perl 
5.10.0.
I've also added "use Class::C3" but it still gives the error below.

I will report this to the PAR mailing list if you think it is a PAR error.

Can't locate mro.pm in @INC (@INC contains: CODE(0x13576bc) 
C:\DOCUME~1\Octavian
\LOCALS~1\Temp\par-Octavian\cache-31f47a759bf1a2dca3b4eddab5538c327ccea7f2\inc\l
ib 
C:\DOCUME~1\Octavian\LOCALS~1\Temp\par-Octavian\cache-31f47a759bf1a2dca3b4edd
ab5538c327ccea7f2\inc\arch 
C:\DOCUME~1\Octavian\LOCALS~1\Temp\par-Octavian\cache
-31f47a759bf1a2dca3b4eddab5538c327ccea7f2\inc CODE(0x11e6594) 
e:\lucru\catalyst\
support\lib . CODE(0x11e6044)) at MRO/Compat.pm line 38.
BEGIN failed--compilation aborted at MRO/Compat.pm line 44.
Compilation failed in require at Class/MOP.pm line 9.
BEGIN failed--compilation aborted at Class/MOP.pm line 9.
Compilation failed in require at Moose/Exporter.pm line 10.
BEGIN failed--compilation aborted at Moose/Exporter.pm line 10.
Compilation failed in require at Moose.pm line 16.
BEGIN failed--compilation aborted at Moose.pm line 16.
Compilation failed in require at Catalyst/Engine/HTTP.pm line 3.
BEGIN failed--compilation aborted at Catalyst/Engine/HTTP.pm line 3.
Compilation failed in require at ./script/t6_server.pl line 6.
BEGIN failed--compilation aborted at ./script/t6_server.pl line 7.
E:\web\T6>

Octavian




More information about the Catalyst mailing list