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.

This question already has an answer here:

/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

migrated from stackoverflow.com Jul 8 '12 at 9:16

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Jorge Castro, Thomas W., Eric Carvalho, Kevin Bowen, Eliah Kagan Apr 3 '13 at 2:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
which ubuntu version do you use? –  tampis Jul 8 '12 at 3:00
    
Version I am using is 11.04 (GNU/Linux 2.6.38-8-virtual x86_64) –  Deepak Jul 8 '12 at 3:07
    
just saw, that on my ubuntu 12.04 there is also a package make. probably sudo apt-get install make will work... –  tampis Jul 8 '12 at 3:10
    
sudo apt-get install make Reading package lists... Done Building dependency tree Reading state information... Done Package make is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'make' has no installation candidate –  Deepak Jul 8 '12 at 3:24
    
The make package definitely should be available; I have version 3.81-8.1ubuntu1 on my system. You might have a problem with your /etc/apt/sources.list, which defines where apt-get looks for packages. –  Keith Thompson Jul 8 '12 at 6:16
add comment

2 Answers 2

sudo apt-get install build-essential

Chances are you will need things like gcc to actually do the building so you might as well install those as well. The build-essential package will install other tools used along with make.

share|improve this answer
add comment

It definitely looks like make is installed on your box. The reply you are getting is actually an error generated by make, complaining that it can't file the Makefile (which would tell it what needs to be done)

Is there any Makefile.pl in the module you are trying to install? If so, try:

$ perl Makefile.pl
$ make
share|improve this answer
add comment

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