in reply to Re^2: What does module installation really do?
in thread What does module installation really do?

What kinds of errors/failed installations are you getting?
  • Comment on Re^3: What does module installation really do?

Replies are listed 'Best First'.
Re^4: What does module installation really do?
by bradcathey (Prior) on Dec 07, 2005 at 14:05 UTC

    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:

    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.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
      The tests are failing, and the module is telling you why:
      Perhaps the DBD::Mock perl module hasn't been fully installed
      Install DBD::Mock and then it can create the mock db objects to run it's tests with.