Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Hello Monks,

I'm trying to juggle my perl development issues with the 3 platforms I use: windows 10, linux, and termux on android. Each has its challenges. The one that has ground me to a halt right now is on my windows machine. When I select cpan from the strawberry perl entries in the startup menu, I get:

Loading internal logger. Log::Log4perl recommended for better logging Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call + didn't work. The COLUMNS and LINES environment variables didn't work +. at C:\Strawberry\perl\vendor\lib/Term/ReadLine/ line 410 +. There seems to be running another CPAN process (pid 3728). Contacting +... Other job not responding. Shall I overwrite the lockfile 'C:\STRAWB~1\ +cpan\.lock'? (Y/n) [y] y cpan shell -- CPAN exploration and modules installation (v2.26) Enter 'h' for help. cpan>

I don't know why I'm being prompted about the lockfile, as I don't think there is an antecedent cpan process running, but then I also don't believe STDOUT is lying to me. When I try to install Log::Log4perl , I get:

t/026FileApp.t ............ 1/27 # Failed test 'header_text' # at t/026FileApp.t line 459. # got: 'This is a nice header. # This is a nice header. # DEBUG - waah! # ' # expected: 'This is a nice header. # DEBUG - waah! # ' # Looks like you failed 1 test of 27. t/026FileApp.t ............ Dubious, test returned 1 (wstat 256, 0x100 +)

When I further investigate the original cpan error in the given location of, I find:

sub get_window_size { my $sig = shift; local($., $@, $!, $^E, $?); # Preserve $! etc; the rest for + hooks my ($num_cols,$num_rows); if (defined $term_readkey) {

Although the line number is 410, this seems to be some of first executable code, so it looks like this fails quickly.

Not being able to install this module is stopping me from being able to install WWW::Mechanize::Chrome, which has it as a prerequisite. Also, I just installed Excel::Writer::XLSX using the same toolchain to prove that I have write privileges.

Anyways, fishing for tips and tricks,

In reply to getting Log::Log4perl to install on windows strawberry perl by Aldebaran

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (3)
    As of 2020-11-26 02:03 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found