in reply to
OSX module installation problem
I don't have a Mac either, but I can verify the same problems occur on Windows 7 x64 with Strawberry 5.16.1. Doing the process step-by-step (without using CPAN client):
VinsWorldcom@C:\Users\VinsWorldcom\Downloads> ver
Microsoft Windows [Version 6.1.7601]
VinsWorldcom@C:\Users\VinsWorldcom\Downloads> perl -v
This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x
+64-multi-thread
[... output omitted ...]
VinsWorldcom@C:\Users\VinsWorldcom\Downloads> wget http://search.cpan.
+org/CPAN/authors/id/S/SB/SBECK/Date-Manip-6.37.tar.gz
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = c:/progra~1/wget/etc/wgetrc
--2013-01-08 09:50:18-- http://search.cpan.org/CPAN/authors/id/S/SB/S
+BECK/Date-Manip-6.37.tar.gz
Resolving search.cpan.org... 199.15.176.161
Connecting to search.cpan.org|199.15.176.161|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cpan.msi.umn.edu/authors/id/S/SB/SBECK/Date-Manip-6.3
+7.tar.gz [following]
--2013-01-08 09:50:18-- http://cpan.msi.umn.edu/authors/id/S/SB/SBECK
+/Date-Manip-6.37.tar.gz
Resolving cpan.msi.umn.edu... 128.101.190.65
Connecting to cpan.msi.umn.edu|128.101.190.65|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2083828 (2.0M) [application/x-gzip]
Saving to: `Date-Manip-6.37.tar.gz'
100%[======================================>] 2,083,828 804K/s in
+ 2.5s
2013-01-08 09:50:21 (804 KB/s) - `Date-Manip-6.37.tar.gz' saved [20838
+28/2083828]
VinsWorldcom@C:\Users\VinsWorldcom\Downloads> gunzip Date-Manip-6.37.t
+ar.gz
VinsWorldcom@C:\Users\VinsWorldcom\Downloads> tar xf Date-Manip-6.37.t
+ar
tar: Unknown file type 'x' for ./PaxHeaders.4875/Date-Manip-6.37, extr
+acted as normal file
tar: Unknown file type 'x' for Date-Manip-6.37/PaxHeaders.4875/lib, ex
+tracted as normal file
tar: Unknown file type 'x' for Date-Manip-6.37/lib/PaxHeaders.4875/Dat
+e, extracted as normal file
[... output omitted ...]
tar: Unknown file type 'x' for Date-Manip-6.37/t/PaxHeaders.4875/dm5.d
+ate_today_1.t, extracted as normal file
tar: Unknown file type 'x' for Date-Manip-6.37/t/PaxHeaders.4875/date.
+cmp.t, extracted as normal file
tar: Unknown file type 'x' for Date-Manip-6.37/PaxHeaders.4875/META.ym
+l, extracted as normal file
VinsWorldcom@C:\Users\VinsWorldcom\Downloads> ls
Directory of C:\Users\VinsWorldcom\Downloads
[.] [Date-Manip-6.37] [PaxHeaders.4875]
[..] Date-Manip-6.37.tar
1 File(s) 15,769,600 bytes
VinsWorldcom@C:\Users\VinsWorldcom\Downloads> cd Date-Manip-6.37
vincen_m@C:\Users\vincen_m\Downloads\Date-Manip-6.37> ls
Directory of C:\Users\vincen_m\Downloads\Date-Manip-6.37
[.] INSTALL MANIFEST README.first
[..] [internal] META.json [t]
Build.PL [lib] META.yml
[examples] LICENSE [PaxHeaders.4875]
HISTORY Makefile.PL README
10 File(s) 266,475 bytes
vincen_m@C:\Users\vincen_m\Downloads\Date-Manip-6.37> perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::Inter 0 not found.
Bareword found where operator expected at ./Makefile.PL line 1, near "
+30 mtime"
(Missing operator before mtime?)
Number found where operator expected at ./Makefile.PL line 2, near "30
+"
(Missing semicolon on previous line?)
Bareword found where operator expected at ./Makefile.PL line 2, near "
+30 atime"
(Missing operator before atime?)
Number found where operator expected at ./Makefile.PL line 3, near "30
+"
(Missing semicolon on previous line?)
Bareword found where operator expected at ./Makefile.PL line 3, near "
+30 ctime"
(Missing operator before ctime?)
ERROR from evaluation of C:\Users\vincen_m\Downloads\Date-Manip-6.37\P
+axHeaders.
4875/Makefile.PL: syntax error at ./Makefile.PL line 1, near "30 mtime
+"
Seems like the PaxHeaders.4875 directory is created during the TAR archive extract. Did a "hidden" directory get archived in your tarball on distro creation?