Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
/usr/bin/perl install-module.pl --all
ERROR: Using install-module.pl requires that you install "make".

I need to install make on my ubuntu on AWS EC2. How can I do that ? I could finally install build-essential also successfully.

# make
make: *** No targets specified and no makefile found.  Stop.
share|improve this question
2  
Related, though currently also lacking an answer: Bugzilla install-module.pl can't find “make” but it's installed and in my path –  ændrük Jul 8 '12 at 5:55
add comment

1 Answer

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.