How do I install make? [duplicate]
Solution 1:
In this situation, the make
command is already installed.
# make
make: *** No targets specified and no makefile found. Stop.
That means make
actually ran, but failed because there is no file called Makefile
in the current directory.
The problem here is that perl
is not able to find make
even though it is installed. As ændrük commented, this has been asked on Server Fault. Since ændrük's comment, solutions have been posted there.
According to quanta, this can be fixed by running perl -MCPAN -e shell
and then, at the cpan>
menu, install Math::Random::Secure
.
According to ocach, this can be fixed by running cpan
followed by these two commands on the cpan[n]
prompt:
o conf make '/usr/bin/make' #or path to your make o conf commit
I tried ochach's way on my machine, and it seemed to work:
cpan[1]> o conf make '/usr/bin/make'
make [/usr/bin/make]
Please use 'o conf commit' to make the config permanent!
cpan[2]> o conf commit
commit: wrote '/home/ek/.cpan/CPAN/MyConfig.pm'
I recommend trying those techniques; it seems likely one of them will solve your problem.