[cgiapp] Titanium won't install
Gurunandan R. Bhat
guru at informationmatters.in
Mon Feb 28 02:32:16 EST 2011
Hi,
>From the extract you have posted the problem appears to be that
Test::WWW::Mechanize (a prerequisite for ::CGIApp) failed to install
since the test t/contact_lacks.t failed.
Just see if you can "force install Test::WWW::Mechanize" first and then
install the ::CGIApp after that installs successfully
HTH
On Mon, 2011-02-28 at 01:46 +0000, gvim wrote:
> The latest Titanium failed to install on my CentOS 5.5 server, running Perl 5.12.3. It failed to load 2 deps:
>
> Test::WWW::Mechanize::CGIApp
> CGI::Application::Server
>
> Output below.
>
> gvim
>
>
>
>
> PETDANCE/Test-WWW-Mechanize-1.30.tar.gz
> /usr/bin/make -- OK
> Running make test
> PERL_DL_NONLAZY=1 /sw/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00load.t .............. 1/1 # Testing Test::WWW::Mechanize 1.30, with WWW::Mechanize 1.66, LWP 5.836, Perl 5.012003, /sw/bin/perl
> t/00load.t .............. ok
> t/autolint.t ............ skipped: HTML::Lint is not installed, cannot test autolint
> t/back_ok.t ............. ok
> t/click_ok.t ............ ok
> t/content_contains.t .... ok
> t/content_lacks.t ....... 2/5
> # Failed test 'Handles not finding it'
> # at t/content_lacks.t line 40.
> # STDERR is:
> # # Failed test 'Shouldn't say it's a test page'
> # # at t/content_lacks.t line 39.
> # # searched: "<html>\x{0a} <head>\x{0a} <title>Test Page</title>"...
> # # and found: "Test Page"
> # # at position: 33 (line 3 column 16)
> #
> # not:
> # /#\s+Failed\ test.*?\n?.*?at\ t\/content_lacks\.t line 39.*\n?/
> #
> # # searched: "<html>\x{0a} <head>\x{0a} <title>Test Page</title>"...
> #
> # # and found: "Test Page"
> #
> # # at position: 33
> #
> # as expected
> t/content_lacks.t ....... Failed 1/5 subtests
> t/follow_link_ok.t ...... ok
> t/followable_links.t .... ok
> t/get_ok-parms.t ........ ok
> t/get_ok.t .............. ok
> t/has_tag.t ............. ok
> t/head_ok-parms.t ....... ok
> t/head_ok.t ............. ok
> t/html_lint_ok.t ........ skipped: HTML::Lint is not installed, cannot test html_lint_ok
> t/link_content.t ........ ok
> t/link_status.t ......... ok
> t/links_ok.t ............ ok
> t/new.t ................. ok
> t/page_links_content.t .. ok
> t/page_links_ok.t ....... ok
> t/pod-coverage.t ........ ok
> t/pod.t ................. ok
> t/put_ok.t .............. ok
> t/stuff_inputs.t ........ ok
> t/submit_form_ok.t ...... ok
> t/text_contains.t ....... ok
>
> Test Summary Report
> -------------------
> t/content_lacks.t (Wstat: 0 Tests: 5 Failed: 1)
> Failed test: 5
> Files=26, Tests=203, 24 wallclock secs ( 0.24 usr 0.06 sys + 5.12 cusr 0.44 csys = 5.86 CPU)
> Result: FAIL
> Failed 1/26 test programs. 1/203 subtests failed.
> make: *** [test_dynamic] Error 255
> PETDANCE/Test-WWW-Mechanize-1.30.tar.gz
> /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
> reports PETDANCE/Test-WWW-Mechanize-1.30.tar.gz
> Running make install
> make test had returned bad status, won't install without force
> Running make for H/HA/HARTZELL/Test-WWW-Mechanize-CGIApp-0.05.tar.gz
> Has already been unwrapped into directory /sw/.cpan/build/Test-WWW-Mechanize-CGIApp-0.05-GA0QZv
>
> CPAN.pm: Going to build H/HA/HARTZELL/Test-WWW-Mechanize-CGIApp-0.05.tar.gz
>
> Warning: Prerequisite 'Test::WWW::Mechanize => 1.04' for 'HARTZELL/Test-WWW-Mechanize-CGIApp-0.05.tar.gz' failed when processing 'PETDANCE/Test-WWW-Mechanize-1.30.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
> cp lib/Test/WWW/Mechanize/CGIApp.pm blib/lib/Test/WWW/Mechanize/CGIApp.pm
> Manifying blib/man3/Test::WWW::Mechanize::CGIApp.3
> HARTZELL/Test-WWW-Mechanize-CGIApp-0.05.tar.gz
> /usr/bin/make -- OK
> Running make test
> PERL_DL_NONLAZY=1 /sw/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/autorunmode.t ... skipped: Won't test autorunmode_hack if CGI::Application::Plugin::AutoRunmode isn't installed.
> t/cgiapp.t ........ Can't locate object method "new" via package "Test::WWW::Mechanize::CGIApp::SUPER" at lib/Test/WWW/Mechanize/CGIApp.pm line 23.
> # Looks like your test exited with 255 before it could output anything.
> t/cgiapp.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 13/13 subtests
> t/dispatch.t ...... Can't locate object method "new" via package "Test::WWW::Mechanize::CGIApp::SUPER" at lib/Test/WWW/Mechanize/CGIApp.pm line 23.
> # Looks like your test exited with 255 before it could output anything.
> t/dispatch.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 13/13 subtests
> t/instance.t ...... Can't locate object method "new" via package "Test::WWW::Mechanize::CGIApp::SUPER" at lib/Test/WWW/Mechanize/CGIApp.pm line 23.
> # Looks like your test exited with 255 before it could output anything.
> t/instance.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 26/26 subtests
> t/pod.t ........... ok
> t/pod_coverage.t .. ok
>
> Test Summary Report
> -------------------
> t/cgiapp.t (Wstat: 65280 Tests: 0 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 13 tests but ran 0.
> t/dispatch.t (Wstat: 65280 Tests: 0 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 13 tests but ran 0.
> t/instance.t (Wstat: 65280 Tests: 0 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 26 tests but ran 0.
> Files=6, Tests=2, 0 wallclock secs ( 0.04 usr 0.03 sys + 0.31 cusr 0.07 csys = 0.45 CPU)
> Result: FAIL
> Failed 3/6 test programs. 0/2 subtests failed.
> make: *** [test_dynamic] Error 255
> HARTZELL/Test-WWW-Mechanize-CGIApp-0.05.tar.gz
> /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
> reports HARTZELL/Test-WWW-Mechanize-CGIApp-0.05.tar.gz
> Running make install
> make test had returned bad status, won't install without force
>
>
>
> ##### CGI::Application community mailing list ################
> ## ##
> ## To unsubscribe, or change your message delivery options, ##
> ## visit: http://lists.openlib.org/mailman/listinfo/cgiapp ##
> ## ##
> ## Web archive: http://lists.openlib.org/pipermail/cgiapp/ ##
> ## Wiki: http://cgiapp.erlbaum.net/ ##
> ## ##
> ################################################################
>
More information about the cgiapp
mailing list