make: *** No rule to make target 'install'. Stop.
时间: 2023-09-12 14:08:48 浏览: 271
This error message typically occurs when the 'install' command is used without specifying what should be installed. To fix it, you need to specify what you want to install and how it should be installed.
For example, if you are trying to install a program from source code, you may need to run the following commands:
```
./configure
make
sudo make install
```
The 'configure' command sets up the build environment, 'make' compiles the code, and 'make install' installs the program. If any of these steps fail, you may receive the 'No rule to make target 'install'' error message.
To troubleshoot this error, you can try running each command individually and checking for any error messages. You may also need to ensure that you have the necessary dependencies and tools installed for the program you are trying to install.
阅读全文