Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Intrepid (Curate)
on Aug 09, 2025 at 17:38 UTC ( [id://11165996]=note: print w/replies, xml ) Need Help??


in reply to Re: 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)

Hi, all. I just installed the CPAN module XS::Parse::Sublike using my system CygwinPerl and the build and test and install worked just as it ought to, and as it has before, many times, with XS (C-extension) modules being added on my system. The only difference I see with Text::CSV_XS is that it requires a call to g++ because C++ code is being used.

I understand the point you are making, pryrt, and I appreciate the advice. I will try to provide full information about my system in the future. I don't want to waste the monks' time or frustrate anyone.

Aug 09, 2025 at 17:37 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen —> I.G.Y.
(Slightly modified for inclusiveness)

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

Replies are listed 'Best First'.
Re^3: New release of Text::CSV_XS won't build on Windows, prob a gcc input error (CygwinPerl)
by kcott (Archbishop) on Aug 11, 2025 at 14:55 UTC

    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2026-04-11 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.