Public bug reported:

$ 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
$

** Affects: perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886281

Title:
  cpan missing dependency on make

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1886281/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to