cpan missing dependency on make

Bug #1886281 reported by Durk van Veen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
$ apt-cache policy perl
perl:
  Installed: 5.30.0-9build1
  Candidate: 5.30.0-9build1
  Version table:
 *** 5.30.0-9build1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
$

On a fresh install of Ubuntu 20.04 liveserver, CPAN is installed as part of Perl, but not "make" which is needed to make CPAN install anything:

$ sudo cpan install Capture::Tiny
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/Metadata'
  Database was generated on Sat, 04 Jul 2020 15:29:03 GMT
Running install for module 'Capture::Tiny'
Checksum for /root/.cpan/sources/authors/id/D/DA/DAGOLDEN/Capture-Tiny-0.48.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring D/DA/DAGOLDEN/Capture-Tiny-0.48.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Capture::Tiny
Writing MYMETA.yml and MYMETA.json
  DAGOLDEN/Capture-Tiny-0.48.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for D/DA/DAGOLDEN/Capture-Tiny-0.48.tar.gz
  DAGOLDEN/Capture-Tiny-0.48.tar.gz
  make -- NOT OK
  No such file or directory
$

After manually installing make:

$ sudo apt install make
...
$ sudo cpan install Capture::Tiny
...
  DAGOLDEN/Capture-Tiny-0.48.tar.gz
  make install -- OK
$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.