Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

checksum error #23

Open
artlawry opened this Issue · 3 comments

2 participants

@artlawry

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

@artlawry

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
Collaborator

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.