bobtfish / text-markdown

The perl Text::Markdown CPAN module
Other
50 stars 21 forks source link

checksum error #23

Open artlawry opened 11 years ago

artlawry commented 11 years ago

Text-Markdown-1.000031.tar.gz has a checksum error when installing via command line cpan or untaring the file from cpan.org.

artlawry commented 11 years ago

Oddly enough, this is only in one of my environment. Same perl version on each (5.8.3) and the checksum error is only on one.

Tried installing dependencies independently, removing /.cpan/build/ and /.cpan/source/author/ files and still get the same message every time:

tar: directory checksum error Couldn't untar Text-Markdown-1.000031.tar CPAN: File::Temp loaded ok (v0.22) CPAN: Time::HiRes loaded ok (v1.9719) Package contains both files[Text-Markdown-1.000031.tar] and directories[Text-Markdown-1.000031]; not recognized as a perl package, giving up Had problems unarchiving. Please build manually Package contains both files[Text-Markdown-1.000031.tar] and directories[Text-Markdown-1.000031]; not recognized as a perl package, giving up, won't make Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: BOBTFISH/Text-Markdown-1.000031.tar.gz : unwrapped NO -- untar failed

berekuk commented 11 years ago

Maybe you're using a different CPAN mirror? Can you reproduce it with wget -O - http://www.cpan.org/authors/id/B/BO/BOBTFISH/Text-Markdown-1.000031.tar.gz | tar xz?

artlawry commented 11 years ago

I think it may be a difference in tar between solaris and linux environments (one can use the z flag, the other can't) and perhaps a dependence on the z flag in the cpan distribution

I was able to install finally by downloading the .tar.gz file and running the following:

gzcat Text-Markdown-1.000031.tar.gz | tar -xvf -

perl Makefile.pl still had the errors specified above, and make test failed, but it installed anyway. I'll kick the tires and let you know how it actually worked.

You may want to change this issue/make a new issue surrounding the reliance on the z flag in tar and failure in Solaris cpan installation.