make: *** No targets specified and no makefile found. Stop解决方法
今天在linux服务器中安装安装pcre时,发现按照网上安装提示的方法:先下载->解压缩->进入目录->执行./configure,在输入make和make install,会出现“make: *** No targets specified and no makefile”错误。经过自己的实验,找到了如下总结和解决方法。
输入make和make install 报错误make: *** No targets specified and no makefile found. Stop.

解决方法
第一步
尝试先安装依赖
执行
yum -y install gcc gcc-c++ autoconf automake

第二步
执行
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel

第三步
执行
./configure

然后再试一试输入 make 和 make install


本文介绍在Linux服务器中安装pcre时遇到的make和makeinstall错误“make:***Notargetsspecifiedandnomakefilefound.Stop”的解决步骤。首先安装依赖软件包,包括gcc、gcc-c++、autoconf、automake等,然后安装zlib、openssl、pcre及其开发文件,最后运行./configure命令完成配置。
2860

被折叠的 条评论
为什么被折叠?



