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

Thanks hubb0r, that makes sense. I just don't understand why I get so many errors and failed installs.

Here's what Pair has me doing:

ssh myusername@servername.pair.com. enter password /usr/local/bin/perl -MCPAN -e shell cpan> o conf makepl_arg LIB=/usr/home/myusername/modules cpan> install CPAN::Modulename [look for -- OK] (rare) q exit

Oh, and it looks like I'm using SSH.


—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot

Replies are listed 'Best First'.
Re^3: What does module installation really do?
by hubb0r (Pilgrim) on Dec 07, 2005 at 04:12 UTC
    What kinds of errors/failed installations are you getting?

      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.