gatorreina@gmail.com has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I am having trouble installing perl module WWW::Contact. The output suggests that this might be caused by the possibility of having two versions of perl running although I am not sure if that is the case and am not having problems installing other PMs. Any help would be greatly appreciated. Here is the output from my failed install attempt.

Thanks

MyApp# cpan i /WWW-Contact/ Loading internal null logger. Install Log::Log4perl for logging messag +es Reading '/root/.cpan/Metadata' Database was generated on Tue, 15 Sep 2015 03:29:02 GMT Fetching with LWP: http://cpan.netnitco.net/authors/01mailrc.txt.gz Reading '/root/.cpan/sources/authors/01mailrc.txt.gz' ...................................................................... +......DONE Fetching with LWP: http://cpan.netnitco.net/modules/02packages.details.txt.gz Reading '/root/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Fri, 18 Sep 2015 03:29:02 GMT ...................................................................... +......DONE Fetching with LWP: http://cpan.netnitco.net/modules/03modlist.data.gz Reading '/root/.cpan/sources/modules/03modlist.data.gz' DONE Writing /root/.cpan/Metadata Warning: Cannot install i, don't know what it is. Try the command i /i/ to find objects with matching identifiers. Checksum for /root/.cpan/sources/authors/id/F/FA/FAYLAND/WWW-Contact-0 +.47.tar.gz ok tmp-27066 for tmp-27066: No such file or directory at /usr/local/share +/perl/5.14.2/CPAN/Distribution.pm line 468. Configuring F/FA/FAYLAND/WWW-Contact-0.47.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'WWW-Contact' version '0.47' FAYLAND/WWW-Contact-0.47.tar.gz /usr/bin/perl Build.PL --installdirs site -- OK Running Build for F/FA/FAYLAND/WWW-Contact-0.47.tar.gz Building WWW-Contact FAYLAND/WWW-Contact-0.47.tar.gz ./Build -- OK Running Build test t/00-load.t ......... 1/1 # Testing WWW::Contact 0.47, Perl 5.014002, +/usr/bin/perl t/00-load.t ......... ok t/01-basic.t ........ Class::MOP::load_class is deprecated at /home/ri +chard/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/Class/MOP.pm +line 69. Class::MOP::load_class("WWW::Contact::Unknown") called at /root/.c +pan/build/WWW-Contact-0.47-D2u0W1/blib/lib/WWW/Contact.pm line 142 WWW::Contact::get_contacts(WWW::Contact=HASH(0x898ba08), "a\@a.com +", "b") called at t/01-basic.t line 15 t/01-basic.t ........ ok t/02-supplier.t ..... 11/? Can't call method "answer" on an undefined +value at /root/.cpan/build/WWW-Contact-0.47-D2u0W1/blib/lib/WWW/Conta +ct.pm line 191. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 255 just after 11. t/02-supplier.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) All 11 subtests passed t/101-gmail.t ....... skipped: set $ENV{TEST_GMAIL} and $ENV{TEST_GMAI +L_PASS} to test t/102-yahoo.t ....... skipped: set $ENV{TEST_YAHOO} and $ENV{TEST_YAHO +O_PASS} to test t/103-rediff.t ...... skipped: set $ENV{TEST_REDIFF} and $ENV{TEST_RED +IFF_PASS} to test t/104-163.t ......... skipped: set $ENV{TEST_163} and $ENV{TEST_163_PA +SS} to test t/105-aol.t ......... skipped: set $ENV{TEST_AOL} and $ENV{TEST_AOL_PA +SS} to test t/106-mail.t ........ skipped: set $ENV{TEST_MAIL} and $ENV{TEST_MAIL_ +PASS} to test t/107-hotmail.t ..... skipped: set $ENV{TEST_HOTMAIL} and $ENV{TEST_HO +TMAIL_PASS} to test t/108-indiatimes.t .. skipped: set $ENV{TEST_INDIATIMES} and $ENV{TEST +_INDIATIMES_PASS} to test t/109-lycos.t ....... skipped: set $ENV{TEST_LYCOS} and $ENV{TEST_LYCO +S_PASS} to test t/110-plaxo.t ....... skipped: set $ENV{TEST_PLAXO} and $ENV{TEST_PLAX +O_PASS} to test t/999-author.t ...... skipped: author tests t/pod.t ............. ok Test Summary Report ------------------- t/02-supplier.t (Wstat: 65280 Tests: 11 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=15, Tests=35, 8 wallclock secs ( 0.07 usr 0.03 sys + 4.87 cus +r 0.34 csys = 5.31 CPU) Result: FAIL Failed 1/15 test programs. 0/35 subtests failed. FAYLAND/WWW-Contact-0.47.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports FAYLAND/WWW-Contact-0.47.tar.gz

Replies are listed 'Best First'.
Re: Module Install Problem
by marto (Cardinal) on Sep 18, 2015 at 13:35 UTC