centos6.8下安装搭建apache环境是出现 make: *** No targets specified and no makefile found. Stop.的解决方案
来源:互联网 发布:淘宝设计美工招聘 编辑:程序博客网 时间:2024/05/21 01:30
我们在Linux 安装包的时候,使用make 命令出现:"make:*** No targets specified and no makefile found.Stop."这样的错误提示。
我们有三种方式可以尝试解决:
第一种:
第一、update最新版本系统软件
yum update
这个必须要执行后才可以安装我们的系统软件或者一键包。
第二、编译缺失关联软件
yum install gcc build-essential
编译执行完毕之后,我们在执行./configure && make这类的执行命令就可以解决问题。
第二种:
linux make: *** No targets specified and no makefile found. Stop.
1 [root@localhost Python-3.4.3]# ./configure 2 checking build system type... x86_64-unknown-linux-gnu 3 checking host system type... x86_64-unknown-linux-gnu 4 checking for --enable-universalsdk... no 5 checking for --with-universal-archs... no 6 checking MACHDEP... linux 7 checking for --without-gcc... no 8 checking for gcc... no 9 checking for cc... no10 checking for cl.exe... no11 configure: error: in `/home/lpf/Python-3.4.3':12 configure: error: no acceptable C compiler found in $PATH13 See `config.log' for more details14 [root@localhost Python-3.4.3]# make15 make: *** No targets specified and no makefile found. Stop.
# yum install gcc gcc-c++ autoconf automake
安装成功以后就可以用传统的./configure和make,sudo make install安装了
第三种:
一、Linux下各种依赖都已经安装,是因为没有找到makefile。
如果是自己写的,确定在当前目录下;如果是源码安装,先运行./configure,生成makefile,再执行make,即可正常运行。
二、如果没有安装其他依赖先安装依赖
yum install gcc gcc-c++ autoconf automake
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel (安装依赖zlib、openssl和pcre)
第一、update最新版本系统软件
apt-get update
这个必须要执行后才可以安装我们的系统软件或者一键包。
第二、编译缺失关联软件
apt-get install gcc build-essential
编译执行完毕之后,我们在执行./configure && make这类的执行命令就可以解决问题。
补充二:可能是因为没有安装gcc 是用来编译c程序 c++程序的,
yum-y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-develfreetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-develglib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devele2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel opensslopenssl-devel openldap openldap-devel nss_ldap openldap-clientsopenldap-servers
补充三:
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
tar zxvf ncurses-5.6.tar.gz
./configure -prefix=/usr/local -with-shared -without-debug
make
make install
- centos6.8下安装搭建apache环境是出现 make: *** No targets specified and no makefile found. Stop.的解决方案
- redhat 5下安装阿帕奇出现make: *** No targets specified and no makefile found. Stop.
- make: *** No targets specified and no makefile found. Stop.
- make: *** No targets specified and no makefile found. Stop.解决方法
- memcached make: *** No targets specified and no makefile found. Stop.
- make: *** No targets specified and no makefile found. Stop.
- make: *** No targets specified and no makefile found. Stop.解决方法
- make: *** No targets specified and no makefile found. Stop.解决方法
- make: *** No targets specified and no makefile found. Stop
- 安装cronolog时,执行make报错 make: *** No targets specified and no makefile found. Stop.
- Linux安装Nginx报错make: *** No targets specified and no makefile found. Stop.解决方法
- Linux安装Nginx报错make: *** No targets specified and no makefile found. Stop.解决方法
- qt tslib 生成Makefile时出错"make: *** No targets specified and no makefile found. Stop”
- make: *** No targets specified and no makefile found. Stop. LAMP QQ:253079952
- 【转】make出现No targets specified and no makefile found解决方法
- linux No targets specified and no makefile found
- APACHE服务器出现No input file specified.的完美解决方案
- APACHE服务器出现No input file specified.的完美解决方案
- 腾讯高级工程师:一道面试题引发的高并发性能调试思考
- Java Web笔记(四)
- Python 中的 if __name__ == '__main__' 该如何理解
- 多个页面共用一个js文件,但是有些页面没有某个元素,导致报错
- mac brew和brew cask的区别
- centos6.8下安装搭建apache环境是出现 make: *** No targets specified and no makefile found. Stop.的解决方案
- JavaSE基础数组排序
- CSS中奇数选择器与偶数选择器,一句代码怎么实现?
- #include <string.h> 、<cstring>、<string> 的区别
- Java JDK动态代理实现自己的事务管理器
- pthread_cond_wait执行失败
- Linux下后台执行的程序出现stopped的情况
- 初学Qt:链表迭代器
- 删除无序链表中值重复出现的节点