Cannot downgrade perl 5.28 to perl 5.20.3 by perlbrew to install the AnyEvent perl module on MSYS2 on Windows 10

0

I want to try emacs-edbi package. But I fail to install the main prerequisite: the RPC::EPC::Service perl module version 0.0.11. It depends on another perl module AnyEvent and installing AnyEvent version 7.15 fails:

Canary::Stability COMPATIBILITY AND SUPPORT CHECK =================================================

It seems you are running perl version 5.028002, likely the "official" or "standard" version. While there is nothing wrong with doing that, standard perl versions 5.022 and up are not supported by AnyEvent. While this might be fatal, it might also be all right - if you run into problems, you might want to downgrade your perl or switch to the stability branch.

Test Summary Report

t/09_multi.t (Wstat: 0 Tests: 15 Failed: 3)

Failed tests: 10-12

t/80_ssltest.t (Wstat: 256 Tests: 415 Failed: 1)

Failed test: 6

Non-zero exit status: 1

Files=82, Tests=665, 27 wallclock secs ( 0.12 usr 0.20 sys + 2.82 cusr 3.98 csys = 7.12 CPU)

Result: FAIL

Failed 2/82 test programs. 4/665 subtests failed.

make: *** [Makefile:979: test_dynamic] Ошибка 255

MLEHMANN/AnyEvent-7.15.tar.gz

/usr/bin/make test -- NOT OK

My perl version is indeed 5.28, so I probably need to downgrade my perl. I try perlbrew for that.

perlbrew install perl-5.22.0

hangs on the line

Configure: строка 17147: /proc/curproc/exe: No such file or directory

no matter what version of perl I install: 5.20.3, 5.22.1 or 5.22.0.

Evgeny Mikhaylov

Posted 2019-05-24T17:08:01.353

Reputation: 1

No answers