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

Raspberry Pi Asked by travism on September 12, 2020

fairly new to debian and trying to make my first project but I keep running into errors.

Following this tutorial:

Which leads to this github repo under the "building debian" section:

I did not follow the install debian section as I already have it installed with raspbian?

I ran the commands below with no error.

cmake -D OEM_THEME_DIR=$(realpath ../nextcloudtheme) -DCMAKE_INSTALL_PREFIX=/usr  ../client

When I run the next command in the sequence "sudo make install", I receive the following error:

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

Within the client folder, which is where the build was created, there are these files:

CMakeCache.txt  CMakeFiles  cmake_install.cmake  CMakeLists.txt  Makefile

I have tried cd CMakeFiles and running "sudo make install" within that folder but receive the same error. From my research online, there should be a file within the client folder with the word "install" attached to it and the make command should loop through and find it. I have the install file, however this may not be the correct one? Suggestions are appreciated, thank you!

One Answer

Did you run this command:

git submodule update --init --recursive

The client folder is a submodule and it looks like the those files are missing.

Correct answer by jtpalmer on September 12, 2020

Add your own answers!

Related Questions

raspi-config network option not working

4  Asked on November 20, 2021 by mooshroom14


Can’t change rw file into eeprom on a ds28ec20

0  Asked on November 20, 2021 by etienne


Raspi noob looking for guidance on using the board as a HID mouse

0  Asked on November 19, 2021 by braeden-hamson


Multiple TTL sensors on serial RX GPIO 10

2  Asked on November 15, 2021 by rdel


Python exception when installing docker-compose

1  Asked on November 15, 2021 by skematic


Host Web Server on Raspberry PI via Bluetooth PAN

1  Asked on November 15, 2021 by amon-green


Snapd not found

1  Asked on November 15, 2021 by ma1234


Setting up RaspAP

2  Asked on November 13, 2021 by bnmc


MLX90615 Sensor for Raspberry Pi 3 Model B

1  Asked on November 11, 2021 by hossein-nakhaeipoor


Backup Pi onto same SD card, different partition

2  Asked on November 11, 2021 by bassline-soup


Use PyDrive to upload files to Google Drive folder

4  Asked on November 8, 2021 by gilson


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir