S
S
sbh2019-06-04 08:04:32
Perl
sbh, 2019-06-04 08:04:32

How to install the AnyEvent module for Perl?

OS - Debian
I want to install the AnyEvent module.
I put this command -

cpan AnyEvent::Fork::Pool

Gives errors:
MLEHMANN/IO-FDPass-1.2.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-FDPass-1.2-z43rYW
Warning: Prerequisite 'Canary::Stability => 0' for 'MLEHMANN/IO-FDPass-1.2.tar.gz' failed when processing 'MLEHMANN/Canary-Stability-2013.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Configuring M/ML/MLEHMANN/IO-FDPass-1.2.tar.gz with Makefile.PL
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
  MLEHMANN/IO-FDPass-1.2.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running install for module 'Proc::FastSpawn'
Checksum for /root/.cpan/sources/authors/id/M/ML/MLEHMANN/Proc-FastSpawn-1.2.tar.gz ok
Configuring M/ML/MLEHMANN/Proc-FastSpawn-1.2.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Proc::FastSpawn
Writing MYMETA.yml and MYMETA.json
  MLEHMANN/Proc-FastSpawn-1.2.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for M/ML/MLEHMANN/Proc-FastSpawn-1.2.tar.gz
  MLEHMANN/Proc-FastSpawn-1.2.tar.gz
  make -- NOT OK
  MLEHMANN/AnyEvent-Fork-1.31.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/AnyEvent-Fork-1.31-PjcNSH
  MLEHMANN/AnyEvent-Fork-1.31.tar.gz
  Has already been prepared
Running make for M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz
Warning: Prerequisite 'Proc::FastSpawn => 0.1' for 'MLEHMANN/AnyEvent-Fork-1.31.tar.gz' failed when processing 'MLEHMANN/Proc-FastSpawn-1.2.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'IO::FDPass => 0.2' for 'MLEHMANN/AnyEvent-Fork-1.31.tar.gz' failed when processing 'MLEHMANN/IO-FDPass-1.2.tar.gz' with 'writemakefile => NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512'. Contin
  MLEHMANN/AnyEvent-Fork-1.31.tar.gz
  make -- NOT OK
  MLEHMANN/AnyEvent-Fork-RPC-1.24.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/AnyEvent-Fork-RPC-1.24-fDLoQr
  MLEHMANN/AnyEvent-Fork-RPC-1.24.tar.gz
  Has already been prepared
Running make for M/ML/MLEHMANN/AnyEvent-Fork-RPC-1.24.tar.gz
Warning: Prerequisite 'AnyEvent::Fork => 0.6' for 'MLEHMANN/AnyEvent-Fork-RPC-1.24.tar.gz' failed when processing 'MLEHMANN/AnyEvent-Fork-1.31.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
  MLEHMANN/AnyEvent-Fork-RPC-1.24.tar.gz
  make -- NOT OK
Running install for module 'AnyEvent::Fork'
  MLEHMANN/AnyEvent-Fork-1.31.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/AnyEvent-Fork-1.31-PjcNSH
  MLEHMANN/AnyEvent-Fork-1.31.tar.gz
  Has already been prepared
  MLEHMANN/AnyEvent-Fork-1.31.tar.gz
  Could not make: Unknown error

  MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/AnyEvent-Fork-Pool-1.2-1m1dGf
  MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz
  Has already been prepared
Running make for M/ML/MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz
Warning: Prerequisite 'AnyEvent::Fork => 0.6' for 'MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz' failed when processing 'MLEHMANN/AnyEvent-Fork-1.31.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'AnyEvent::Fork::RPC => 0' for 'MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz' failed when processing 'MLEHMANN/AnyEvent-Fork-RPC-1.24.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Task::Weaken => 1' for 'MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz' failed when processing 'ETHER/Task-Weaken-1.06.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Array::Heap => 3' for 'MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz' failed when processing 'MLEHMANN/Array-Heap-3.22.tar.gz' with 'writemakefile => NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512'. C
  MLEHMANN/AnyEvent-Fork-Pool-1.2.tar.gz
  make -- NOT OK

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sbh, 2019-06-04
@sbh

apt-get install build-essential
cpanm AnyEvent::Fork::Pool

C
capturis, 2019-08-09
@capturis

For a pearl, as a rule, there are ready-made module binaries. Something heavy, requiring a lot of tests during installation, is easier to install through apt.
apt install libanyevent-perl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question