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

You don't need to manually install Text::CSV_XS version 1.61 — just update Cygwin.

As I said last week, I typically update Cygwin weekly (usually on a Friday). Here's a reminder of the code I posted then:

$ /usr/bin/perl -Mstrict -Mwarnings -E ' use Text::CSV_XS; say "Perl version: $^V"; say "Perl location: $^X"; say "Text::CSV_XS version: $Text::CSV_XS::VERSION"; say "Text::CSV_XS location: $INC{q{Text/CSV_XS.pm}}"; ' Perl version: v5.40.2 Perl location: /usr/bin/perl Text::CSV_XS version: 1.60 Text::CSV_XS location: /usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-t +hreads/Text/CSV_XS.pm

When I updated Cygwin last Friday (i.e. 3 days ago) I noticed (amongst other changes) that Text::CSV_XS was updated to version 1.61 — here's what I get when I run the same code today:

$ /usr/bin/perl -Mstrict -Mwarnings -E ' use Text::CSV_XS; say "Perl version: $^V"; say "Perl location: $^X"; say "Text::CSV_XS version: $Text::CSV_XS::VERSION"; say "Text::CSV_XS location: $INC{q{Text/CSV_XS.pm}}"; ' Perl version: v5.40.3 Perl location: /usr/bin/perl Text::CSV_XS version: 1.61 Text::CSV_XS location: /usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-t +hreads/Text/CSV_XS.pm

I still recommend Perlbrew. ☺️

Update: The second block of code had the start of the command twice; probably a copy-paste error; fixed.

— Ken

  • Comment on Re^3: New release of Text::CSV_XS won't build on Windows, prob a gcc input error (CygwinPerl)
  • Select or Download Code