- Current Strawberry is 5.22.1-1, not the ancient 5.10
- Strawberry comes with cpan
Did you try using C:\> cpan Text::CSV_XS?
FWIW, Text::CSV_XS-1.21 has been released an hour ago :)
C:\Users\merijn>perl -v | perl -ne"/MSWin/ and print"
This is perl 5, version 20, subversion 2 (v5.20.2) built for MSWin32-x
+64-multi-thread
C:\Users\merijn>cpan Text::CSV_XS
CPAN: CPAN::SQLite loaded ok (v0.204)
CPAN: LWP::UserAgent loaded ok (v6.13)
CPAN: Time::HiRes loaded ok (v1.9726)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
CPAN: YAML::XS loaded ok (v0.59)
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Database was generated on Wed, 01 Apr 2015 10:05:12 GMT
Updating database file ...
Done!
Running install for module 'Text::CSV_XS'
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/H/HM/HMBRAND/Text-CSV_XS-1.2
+1.tgz
CPAN: Digest::SHA loaded ok (v5.95)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/H/HM/HMBRAND/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.068)
Checksum for C:\STRAWB~1\cpan\sources\authors\id\H\HM\HMBRAND\Text-CSV
+_XS-1.21.tgz ok
CPAN: Archive::Tar loaded ok (v2.04)
CPAN: File::Temp loaded ok (v0.2304)
CPAN: Parse::CPAN::Meta loaded ok (v1.4414)
CPAN: CPAN::Meta loaded ok (v2.143240)
CPAN: Module::CoreList loaded ok (v5.20150220)
Configuring H/HM/HMBRAND/Text-CSV_XS-1.21.tgz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Text::CSV_XS
Writing MYMETA.yml and MYMETA.json
HMBRAND/Text-CSV_XS-1.21.tgz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for H/HM/HMBRAND/Text-CSV_XS-1.21.tgz
---- Unsatisfied dependencies detected during ----
---- HMBRAND/Text-CSV_XS-1.21.tgz ----
Encode [requires,optional]
cp CSV_XS.pm blib\lib\Text\CSV_XS.pm
Running Mkbootstrap for Text::CSV_XS ()
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644
+"CSV_XS.bs"
"C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils\xsu
+bpp" -typemap "C:\STRAWB~1\perl\lib\ExtUtils\typemap" CSV_XS.xs > C
+SV_XS.xsc && "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e
+ mv -- CSV_XS.xsc CSV_XS.c
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_
+SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwr
+apv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.
+21\" -DXS_VERSION=\"1.21\" "-IC:\STRAWB~1\perl\lib\CORE" CSV_XS
+.c
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Text::CSV_XS\", 'DLBASE' => 'CSV_XS', 'D
+L_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => [
+]);"
dlltool --def CSV_XS.def --output-exp dll.exp
g++ -o blib\arch\auto\Text\CSV_XS\CSV_XS.xs.dll -Wl,--base-file -Wl,dl
+l.base -mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" C
+SV_XS.o "C:\STRAWB~1\perl\lib\CORE\libperl520.a" -lmoldname -lkerne
+l32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -
+lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.ex
+p
dlltool --def CSV_XS.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Text\CSV_XS\CSV_XS.xs.dll -mdll -s -L"C:\STRAWB~
+1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" CSV_XS.o "C:\STRAWB~1\perl\l
+ib\CORE\libperl520.a"
-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi
+32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwi
+nmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755
+blib\arch\auto\Text\CSV_XS\CSV_XS.xs.dll
HMBRAND/Text-CSV_XS-1.21.tgz
C:\STRAWB~1\c\bin\dmake.exe -- OK
Running make test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H
+arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l
+ib', 'blib\arch')" t/*.t
t/00_pod.t ........ ok
t/01_pod.t ........ skipped: Test::Pod::Coverage required for testing
+POD Coverage
t/10_base.t ....... ok
t/12_acc.t ........ ok
t/15_flags.t ...... ok
t/20_file.t ....... ok
t/21_lexicalio.t .. ok
t/22_scalario.t ... ok
t/30_types.t ...... ok
t/40_misc.t ....... ok
t/41_null.t ....... ok
t/45_eol.t ........ ok
t/46_eol_si.t ..... ok
t/50_utf8.t ....... ok
t/51_utf8.t ....... ok
t/55_combi.t ...... ok
t/60_samples.t .... ok
t/65_allow.t ...... ok
t/70_rt.t ......... ok
t/75_hashref.t .... ok
t/76_magic.t ...... ok
t/77_getall.t ..... ok
t/78_fragment.t ... ok
t/79_callbacks.t .. ok
t/80_diag.t ....... ok
t/81_subclass.t ... ok
t/90_csv.t ........ ok
t/91_csv_cb.t ..... ok
All tests successful.
Files=28, Tests=50251, 58 wallclock secs ( 5.15 usr + 0.36 sys = 5.5
+1 CPU)
Result: PASS
HMBRAND/Text-CSV_XS-1.21.tgz
C:\STRAWB~1\c\bin\dmake.exe test -- OK
Running make install
Files found in blib\arch: installing files in blib\lib into architectu
+re dependent library tree
Installing C:\STRAWB~1\perl\site\lib\auto\Text\CSV_XS\CSV_XS.xs.dll
Installing C:\STRAWB~1\perl\site\lib\Text\CSV_XS.pm
Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod
HMBRAND/Text-CSV_XS-1.21.tgz
C:\STRAWB~1\c\bin\dmake.exe install UNINST=1 -- OK
Enjoy, Have FUN! H.Merijn