BeneSphinx has asked for the wisdom of the Perl Monks concerning the following question:
I think this may have happened to me before, but I'm not really sure what to do. I was installing Carp::Always and got the below failure messages. I was using Git Bash instead of the normal Windows cmd line (I am using Strawberry Perl on Windows 7). Then I opened the Windows cmd line and ran CPAN again, and "install Carp::Always" again, and it told me it was already up-to-date. What are the chances that I have some sort of corrupted installation now / what should I do?
Last X lines of the install, it was really long. Basically it detected a bunch of other dependencies and started installing them as well, but then this happened:
... Writing Makefile for Test::Deep Writing MYMETA.yml and MYMETA.json RJBS/Test-Deep-1.127.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for R/RJ/RJBS/Test-Deep-1.127.tar.gz sh: C:Strawberrycbingmake.EXE: command not found RJBS/Test-Deep-1.127.tar.gz C:\Strawberry\c\bin\gmake.EXE -- NOT OK Running install for module 'Test::Deep' RJBS/Test-Deep-1.127.tar.gz Has already been unwrapped into directory C:/Users/sdewey/.cpan/build/Test-Deep-1.127-6igTPy RJBS/Test-Deep-1.127.tar.gz Has already been prepared RJBS/Test-Deep-1.127.tar.gz Could not make: Unknown error FERREIRA/Carp-Always-0.13.tar.gz Has already been unwrapped into directory C:/Users/sdewey/.cpan/build/Carp-Always-0.13-6c4ww7 FERREIRA/Carp-Always-0.13.tar.gz Has already been prepared Running make for F/FE/FERREIRA/Carp-Always-0.13.tar.gz Warning: Prerequisite 'Test::Base => 0' for 'FERREIRA/Carp-Always-0.13.tar.gz' failed when processing 'INGY/Test-Base-0.88.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited. sh: C:Strawberrycbingmake.EXE: command not found FERREIRA/Carp-Always-0.13.tar.gz C:\Strawberry\c\bin\gmake.EXE -- NOT OK Failed during this command: TYEMQ/Algorithm-Diff-1.1903.tar.gz : make NO NEILB/Text-Diff-1.45.tar.gz : make NO INGY/Spiffy-0.46.tar.gz : make NO INGY/Test-Base-0.88.tar.gz : make NO (optional) RJBS/Test-Deep-1.127.tar.gz : make NO FERREIRA/Carp-Always-0.13.tar.gz : make NO
But now...
cpan1> install Carp::Always Reading 'C:\Users\sdewey\.cpan\Metadata' Database was generated on Wed, 04 Oct 2017 05:17:02 GMT Carp::Always is up to date (0.13).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: When CPAN install fails, but the model is installed anyway
by marto (Cardinal) on Oct 05, 2017 at 15:51 UTC | |
by BeneSphinx (Sexton) on Oct 05, 2017 at 16:56 UTC |