cpanminus installation fails to install needed programs

Bug #1799105 reported by Marko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpanminus (Ubuntu)
New
Undecided
Unassigned

Bug Description

sudo cpanm JSON::XS
..
Makefile:332: recipe for target 'XS.o' failed
make: *** [XS.o] Error 127
-> FAIL Installing JSON::XS failed. See /home/ubuntu/.cpanm/work/1540171612.28700/build.log for details. Retry with --force to force install it.

Checking the build log:
/bin/sh: 1: x86_64-linux-gnu-gcc: not found

cpanm is pretty useless without this. The dependency should probably be "build-essential".

What happened:
building Perl packages fails because of missing compiler.

What is expected to happen:
build succeeds

Ubuntu versions:
16.04, 18.04 at least

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.