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

Respected Monks,

I am trying to install Log::Log4perl Module (Portable Strawberry Perl Version 5.16.3) on Windows 7 64 Bit. For 32 as well as 64 bit Perl Versions, I get the same error. The "Perl.exe has stopped working" Pop up shows up. The command line shows the following error:

C:\Users\pmu>cpanm Log::Log4perl --> Working on Log::Log4perl Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.4 +2.tar.gz ... OK Configuring Log-Log4perl-1.42 ... OK Building and testing Log-Log4perl-1.42 ... FAIL ! Installing Log::Log4perl failed. See C:\MY32BI~1\data\.cpanm\build.l +og for details.

A gist of the build.log is shown below:

Deep recursion on subroutine "Log::Log4perl::Resurrector::resurrector_ +loader" at C:/my32bitperl/perl/lib/Cwd.pm line 763. Deep recursion on subroutine "Log::Log4perl::Resurrector::resurrector_ +fh" at C:\MY32BI~1\data\.cpanm\work\1384246504.5200\Log-Log4perl-1.42 +\blib\lib/Log/Log4perl/Resurrector.pm line 70. Deep recursion on subroutine "File::Temp::tempfile" at C:\MY32BI~1\dat +a\.cpanm\work\1384246504.5200\Log-Log4perl-1.42\blib\lib/Log/Log4perl +/Resurrector.pm line 28. Deep recursion on subroutine "File::Temp::_deferred_unlink" at C:/my32 +bitperl/perl/site/lib/File/Temp.pm line 1110. Deep recursion on subroutine "Cwd::fast_abs_path" at C:/my32bitperl/pe +rl/site/lib/File/Temp.pm line 826. Deep recursion on subroutine "Cwd::_win32_cwd" at C:/my32bitperl/perl/ +lib/Cwd.pm line 621. t/053Resurrect.t ..... Dubious, test returned 253 (wstat 64768, 0xfd00)

