Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

cant install log::log4perl

by sumandas (Initiate)
on Feb 03, 2014 at 13:31 UTC ( [id://1073204]=perlquestion: print w/replies, xml ) Need Help??

sumandas has asked for the wisdom of the Perl Monks concerning the following question:

CPAN: CPAN::SQLite loaded ok (v0.203) Database was generated on Mon, 03 Feb 2014 12:44:43 GMT Running install for module 'Log::Log4perl' Running make for M/MS/MSCHILLI/Log-Log4perl-1.42.tar.gz CPAN: Digest::SHA loaded ok (v5.85) CPAN: Compress::Zlib loaded ok (v2.061) Checksum for C:\Perlinstalled\cpan\sources\authors\id\M\MS\MSCHILLI\Lo +g-Log4perl -1.42.tar.gz ok CPAN: Archive::Tar loaded ok (v1.92) CPAN: File::Temp loaded ok (v0.2301) CPAN: Parse::CPAN::Meta loaded ok (v1.4405) CPAN: CPAN::Meta loaded ok (v2.132140) CPAN: Module::CoreList loaded ok (v2.96) CPAN.pm: Building M/MS/MSCHILLI/Log-Log4perl-1.42.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Log::Log4perl Writing MYMETA.yml and MYMETA.json cp lib/Log/Log4perl/Config/BaseConfigurator.pm blib\lib\Log\Log4perl\C +onfig\Base Configurator.pm cp lib/Log/Log4perl/Filter/StringMatch.pm blib\lib\Log\Log4perl\Filter +\StringMat ch.pm cp lib/Log/Log4perl/MDC.pm blib\lib\Log\Log4perl\MDC.pm cp lib/Log/Log4perl.pm blib\lib\Log\Log4perl.pm cp lib/Log/Log4perl/JavaMap/FileAppender.pm blib\lib\Log\Log4perl\Java +Map\FileAp pender.pm cp lib/Log/Log4perl/Appender/Limit.pm blib\lib\Log\Log4perl\Appender\L +imit.pm cp lib/Log/Log4perl/Appender/DBI.pm blib\lib\Log\Log4perl\Appender\DBI +.pm cp lib/Log/Log4perl/Level.pm blib\lib\Log\Log4perl\Level.pm cp lib/Log/Log4perl/Layout/PatternLayout.pm blib\lib\Log\Log4perl\Layo +ut\Pattern Layout.pm cp lib/Log/Log4perl/Filter/Boolean.pm blib\lib\Log\Log4perl\Filter\Boo +lean.pm cp lib/Log/Log4perl/Appender/TestBuffer.pm blib\lib\Log\Log4perl\Appen +der\TestBu ffer.pm cp lib/Log/Log4perl/InternalDebug.pm blib\lib\Log\Log4perl\InternalDeb +ug.pm cp lib/Log/Log4perl/DateFormat.pm blib\lib\Log\Log4perl\DateFormat.pm cp lib/Log/Log4perl/Appender/Socket.pm blib\lib\Log\Log4perl\Appender\ +Socket.pm cp lib/Log/Log4perl/JavaMap/SyslogAppender.pm blib\lib\Log\Log4perl\Ja +vaMap\Sysl ogAppender.pm cp lib/Log/Log4perl/Appender/String.pm blib\lib\Log\Log4perl\Appender\ +String.pm cp lib/Log/Log4perl/Util.pm blib\lib\Log\Log4perl\Util.pm cp lib/Log/Log4perl/Appender/Screen.pm blib\lib\Log\Log4perl\Appender\ +Screen.pm cp lib/Log/Log4perl/Appender/Synchronized.pm blib\lib\Log\Log4perl\App +ender\Sync hronized.pm cp lib/Log/Log4perl/JavaMap/TestBuffer.pm blib\lib\Log\Log4perl\JavaMa +p\TestBuff er.pm cp lib/Log/Log4perl/Layout.pm blib\lib\Log\Log4perl\Layout.pm cp lib/Log/Log4perl/Config.pm blib\lib\Log\Log4perl\Config.pm cp lib/Log/Log4perl/Layout/SimpleLayout.pm blib\lib\Log\Log4perl\Layou +t\SimpleLa yout.pm cp lib/Log/Log4perl/Logger.pm blib\lib\Log\Log4perl\Logger.pm cp lib/Log/Log4perl/Appender/File.pm blib\lib\Log\Log4perl\Appender\Fi +le.pm cp lib/Log/Log4perl/Config/DOMConfigurator.pm blib\lib\Log\Log4perl\Co +nfig\DOMCo nfigurator.pm cp lib/Log/Log4perl/Filter/MDC.pm blib\lib\Log\Log4perl\Filter\MDC.pm cp lib/Log/Log4perl/Layout/NoopLayout.pm blib\lib\Log\Log4perl\Layout\ +NoopLayout .pm cp lib/Log/Log4perl/Appender/ScreenColoredLevels.pm blib\lib\Log\Log4p +erl\Append er\ScreenColoredLevels.pm cp lib/Log/Log4perl/Layout/PatternLayout/Multiline.pm blib\lib\Log\Log +4perl\Layo ut\PatternLayout\Multiline.pm cp lib/Log/Log4perl/Appender/Buffer.pm blib\lib\Log\Log4perl\Appender\ +Buffer.pm cp lib/Log/Log4perl/Appender/RRDs.pm blib\lib\Log\Log4perl\Appender\RR +Ds.pm cp lib/Log/Log4perl/JavaMap.pm blib\lib\Log\Log4perl\JavaMap.pm cp lib/Log/Log4perl/Filter/LevelMatch.pm blib\lib\Log\Log4perl\Filter\ +LevelMatch .pm cp lib/Log/Log4perl/Util/Semaphore.pm blib\lib\Log\Log4perl\Util\Semap +hore.pm cp lib/Log/Log4perl/Config/Watch.pm blib\lib\Log\Log4perl\Config\Watch +.pm cp lib/Log/Log4perl/Resurrector.pm blib\lib\Log\Log4perl\Resurrector.p +m cp lib/Log/Log4perl/JavaMap/NTEventLogAppender.pm blib\lib\Log\Log4per +l\JavaMap\ NTEventLogAppender.pm cp lib/Log/Log4perl/Catalyst.pm blib\lib\Log\Log4perl\Catalyst.pm cp lib/Log/Log4perl/Filter/LevelRange.pm blib\lib\Log\Log4perl\Filter\ +LevelRange .pm cp lib/Log/Log4perl/Filter.pm blib\lib\Log\Log4perl\Filter.pm cp lib/Log/Log4perl/Util/TimeTracker.pm blib\lib\Log\Log4perl\Util\Tim +eTracker.p m cp lib/Log/Log4perl/Appender/TestFileCreeper.pm blib\lib\Log\Log4perl\ +Appender\T estFileCreeper.pm cp lib/Log/Log4perl/Appender/TestArrayBuffer.pm blib\lib\Log\Log4perl\ +Appender\T estArrayBuffer.pm cp lib/Log/Log4perl/Appender.pm blib\lib\Log\Log4perl\Appender.pm cp lib/Log/Log4perl/JavaMap/JDBCAppender.pm blib\lib\Log\Log4perl\Java +Map\JDBCAp pender.pm cp lib/Log/Log4perl/JavaMap/ConsoleAppender.pm blib\lib\Log\Log4perl\J +avaMap\Con soleAppender.pm cp lib/Log/Log4perl/FAQ.pm blib\lib\Log\Log4perl\FAQ.pm cp lib/Log/Log4perl/NDC.pm blib\lib\Log\Log4perl\NDC.pm cp lib/Log/Log4perl/JavaMap/RollingFileAppender.pm blib\lib\Log\Log4pe +rl\JavaMap \RollingFileAppender.pm cp lib/Log/Log4perl/Config/PropertyConfigurator.pm blib\lib\Log\Log4pe +rl\Config\ PropertyConfigurator.pm C:\Perlinstalled\perl\bin\perl.exe -MExtUtils::Command -e cp -- eg/l4p +-tmpl blib \script\l4p-tmpl pl2bat.bat blib\script\l4p-tmpl MSCHILLI/Log-Log4perl-1.42.tar.gz C:\Perlinstalled\c\bin\dmake.exe -- OK CPAN: YAML::XS loaded ok (v0.41) Running make test C:\Perlinstalled\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "tes +t_harness( 0, 'blib\lib', 'blib\arch')" t/*.t t/001Level.t ......... ok t/002Logger.t ........ ok t/003Layout-Rr.t ..... ok t/003Layout.t ........ ok t/004Config.t ........ ok t/005Config-Perl.t ... ok t/006Config-Java.t ... skipped: only with Log::Dispatch t/007LogPrio.t ....... ok t/008ConfCat.t ....... ok t/009Deuce.t ......... ok t/010JConsole.t ...... skipped: only with Log::Dispatch t/011JFile.t ......... skipped: only with Log::Dispatch t/012Deeper.t ........ skipped: only with Log::Dispatch t/013Bench.t ......... ok t/014ConfErrs.t ...... ok t/015fltmsg.t ........ ok t/016Export.t ........ ok t/017Watch.t ......... ok t/018Init.t .......... ok t/019Warn.t .......... ok t/020Easy.t .......... ok t/020Easy2.t ......... ok t/021AppThres.t ...... ok t/022Wrap.t .......... ok t/023Date.t .......... ok t/024WarnDieCarp.t ... ok t/025CustLevels.t .... ok t/026FileApp.t ....... 1/22 No such signal: SIGUSR1 at C:\Perlinstalle +d\cpan\bui ld\Log-Log4perl-1.42-Hy4NFt\blib\lib/Log/Log4perl/Config/Watch.pm line + 39. t/026FileApp.t ....... ok t/027Watch2.t ........ ok t/027Watch3.t ........ skipped: only on platforms supporting signals t/027Watch4.t ........ No such signal: SIGUSR1 at C:\Perlinstalled\cpa +n\build\Lo g-Log4perl-1.42-Hy4NFt\blib\lib/Log/Log4perl/Config/Watch.pm line 39. t/027Watch4.t ........ ok t/028Additivity.t .... ok t/029SysWide.t ....... ok t/030LDLevel.t ....... ok t/031NDC.t ........... ok t/032JRollFile.t ..... skipped: only with Log::Dispatch::FileRotate 1. +10 t/033UsrCspec.t ...... ok t/034DBI.t ........... skipped: DBI 1.607 or DBD::CSV 0.33 or SQL::Sta +tement 1.2 0 not installed, skipping tests t/035JDBCAppender.t .. skipped: only with Log::Dispatch and DBD::CSV 0 +.33 t/036JSyslog.t ....... 1/1 Sys::Syslog not installed, skipping... t/036JSyslog.t ....... ok t/037JWin32Event.t ... skipped: only with Log::Dispatch::Win32EventLog t/038XML-DOM1.t ...... skipped: only with XML::DOM > 1.29 t/039XML-DOM2.t ...... skipped: only with XML::DOM > 1.29 t/040Filter.t ........ ok t/041SafeEval.t ...... ok t/042SyncApp.t ....... skipped: - only with L4P_ALL_TESTS t/043VarSubst.t ...... ok t/044XML-Filter.t .... skipped: only with XML::DOM > 1.29 t/045Composite.t ..... ok t/046RRDs.t .......... skipped: (RRDs not installed) t/048lwp.t ........... skipped: Only with 2.0 < LWP::UserAgent < 5.822 t/049Unhide.t ........ ok t/050Buffer.t ........ ok t/051Extra.t ......... ok t/052Utf8.t .......... ok t/053Resurrect.t ..... Deep recursion on subroutine "Log::Log4perl::Re +surrector: :resurrector_loader" at C:/Perlinstalled/perl/lib/Cwd.pm line 763. Deep recursion on subroutine "Log::Log4perl::Resurrector::resurrector_ +fh" at C:\ Perlinstalled\cpan\build\Log-Log4perl-1.42-Hy4NFt\blib\lib/Log/Log4per +l/Resurrec tor.pm line 70. Deep recursion on subroutine "File::Temp::tempfile" at C:\Perlinstalle +d\cpan\bui ld\Log-Log4perl-1.42-Hy4NFt\blib\lib/Log/Log4perl/Resurrector.pm line +28. Deep recursion on subroutine "File::Temp::_deferred_unlink" at C:/Perl +installed/ perl/lib/File/Temp.pm line 1109. Deep recursion on subroutine "Cwd::fast_abs_path" at C:/Perlinstalled/ +perl/lib/F ile/Temp.pm line 825. Deep recursion on subroutine "Cwd::_win32_cwd" at C:/Perlinstalled/per +l/lib/Cwd. pm line 621. t/053Resurrect.t ..... Dubious, test returned 253 (wstat 64768, 0xfd00 +) No subtests run t/054Subclass.t ...... ok t/055AppDestroy.t .... ok t/056SyncApp2.t ...... skipped: - only with L4P_ALL_TESTS t/057MsgChomp.t ...... ok t/058Warnings.t ...... ok t/059Wrapper.t ....... ok t/060Initialized.t ... ok t/061Multiline.t ..... ok t/062InitHash.t ...... ok t/063LoggerRemove.t .. ok t/064RealClass.t ..... ok t/065Undef.t ......... ok t/066SQLite.t ........ ok t/067Exception.t ..... ok Test Summary Report ------------------- t/053Resurrect.t (Wstat: 64768 Tests: 0 Failed: 0) Non-zero exit status: 253 Parse errors: No plan found in TAP output Files=70, Tests=690, 49 wallclock secs ( 0.37 usr + 0.56 sys = 0.93 +CPU) Result: FAIL Failed 1/70 test programs. 0/690 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' MSCHILLI/Log-Log4perl-1.42.tar.gz C:\Perlinstalled\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports MSCHILLI/Log-Log4perl-1.42.tar.gz Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'Log::Log4perl'.

Replies are listed 'Best First'.
Re: cant install log::log4perl (cpan -f -i -T Log::Log4perl)
by Anonymous Monk on Feb 03, 2014 at 13:48 UTC

    Sure you can install it

    cpan[2]> force notest Log::Log4perl

    cpan -f -i -T Log::Log4perl

    $ perldoc cpan |ack "[-][fiT]" -f Force the specified action, when it normally would have failed +. Use option, -i is not optional for installing a module when you ne +ed to % cpan -f -i Module::Foo -i Install the specified modules. -T Do not test modules. Simply install them. # install modules ( sole -i is optional ) cpan -i Netscape::Booksmarks Business::ISBN # force install modules ( must use -i ) cpan -fi CGI::Minimal URI Japheth Cleaver added the bits to allow a forced install (-f).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1073204]
Approved by sundialsvc4
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-12-02 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found