Could you provide a whole makefile? But right now I can tell - you should check that "install" target already exists. So, check Makefile whether it contains a
Copyinstall: (anything there)
line. If not, there is no such target and so make has right. Probably you should use just "make" command to compile and then use it as is or install yourself, manually.
Install is not any standard of make, it is just a common target, that could exists, but not necessary.
Answer from Tomir Rogi Szawok on Stack OverflowCould you provide a whole makefile? But right now I can tell - you should check that "install" target already exists. So, check Makefile whether it contains a
Copyinstall: (anything there)
line. If not, there is no such target and so make has right. Probably you should use just "make" command to compile and then use it as is or install yourself, manually.
Install is not any standard of make, it is just a common target, that could exists, but not necessary.
I was receiving the same error message, and my issue was that I was not in the correct directory when running the command make install. When I changed to the directory that had my makefile it worked.
So possibly you aren't in the right directory.
raspbian - make: *** No rule to make target 'Install'. Stop - Raspberry Pi Stack Exchange
Windows 10, CMake runs fine, but make install says no rule to make target
No rule to make target 'install'
error: No rule to make target 'install'. Stop.
Videos
I'm trying to package NeutralinoJS with the following derivation:
with import <nixpkgs> { };
stdenv.mkDerivation {
pname = "neutralinojs";
version = "4.8.0";
src = fetchFromGitHub {
owner = "neutralinojs";
repo = "neutralinojs";
rev = "906600736933d93e2efbf7f14d1d5fe1a33babd5";
sha256 = "4U2JwBOfe5wW+B/GX5cpje7S9i8sq9820gm7CRfWls8=";
leaveDotGit = true;
};
buildInputs = with pkgs; [ gtk3 webkitgtk ];
nativeBuildInputs = with pkgs; [ python3 pkg-config gcc git ];
buildPhase = ''
NIX_CFLAGS_COMPILE="$(pkg-config --cflags gtk+-3.0) $NIX_CFLAGS_COMPILE"
python scripts/bz.py --verbose
'';
}Which works fine until it reaches the install phase:
[..] OK: Neutralinojs compiled into ./bin/neutralino-linux_x64 buildPhase completed in 1 minutes 2 seconds glibPreInstallPhase installing install flags: SHELL=/nix/store/xbdqbi2mscmhl5wcpbgpjdwxbsrvpkil-bash-5.1-p16/bin/bash gsettingsschemadir=/nix/store/7hcyiaq7gvy29bp82q83wviryi41izna-neutralinojs-4.8.0/share/gsettings-schemas/neutralinojs-4.8.0/glib-2.0/schemas/ install make: *** No rule to make target 'install'. Stop.
The project uses BuildZri as a package manager, so there is not even a Makefile. How should I proceed?