72
/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.
  • 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 Singhal 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 Singhal 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
138

Run the command:

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.

| improve this answer | |
2

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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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