ubuntu make: *** No rule to make target `install'
时间: 2023-08-13 13:08:03 浏览: 159
回答: 当你在Ubuntu上运行"make: *** No rule to make target `install'"错误时,这通常意味着你没有正确配置或安装所需的依赖库。根据引用\[3\]中的提示,安装Nginx通常需要三个依赖库:pcre、zlib和openssl。请确保你已经正确安装了这些库。
你可以使用以下命令在Ubuntu上安装这些依赖库:
sudo apt-get install libpcre3-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libssl-dev
安装完成后,再次运行make install命令,应该就能成功安装Nginx了。
#### 引用[.reference_title]
- *1* *2* [Ubuntu下一步一步安装nginx,make: *** No rule to make target `build‘, needed by `default‘....](https://blog.csdn.net/u010499087/article/details/108248774)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [乌班图安装nginx 出现 make: *** No rule to make target ‘build‘, needed by ‘default‘. Stop.](https://blog.csdn.net/qq_44657868/article/details/128602090)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文