Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Date::Manip Not Installing

Tags:

date

perl

I keep getting error messages when trying to install the Date::Manip module. Any Perl experts know what I can try? The command I'm trying is

perl -MCPAN -e "install Date::Manip" 

Perl version is 5.20 and the version of the Date::Manip it keeps trying to install is 6.45, but it comes back with "Make had some problems" and "No such file in archive". It does prompt me to manually install the file, but i have no clue on how to do that. Here's what it says...

Could not find file '[email protected]:1399465428' in memory at C:\Strawberry\perl\lib/CPAN/Tarzip.pm line 408.

Making symbolic link 'C:\STRAWB~1\cpan\build\tmp-3576\Date-Manip6.45\lib\Date\Manip\.#Changes6.pod' to '[email protected]:1399465428' failed at C:\Strawberry\perl\lib/CPAN/Tarzip.pm line 408.

Could not untar with Archive::Tar  SBECK/Date-Manip-6.45.tar.gz

Had problems unarchiving. please build manually. Stopping: 'install' failed for 'Date:Manip
like image 339
user3746386 Avatar asked Jun 16 '14 21:06

user3746386


2 Answers

I had exactly the same problem today.

I've been able to get 6.44 installed by doing the following from within the cpan cli (you can access this by simply typing cpan in your terminal).

The developer for Date::Manip has archived previous versions of the module, you'll need to add the backpan URL into your cpan config so you can search for it.

o conf urllist push http://backpan.perl.org/

Now you should be able to install using a direct path to version 6.44

install SBECK/Date-Manip-6.44.tar.gz

I had to accept that the checksum wasn't present in the package, but after that the module seemed to install correctly.

I suspect you'll want to keep an eye on the module and this bug report so that you can upgrade once it has been fixed.

like image 63
Dan Avatar answered Nov 15 '22 04:11

Dan


perl -MCPAN -e "install 'SBECK/Date-Manip-6.44.tar.gz'"

or wait until the distribution is fixed. '.#Changes6.pod' is an illegal filename for your tar.

like image 1
rurban Avatar answered Nov 15 '22 04:11

rurban