Error: This tutorial will explain how to fix “Can’t exec make: No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm” error while executing a Perl program.
Can't exec "/usr/bin/make": No such file or directory at > /usr/share/perl/5.14/CPAN/Distribution.p
If you get this error while compiling an application or executing a Perl program, then here’s how you can solve it.
Looking at the error message
"Can't exec /usr/bin/make", it’s clear that the OS is missing
'make'. Run the below command to see if make is installed in the system.
# whereis make
If there are no results displayed, then install
make as shown below:
On Ubuntu variants:
# apt-get install build-essential
build-essential package will install other tools that are required along with
On CentOS/Fedora/RedHat variants:
# yum groupinstall "Development Tools"
"Development Tools" package will install tools that are required along with
Check if make is installed by typing
'make' command or using
$ whereis make make: /usr/bin/make /usr/share/man/man1/make.1.gz
I love bugs and I love fixing them!