in reply to Re^3: What does module installation really do?
in thread What does module installation really do?
I just now successfully installed CGI::Application::Plugin::ValidateRM and CGI::Application::Plugin::FillInForm, but when I tried to install CGI::Application::Plugin::DBH I got a failed install. Below is the text that echoed to my terminal:
cpan> install CGI::Application::Plugin::DBH Running install for module CGI::Application::Plugin::DBH Running make for M/MA/MARKSTOS/CGI-Application-Plugin-DBH-4.00.tar.gz Fetching with LWP: ftp://cpan.pair.com/pub/CPAN/authors/id/M/MA/MARKSTOS/CGI-Applicatio +n-Plugin-DBH-4.00.tar.gz LWP failed with code[404] message[Can't chdir to pub] Fetching with Net::FTP: ftp://cpan.pair.com/pub/CPAN/authors/id/M/MA/MARKSTOS/CGI-Applicatio +n-Plugin-DBH-4.00.tar.gz Checksum for /usr/home/dsoft/.cpan/sources/authors/id/M/MA/MARKSTOS/CG +I-Application-Plugin-DBH-4.00.tar.gz ok CGI-Application-Plugin-DBH-4.00/ CGI-Application-Plugin-DBH-4.00/t/ CGI-Application-Plugin-DBH-4.00/t/multi_handle.t CGI-Application-Plugin-DBH-4.00/t/existing_dbh.t CGI-Application-Plugin-DBH-4.00/t/TestAppBasic.pm CGI-Application-Plugin-DBH-4.00/t/TestAppAutoConfig.pm CGI-Application-Plugin-DBH-4.00/t/TestAppExistingDBH.pm CGI-Application-Plugin-DBH-4.00/t/TestAppMultiHandle.pm CGI-Application-Plugin-DBH-4.00/t/pod.t CGI-Application-Plugin-DBH-4.00/t/basic.t CGI-Application-Plugin-DBH-4.00/t/auto_config.t CGI-Application-Plugin-DBH-4.00/META.yml CGI-Application-Plugin-DBH-4.00/Changes CGI-Application-Plugin-DBH-4.00/lib/ CGI-Application-Plugin-DBH-4.00/lib/CGI/ CGI-Application-Plugin-DBH-4.00/lib/CGI/Application/ CGI-Application-Plugin-DBH-4.00/lib/CGI/Application/Plugin/ CGI-Application-Plugin-DBH-4.00/lib/CGI/Application/Plugin/DBH.pm CGI-Application-Plugin-DBH-4.00/MANIFEST CGI-Application-Plugin-DBH-4.00/Build.PL CGI-Application-Plugin-DBH-4.00/Makefile.PL CGI-Application-Plugin-DBH-4.00/README CPAN.pm: Going to build M/MA/MARKSTOS/CGI-Application-Plugin-DBH-4.0 +0.tar.gz Checking if your kit is complete... Looks good [Wed Dec 7 08:50:55 2005] Makefile.PL: Warning: prerequisite DBD::Moc +k 0.11 not found. Writing Makefile for CGI::Application::Plugin::DBH ---- Unsatisfied dependencies detected during [M/MA/MARKSTOS/CGI-Appli +cation-Plugin-DBH-4.00.tar.gz] ----- DBD::Mock Shall I follow them and prepend them to the queue of modules we are processing right now? [yes] yes Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module DBD::Mock Running make for S/ST/STEVAN/DBD-Mock-0.28.tar.gz Fetching with LWP: ftp://cpan.pair.com/pub/CPAN/authors/id/S/ST/STEVAN/DBD-Mock-0.28.ta +r.gz LWP failed with code[404] message[Can't chdir to pub] Fetching with Net::FTP: ftp://cpan.pair.com/pub/CPAN/authors/id/S/ST/STEVAN/DBD-Mock-0.28.ta +r.gz Fetching with LWP: ftp://cpan.pair.com/pub/CPAN/authors/id/S/ST/STEVAN/CHECKSUMS Fetching with LWP: ftp://cpan.pair.com/pub/CPAN/authors/id/S/ST/STEVAN/CHECKSUMS.gz Fetching with Net::FTP: ftp://cpan.pair.com/pub/CPAN/authors/id/S/ST/STEVAN/CHECKSUMS Checksum for /usr/home/dsoft/.cpan/sources/authors/id/S/ST/STEVAN/DBD- +Mock-0.28.tar.gz ok DBD-Mock-0.28/ DBD-Mock-0.28/Changes DBD-Mock-0.28/lib/ DBD-Mock-0.28/lib/DBD/ DBD-Mock-0.28/lib/DBD/Mock.pm DBD-Mock-0.28/Makefile.PL DBD-Mock-0.28/MANIFEST DBD-Mock-0.28/MANIFEST.SKIP DBD-Mock-0.28/META.yml DBD-Mock-0.28/README DBD-Mock-0.28/t/ DBD-Mock-0.28/t/000_basic.t DBD-Mock-0.28/t/001_db_handle.t DBD-Mock-0.28/t/002_dr_handle.t DBD-Mock-0.28/t/003_db_can_connect.t DBD-Mock-0.28/t/004_misc_mock_attr.t DBD-Mock-0.28/t/005_db_parser.t DBD-Mock-0.28/t/006_prepare_cached.t DBD-Mock-0.28/t/007_mock_attribute_aliases.t DBD-Mock-0.28/t/008_db_connect_cached.t DBD-Mock-0.28/t/009_info.t DBD-Mock-0.28/t/010_rollback.t DBD-Mock-0.28/t/011_st_execute_empty.t DBD-Mock-0.28/t/012_st_handle.t DBD-Mock-0.28/t/013_st_execute_bound_params.t DBD-Mock-0.28/t/014_st_execute_pass_params.t DBD-Mock-0.28/t/015_st_fetch_records.t DBD-Mock-0.28/t/016_mock_add_resultset_test.t DBD-Mock-0.28/t/017_st_can_connect.t DBD-Mock-0.28/t/018_mock_statement_track.t DBD-Mock-0.28/t/019_mock_statement_track_iterator.t DBD-Mock-0.28/t/020_db_pool.t DBD-Mock-0.28/t/021_DBD_Mock_Session.t DBD-Mock-0.28/t/022_DBD_Mock_Session_bound_params.t DBD-Mock-0.28/t/023_statement_failure.t DBD-Mock-0.28/t/024_selcol_fetchhash.t DBD-Mock-0.28/t/998_pod.t DBD-Mock-0.28/t/999_pod_coverage.t DBD-Mock-0.28/VERSION CPAN.pm: Going to build S/ST/STEVAN/DBD-Mock-0.28.tar.gz Checking if your kit is complete... Looks good Writing Makefile for DBD::Mock cp lib/DBD/Mock.pm blib/lib/DBD/Mock.pm Manifying blib/man3/DBD::Mock.3 /usr/bin/make -- OK Running make test Prepending /usr/home/dsoft/.cpan/build/Data-FormValidator-4.02/blib/ar +ch /usr/home/dsoft/.cpan/build/Data-FormValidator-4.02/blib/lib to PE +RL5LIB. PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/000_basic............................ok + t/001_db_handle........................ok 1/16Can't locate object meth +od "data_sources" via package "DBI::db" at t/001_db_handle.t line 77. t/001_db_handle........................ok 2/16# Looks like you planned + 16 tests but only ran 14. t/001_db_handle........................ok 3/16# Looks like your test d +ied just after 14. t/001_db_handle........................dubious + Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 15-16 Failed 2/16 tests, 87.50% okay t/002_dr_handle........................ok + t/003_db_can_connect...................ok + t/004_misc_mock_attr...................ok + t/005_db_parser........................ok + t/006_prepare_cached...................ok + t/007_mock_attribute_aliases...........ok + t/008_db_connect_cached................ok + t/009_info.............................ok + t/010_rollback.........................ok + t/011_st_execute_empty.................ok + t/012_st_handle........................ok + t/013_st_execute_bound_params..........ok + t/014_st_execute_pass_params...........ok + t/015_st_fetch_records.................ok + t/016_mock_add_resultset_test..........ok + t/017_st_can_connect...................ok + t/018_mock_statement_track.............ok + t/019_mock_statement_track_iterator....ok + t/020_db_pool..........................ok + t/021_DBD_Mock_Session.................ok + t/022_DBD_Mock_Session_bound_params....ok + t/023_statement_failure................ok + t/024_selcol_fetchhash.................ok + t/998_pod..............................skipped all skipped: Test::Pod 1.14 required for testing POD t/999_pod_coverage.....................skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD + coverage Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +------------------------------------------------- t/001_db_handle.t 255 65280 16 4 25.00% 15-16 2 tests skipped. Failed 1/27 test scripts, 96.30% okay. 2/529 subtests failed, 99.62% o +kay. *** Error code 2 Stop in /usr/home/dsoft/.cpan/build/DBD-Mock-0.28. /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Running make for M/MA/MARKSTOS/CGI-Application-Plugin-DBH-4.00.tar.gz Is already unwrapped into directory /usr/home/dsoft/.cpan/build/CGI- +Application-Plugin-DBH-4.00 CPAN.pm: Going to build M/MA/MARKSTOS/CGI-Application-Plugin-DBH-4.0 +0.tar.gz cp lib/CGI/Application/Plugin/DBH.pm blib/lib/CGI/Application/Plugin/D +BH.pm Manifying blib/man3/CGI::Application::Plugin::DBH.3 /usr/bin/make -- OK Running make test Prepending /usr/home/dsoft/.cpan/build/Data-FormValidator-4.02/blib/ar +ch /usr/home/dsoft/.cpan/build/Data-FormValidator-4.02/blib/lib to PE +RL5LIB. PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/auto_config.....ok 1/0install_driver(Mock) failed: Can't locate DBD/ +Mock.pm in @INC (@INC contains: ./t /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/lib /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/arch /usr/home/dsoft/.cpan/build/Data +-FormValidator-4.02/blib/arch /usr/home/dsoft/.cpan/build/Data-FormVa +lidator-4.02/blib/lib /usr/local/lib/perl5/5.8.3/i386-freebsd /usr/lo +cal/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd + /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/ +5.8.0/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/li +b/perl5/site_perl/5.6.1/i386-freebsd /usr/local/lib/perl5/site_perl/5 +.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib +/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl .) at (eval 7) +line 3. Perhaps the DBD::Mock perl module hasn't been fully installed, or perhaps the capitalisation of 'Mock' isn't right. Available drivers: AnyData, CSV, ExampleP, Excel, File, Proxy, RAM, SQ +Lite, Sprite, XBase, mSQL, mysql. at /usr/home/dsoft/.cpan/build/CGI-Application-Plugin-DBH-4.00/blib/l +ib/CGI/Application/Plugin/DBH.pm line 42 # Looks like your test died just after 1. t/auto_config.....dubious + Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/basic...........ok 1/0install_driver(Mock) failed: Can't locate DBD/ +Mock.pm in @INC (@INC contains: ./t /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/lib /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/arch /usr/home/dsoft/.cpan/build/Data +-FormValidator-4.02/blib/arch /usr/home/dsoft/.cpan/build/Data-FormVa +lidator-4.02/blib/lib /usr/local/lib/perl5/5.8.3/i386-freebsd /usr/lo +cal/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd + /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/ +5.8.0/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/li +b/perl5/site_perl/5.6.1/i386-freebsd /usr/local/lib/perl5/site_perl/5 +.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib +/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl .) at (eval 7) +line 3. Perhaps the DBD::Mock perl module hasn't been fully installed, or perhaps the capitalisation of 'Mock' isn't right. Available drivers: AnyData, CSV, ExampleP, Excel, File, Proxy, RAM, SQ +Lite, Sprite, XBase, mSQL, mysql. at /usr/home/dsoft/.cpan/build/CGI-Application-Plugin-DBH-4.00/blib/l +ib/CGI/Application/Plugin/DBH.pm line 42 # Looks like your test died just after 1. t/basic...........dubious + Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/existing_dbh....ok 1/0install_driver(Mock) failed: Can't locate DBD/ +Mock.pm in @INC (@INC contains: ./t /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/lib /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/arch /usr/home/dsoft/.cpan/build/Data +-FormValidator-4.02/blib/arch /usr/home/dsoft/.cpan/build/Data-FormVa +lidator-4.02/blib/lib /usr/local/lib/perl5/5.8.3/i386-freebsd /usr/lo +cal/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd + /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/ +5.8.0/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/li +b/perl5/site_perl/5.6.1/i386-freebsd /usr/local/lib/perl5/site_perl/5 +.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib +/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl .) at (eval 2) +line 3. Perhaps the DBD::Mock perl module hasn't been fully installed, or perhaps the capitalisation of 'Mock' isn't right. Available drivers: AnyData, CSV, ExampleP, Excel, File, Proxy, RAM, SQ +Lite, Sprite, XBase, mSQL, mysql. at t/TestAppExistingDBH.pm line 14 # Looks like your test died just after 1. t/existing_dbh....dubious + Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/multi_handle....ok 1/0install_driver(Mock) failed: Can't locate DBD/ +Mock.pm in @INC (@INC contains: ./t /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/lib /usr/home/dsoft/.cpan/build/CGI-A +pplication-Plugin-DBH-4.00/blib/arch /usr/home/dsoft/.cpan/build/Data +-FormValidator-4.02/blib/arch /usr/home/dsoft/.cpan/build/Data-FormVa +lidator-4.02/blib/lib /usr/local/lib/perl5/5.8.3/i386-freebsd /usr/lo +cal/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd + /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/ +5.8.0/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/li +b/perl5/site_perl/5.6.1/i386-freebsd /usr/local/lib/perl5/site_perl/5 +.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib +/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl .) at (eval 2) +line 3. Perhaps the DBD::Mock perl module hasn't been fully installed, or perhaps the capitalisation of 'Mock' isn't right. Available drivers: AnyData, CSV, ExampleP, Excel, File, Proxy, RAM, SQ +Lite, Sprite, XBase, mSQL, mysql. at /usr/home/dsoft/.cpan/build/CGI-Application-Plugin-DBH-4.00/blib/l +ib/CGI/Application/Plugin/DBH.pm line 42 # Looks like your test died just after 1. t/multi_handle....dubious + Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/pod.............ok + Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +------------------------------------------------- t/auto_config.t 255 65280 1 0 0.00% ?? t/basic.t 255 65280 1 0 0.00% ?? t/existing_dbh.t 255 65280 1 0 0.00% ?? t/multi_handle.t 255 65280 1 0 0.00% ?? Failed 4/5 test scripts, 20.00% okay. 0/5 subtests failed, 100.00% oka +y. *** Error code 2 Stop in /usr/home/dsoft/.cpan/build/CGI-Application-Plugin-DBH-4.00. /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>
Here's the last bit of it for those who don't want to see all the bloody details:
Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +------------------------------------------------- t/auto_config.t 255 65280 1 0 0.00% ?? t/basic.t 255 65280 1 0 0.00% ?? t/existing_dbh.t 255 65280 1 0 0.00% ?? t/multi_handle.t 255 65280 1 0 0.00% ?? Failed 4/5 test scripts, 20.00% okay. 0/5 subtests failed, 100.00% oka +y. *** Error code 2 Stop in /usr/home/dsoft/.cpan/build/CGI-Application-Plugin-DBH-4.00. /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Any ideas? Any help would be appreciated.
Update: fixed incorrect module name.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: What does module installation really do?
by hubb0r (Pilgrim) on Dec 08, 2005 at 15:04 UTC |