The complete output of the build.log file is given below:

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x86-m +ulti-thread Work directory is C:\MY32BI~1\data/.cpanm/work/1384246504.5200 You have make C:\my32bitperl\c\bin\dmake.exe You have LWP 6.04 Falling back to Archive::Tar 1.90 Searching Log::Log4perl on cpanmetadb ... --> Working on Log::Log4perl Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.4 +2.tar.gz -> OK Unpacking Log-Log4perl-1.42.tar.gz Entering Log-Log4perl-1.42 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64) Configuring Log-Log4perl-1.42 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Log::Log4perl Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64) Checking if you have Test::More 0.45 ... Yes (0.99) Checking if you have File::Spec 0.82 ... Yes (3.40) Building and testing Log-Log4perl-1.42 cp lib/Log/Log4perl/Filter/LevelRange.pm blib\lib\Log\Log4perl\Filter\ +LevelRange.pm cp lib/Log/Log4perl/JavaMap/ConsoleAppender.pm blib\lib\Log\Log4perl\J +avaMap\ConsoleAppender.pm cp lib/Log/Log4perl/JavaMap/TestBuffer.pm blib\lib\Log\Log4perl\JavaMa +p\TestBuffer.pm cp lib/Log/Log4perl/MDC.pm blib\lib\Log\Log4perl\MDC.pm cp lib/Log/Log4perl/NDC.pm blib\lib\Log\Log4perl\NDC.pm cp lib/Log/Log4perl/Layout.pm blib\lib\Log\Log4perl\Layout.pm cp lib/Log/Log4perl/Appender/TestBuffer.pm blib\lib\Log\Log4perl\Appen +der\TestBuffer.pm cp lib/Log/Log4perl/Appender/ScreenColoredLevels.pm blib\lib\Log\Log4p +erl\Appender\ScreenColoredLevels.pm cp lib/Log/Log4perl/Util/TimeTracker.pm blib\lib\Log\Log4perl\Util\Tim +eTracker.pm cp lib/Log/Log4perl/Resurrector.pm blib\lib\Log\Log4perl\Resurrector.p +m cp lib/Log/Log4perl/Layout/SimpleLayout.pm blib\lib\Log\Log4perl\Layou +t\SimpleLayout.pm cp lib/Log/Log4perl/JavaMap/SyslogAppender.pm blib\lib\Log\Log4perl\Ja +vaMap\SyslogAppender.pm cp lib/Log/Log4perl/Filter.pm blib\lib\Log\Log4perl\Filter.pm cp lib/Log/Log4perl/Util/Semaphore.pm blib\lib\Log\Log4perl\Util\Semap +hore.pm cp lib/Log/Log4perl/Util.pm blib\lib\Log\Log4perl\Util.pm cp lib/Log/Log4perl/Appender/Limit.pm blib\lib\Log\Log4perl\Appender\L +imit.pm cp lib/Log/Log4perl/FAQ.pm blib\lib\Log\Log4perl\FAQ.pm cp lib/Log/Log4perl/Config.pm blib\lib\Log\Log4perl\Config.pm cp lib/Log/Log4perl/Appender/RRDs.pm blib\lib\Log\Log4perl\Appender\RR +Ds.pm cp lib/Log/Log4perl/Layout/NoopLayout.pm blib\lib\Log\Log4perl\Layout\ +NoopLayout.pm cp lib/Log/Log4perl/JavaMap/FileAppender.pm blib\lib\Log\Log4perl\Java +Map\FileAppender.pm cp lib/Log/Log4perl/Appender/Socket.pm blib\lib\Log\Log4perl\Appender\ +Socket.pm cp lib/Log/Log4perl/Appender/DBI.pm blib\lib\Log\Log4perl\Appender\DBI +.pm cp lib/Log/Log4perl/Filter/LevelMatch.pm blib\lib\Log\Log4perl\Filter\ +LevelMatch.pm cp lib/Log/Log4perl/Filter/MDC.pm blib\lib\Log\Log4perl\Filter\MDC.pm cp lib/Log/Log4perl/JavaMap.pm blib\lib\Log\Log4perl\JavaMap.pm cp lib/Log/Log4perl/Catalyst.pm blib\lib\Log\Log4perl\Catalyst.pm cp lib/Log/Log4perl/Config/PropertyConfigurator.pm blib\lib\Log\Log4pe +rl\Config\PropertyConfigurator.pm cp lib/Log/Log4perl/Filter/Boolean.pm blib\lib\Log\Log4perl\Filter\Boo +lean.pm cp lib/Log/Log4perl/Appender/TestFileCreeper.pm blib\lib\Log\Log4perl\ +Appender\TestFileCreeper.pm cp lib/Log/Log4perl/InternalDebug.pm blib\lib\Log\Log4perl\InternalDeb +ug.pm cp lib/Log/Log4perl/Appender/File.pm blib\lib\Log\Log4perl\Appender\Fi +le.pm cp lib/Log/Log4perl/Level.pm blib\lib\Log\Log4perl\Level.pm cp lib/Log/Log4perl/Appender/TestArrayBuffer.pm blib\lib\Log\Log4perl\ +Appender\TestArrayBuffer.pm cp lib/Log/Log4perl/Appender/Synchronized.pm blib\lib\Log\Log4perl\App +ender\Synchronized.pm cp lib/Log/Log4perl/Appender/Buffer.pm blib\lib\Log\Log4perl\Appender\ +Buffer.pm cp lib/Log/Log4perl/Appender/String.pm blib\lib\Log\Log4perl\Appender\ +String.pm cp lib/Log/Log4perl/JavaMap/JDBCAppender.pm blib\lib\Log\Log4perl\Java +Map\JDBCAppender.pm cp lib/Log/Log4perl/JavaMap/RollingFileAppender.pm blib\lib\Log\Log4pe +rl\JavaMap\RollingFileAppender.pm cp lib/Log/Log4perl/Config/DOMConfigurator.pm blib\lib\Log\Log4perl\Co +nfig\DOMConfigurator.pm cp lib/Log/Log4perl.pm blib\lib\Log\Log4perl.pm cp lib/Log/Log4perl/JavaMap/NTEventLogAppender.pm blib\lib\Log\Log4per +l\JavaMap\NTEventLogAppender.pm cp lib/Log/Log4perl/Layout/PatternLayout.pm blib\lib\Log\Log4perl\Layo +ut\PatternLayout.pm cp lib/Log/Log4perl/Filter/StringMatch.pm blib\lib\Log\Log4perl\Filter +\StringMatch.pm cp lib/Log/Log4perl/DateFormat.pm blib\lib\Log\Log4perl\DateFormat.pm cp lib/Log/Log4perl/Appender.pm blib\lib\Log\Log4perl\Appender.pm cp lib/Log/Log4perl/Appender/Screen.pm blib\lib\Log\Log4perl\Appender\ +Screen.pm cp lib/Log/Log4perl/Logger.pm blib\lib\Log\Log4perl\Logger.pm cp lib/Log/Log4perl/Config/BaseConfigurator.pm blib\lib\Log\Log4perl\C +onfig\BaseConfigurator.pm cp lib/Log/Log4perl/Layout/PatternLayout/Multiline.pm blib\lib\Log\Log +4perl\Layout\PatternLayout\Multiline.pm cp lib/Log/Log4perl/Config/Watch.pm blib\lib\Log\Log4perl\Config\Watch +.pm C:\my32bitperl\perl\bin\perl.exe -MExtUtils::Command -e cp -- eg/l4p-t +mpl blib\script\l4p-tmpl pl2bat.bat blib\script\l4p-tmpl C:\my32bitperl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_ +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 ... ok t/007LogPrio.t ....... ok t/008ConfCat.t ....... ok t/009Deuce.t ......... ok t/010JConsole.t ...... ok t/011JFile.t ......... ok t/012Deeper.t ........ ok 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 No such signal: SIGUSR1 at C:\MY32BI~1\data\.cpanm\work\1384246504.520 +0\Log-Log4perl-1.42\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 No such signal: SIGUSR1 at C:\MY32BI~1\data\.cpanm\work\1384246504.520 +0\Log-Log4perl-1.42\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.20 not installed, skipping tests t/035JDBCAppender.t .. skipped: only with Log::Dispatch and DBD::CSV 0 +.33 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 Deep recursion on subroutine "Log::Log4perl::Resurrector::resurrector_ +loader" at C:/my32bitperl/perl/lib/Cwd.pm line 763. Deep recursion on subroutine "Log::Log4perl::Resurrector::resurrector_ +fh" at C:\MY32BI~1\data\.cpanm\work\1384246504.5200\Log-Log4perl-1.42 +\blib\lib/Log/Log4perl/Resurrector.pm line 70. Deep recursion on subroutine "File::Temp::tempfile" at C:\MY32BI~1\dat +a\.cpanm\work\1384246504.5200\Log-Log4perl-1.42\blib\lib/Log/Log4perl +/Resurrector.pm line 28. Deep recursion on subroutine "File::Temp::_deferred_unlink" at C:/my32 +bitperl/perl/site/lib/File/Temp.pm line 1110. Deep recursion on subroutine "Cwd::fast_abs_path" at C:/my32bitperl/pe +rl/site/lib/File/Temp.pm line 826. Deep recursion on subroutine "Cwd::_win32_cwd" at C:/my32bitperl/perl/ +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=697, 64 wallclock secs ( 0.39 usr + 0.22 sys = 0.61 +CPU) Result: FAIL Failed 1/70 test programs. 0/697 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' -> FAIL Installing Log::Log4perl failed. See C:\MY32BI~1\data\.cpanm\b +uild.log for details. Expiring 1 work directories.

I can do a forced install, but wanted to post here just to see if there is another way to go about it.

|| Aeterna Est Perspectum Cognitio ||

Replies are listed 'Best First'.
Re: Cannot install Log::Log4perl. Portable 32/64 Bit Strawberry Perl 5.16.3
by Haarg (Priest) on Nov 12, 2013 at 09:22 UTC
Re: Cannot install Log::Log4perl. Portable 32/64 Bit Strawberry Perl 5.16.3
by pmu (Beadle) on Nov 23, 2013 at 05:52 UTC

    Hi Haarg,

    Thanks for letting me know. Hope it gets fixed soon.

    || Aeterna Est Perspectum Cognitio ||