I am using Ubuntu 18.04 in the virtual machine. The issue is that when I run the following command (sudo make install) in the terminal it shows me the following error:

make: *** No rule to make target 'install'.  Stop.

I researched the problem solution online and when I came across one it said to perform the following:

  1. Install missing dependencies
  2. Check whether build-essential is installed
  3. Run ./configure

I did as instructed and found that the package build-essential was missing.

In a view to fix the error I referred to the following link: How to install build-essential?

As mentioned I did the following things: Ran the command

sudo apt-get update
sudo apt-get install build-essential

When I ran the commands I found that build-essential was already installed and upgraded

When i run the command ./configure it displays no such file found and when i try to run the same command: sudo make install it shows me the same error as before

How can I solve this issue?

  • You are probably not running those commands from the directory where you stored the software that you want to install. Use cd to navigate to the proper directory.
    – Jos
    Oct 26, 2018 at 12:29
  • 6
    Nobody can really answer this without knowing what you're trying to make and install Oct 26, 2018 at 12:30
  • What software do you plan to compile? Are you sure that you really need to compile it? Did you checked packages.ubuntu.com to find the needed package in the repository of your Ubuntu version?
    – N0rbert
    Oct 26, 2018 at 12:35
  • The title is misleading. The error message proves that the software is working.
    – user535733
    Oct 26, 2018 at 12:38
  • Okay so I have an application in which I have to perform face detection on the raspberry pie for that I downloaded the servoblaster codes and to install those drivers I cd to the directory where i downloaded the fiiles. There as instructed I try to run the command sudo make install amd it shows me the error
    – huzefa.s
    Oct 26, 2018 at 12:39


Your Answer

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