[Catalyst] Deployment incompatibility
Octavian Rasnita
orasnita at gmail.com
Fri Feb 4 08:14:49 GMT 2011
Hi,
I have tried to build an app under Windows XP and then deploy the tarball u=
nder Ubuntu, using:
catalyst MyFoo
cd MyFoo
perl Makefile.PL
nmake
nmake manifest
nmake dist
After this first step I loaded the file MyFoo-0.01.tar.gz on an Ubuntu serv=
er, unarchiving it, and ran:
perl Makefile.PL
The result was the following error:
The path 'lib\MyFoo.pm' does not exist, or is not a file at inc/Module/Inst=
all/Metadata.pm line 194. =
I've seen that this problem appeared because the file Makefile.PL is create=
d automaticly with the following line in it:
all_from 'lib\MyFoo.pm';
instead of:
all_from 'lib/MyFoo.pm';
I use Catalyst 5.80029.
I couldn't install the newer version of Catalyst because I couldn't install=
MooseX::Role::WithOverloading, because I couldn't install the =
newer version of namespace::autoclean:
Undefined subroutine &namespace::autoclean::on_scope_end called at E:\usr\c=
pan\build\namespace-autoclean-0.11-bB3vbO\blib\lib/namespace/autoclean.pm l=
ine 57.
BEGIN failed--compilation aborted at t/also.t line 7.
Undefined subroutine &namespace::autoclean::on_scope_end called at E:\usr\c=
pan\build\namespace-autoclean-0.11-bB3vbO\blib\lib/namespace/autoclean.pm l=
ine 57.
BEGIN failed--compilation aborted at t/basic.t line 9.
Undefined subroutine &namespace::autoclean::on_scope_end called at E:\usr\c=
pan\build\namespace-autoclean-0.11-bB3vbO\blib\lib/namespace/autoclean.pm l=
ine 57.
BEGIN failed--compilation aborted at t/cleanee.t line 20.
Undefined subroutine &namespace::autoclean::on_scope_end called at E:\usr\c=
pan\build\namespace-autoclean-0.11-bB3vbO\blib\lib/namespace/autoclean.pm l=
ine 57.
BEGIN failed--compilation aborted at t/matchclean.t line 8.
# Testing with Moose 1.21
Undefined subroutine &namespace::autoclean::on_scope_end called at E:\usr\c=
pan\build\namespace-autoclean-0.11-bB3vbO\blib\lib/namespace/autoclean.pm l=
ine 57.
BEGIN failed--compilation aborted at t/role.t line 18.
Failed 5/7 test programs. 0/0 subtests failed.
Thanks.
--Octavian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110204/260f2=
321/attachment.htm
More information about the Catalyst
mailing list