It's been quite a few years since I set up Cygwin & Perlbrew. I'll provide what information I can: some current and some quite old.

My current Win10 — what I see when I start cmd.exe:

Microsoft Windows [Version 10.0.19045.6159] (c) Microsoft Corporation. All rights reserved. C:\Users\ken>

My current system (Cygwin) information:

$ uname -a CYGWIN_NT-10.0-19045 titan 3.6.4-1.x86_64 2025-07-15 07:55 UTC x86_64 +Cygwin

I originally set up Cygwin using the installer on the Cygwin site; I have updated that many times over the years (currently at 3.6.4).

As far as I remember, I originally set up Perlbrew from the instructions on that page:

For a quick installation, do this:

\curl -L https://install.perlbrew.pl | bash

It would appear that I did this about six years ago and haven't changed it since:

$ which perlbrew /home/ken/perl5/perlbrew/bin/perlbrew $ ls -l /home/ken/perl5/perlbrew/bin/perlbrew -rwxr-xr-x 1 ken None 1316905 Jul 26 2019 /home/ken/perl5/perlbrew/bi +n/perlbrew

I've been installing Perl versions using instructions a little further down on that page. This is what I used yesterday.

To install the latest stable release ...

perlbrew install perl-5.42.0 perlbrew switch perl-5.42.0

This installed Perl v5.42.0 cleanly on the first run; no test or other errors.

I've also installed other Perl versions, stable & development, over the years:

$ perlbrew list * perl-5.42.0 perl-5.40.0 perl-5.39.3 perl-5.38.0 perl-5.36.0 perl-5.34.0 perl-5.33.5 perl-5.32.0 perl-5.30.0

I really can't help with the error information that you've posted. You may want to start (almost) from scratch:

  1. Get Cygwin up-to-date. I do this by downloading the Cygwin Installer (setup-x86_64.exe) then running that from Win10: File Explorer.
  2. Reinstall perlbrew using the instructions shown above.
  3. Reinstall Perl v5.42.0 using the instructions shown above.

I'll also advise you to run the latest setup-x86_64.exe regularly — I generally aim to do this weekly so that it only takes some tens of minutes — otherwise you may find it takes hours if left for an extended period of time.

Good luck!

— Ken


In reply to Re^3: New release of Text::CSV_XS won't build on Windows, prob a gcc input error (CygwinPerl) by kcott
in thread New release of Text::CSV_XS won't build on Windows, prob a gcc input error (CygwinPerl) by Intrepid

Title:
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, details, 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, summary, 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.