To elaborate on Re^4: Catalyst MVC Installation

Catalyst-Devel-1.34> perl Makefile.PL Name "main::NULL" used only once: possible typo at Makefile.PL line 56 +. Cannot determine perl version info from lib/Catalyst/Devel.pm *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... *** Since we're running under CPANPLUS, I'll just let it take care of the dependency's installation later. [Core Features] - Test::More ...loaded. (0.98 >= 0.94) - Test::Fatal ...loaded. (0.006 >= 0.003) - ExtUtils::MakeMaker ...loaded. (6.59 >= 6.11) - Moose ...loaded. (2.0205) - MooseX::Emulate::Class::Accessor::Fast ...loaded. (0.00903) - File::ShareDir ...loaded. (1.03) - namespace::clean ...loaded. (0.21) - namespace::autoclean ...loaded. (0.13) - Catalyst ...loaded. (5.90004 >= 5.9000 +1) - Catalyst::Action::RenderView ...loaded. (0.16 >= 0.10) - Catalyst::Plugin::Static::Simple ...loaded. (0.29 >= 0.28) - Catalyst::Plugin::ConfigLoader ...loaded. (0.30 >= 0.30) - Config::General ...loaded. (2.50 >= 2.42) - File::ChangeNotify ...loaded. (0.20 >= 0.07) - File::Copy::Recursive ...loaded. (0.38) - Path::Class ...loaded. (0.24 >= 0.09) - Template ...loaded. (2.22 >= 2.14) - MooseX::Daemonize ...missing. - Starman ...missing. - Module::Install ...loaded. (1.01 >= 0.91) - Win32::Process ...loaded. (0.14 >= 0.04) - Proc::Background ...loaded. (1.10) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Warning: prerequisite MooseX::Daemonize 0 not found. Warning: prerequisite Starman 0 not found. Writing Makefile for Catalyst::Devel Writing MYMETA.yml and MYMETA.json Catalyst-Devel-1.34> dmake cp lib/Catalyst/Helper.pm blib\lib\Catalyst\Helper.pm cp lib/Catalyst/Restarter/Forking.pm blib\lib\Catalyst\Restarter\Forki +ng.pm cp lib/Module/Install/Catalyst.pm blib\lib\Module\Install\Catalyst.pm cp lib/Catalyst/Devel.pm blib\lib\Catalyst\Devel.pm cp lib/Catalyst/Restarter/Win32.pm blib\lib\Catalyst\Restarter\Win32.p +m cp lib/Catalyst/Restarter.pm blib\lib\Catalyst\Restarter.pm Catalyst-Devel-1.34> dmake test C:\perl\5.14.1\bin\MSWin32-x86-multi-thread\perl.exe "-MExtUtils::Comm +and::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/01u +se.t t/back_compat.t t/generated_app.t t/get_sharedir_file.t t/option +al_http-server-restart.t t/render_file_contents.t t/render_share_dir_ +file.t t/01use.t ......................... ok t/back_compat.t ................... ok t/generated_app.t ................. # Generated app is %temp%\0tTuaPXM +Vl t/generated_app.t ................. 52/? # Installed app is %temp%\zdo +hEOiG0K t/generated_app.t ................. ok t/get_sharedir_file.t ............. ok t/optional_http-server-restart.t .. skipped: set TEST_HTTP to enable t +his test t/render_file_contents.t .......... 1/? # Failed test at t/render_file_contents.t line 23. # got: '438' # expected: '447' # Looks like you failed 1 test of 4. t/render_file_contents.t .......... Dubious, test returned 1 (wstat 25 +6, 0x100) Failed 1/4 subtests t/render_share_dir_file.t ......... ok Test Summary Report ------------------- t/render_file_contents.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 4 Non-zero exit status: 1 Files=7, Tests=91, 43 wallclock secs ( 0.24 usr + 0.08 sys = 0.31 CP +U) Result: FAIL Failed 1/7 test programs. 1/91 subtests failed. dmake: Error code 255, while making 'test_dynamic'

The only test that fails is

ok( $helper->render_file_contents('example1', $fn, { test_var => 'test_val' }, 0677 ), "file contents rendered" ); ok -r $fn; ok -s $fn; my $perms = ( stat $fn )[2] & 07777; is $perms, 0677;

If you skip reading perlport#Files and Filesystems, chmod, your test suites will fail because of false assumptions :)


Despite what the Catalyst-Devel/Makefile.PL claims, MooseX::Daemonize is not a requirement, and starman is not a requirement

The author should have used http://search.cpan.org/perldoc/Module::Install#recommends instead of requires


As for Moosex::Daemonize obviously not work on Windows, it could be made to work on windows, though not through signals


In reply to Re^4: Catalyst MVC Installation by Anonymous Monk
in thread Catalyst MVC Installation by piranha

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.