linux make: *** No targets specified and no makefile found. Stop.

 1 [[email protected] 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... no
10 checking for cl.exe... no
11 configure: error: in `/home/lpf/Python-3.4.3‘:
12 configure: error: no acceptable C compiler found in $PATH
13 See `config.log‘ for more details
14 [[email protected] Python-3.4.3]# make
15 make: *** No targets specified and no makefile found.  Stop.

# yum install gcc gcc-c++ autoconf automake

安装成功以后就可以用传统的./configure和make,sudo make install安装了

时间: 2024-08-12 18:58:25

linux make: *** No targets specified and no makefile found. Stop.的相关文章

centos7下安装iperf时出现 make: *** No targets specified and no makefile found. Stop.的解决方案

我们在Linux 安装包的时候,使用make 命令出现:"make:*** No targets specified and no makefile found.Stop."这样的错误提示. 1.update最新版本系统软件 yum update 这个必须要执行后才可以安装我们的系统软件或者一键包. 2.编译缺失关联软件 yum install gcc build-essential 编译执行完毕之后,我们在执行./configure && make这类的执行命令就可以

【Linux学习】 写一个简单的Makefile编译源码获取当前系统时间

打算学习一下Linux,这两天先看了一下gcc的简单用法以及makefile的写法,今天是周末,天气闷热超市,早晨突然发现住处的冰箱可以用了,于是先出去吃了点东西,然后去超市买了一坨冰棍,老冰棍居多,5毛钱一根,还有几根1.5的. 嗯 接着说gcc的事 先把源代码贴上来 //gettime.h #ifndef _GET_TIME_H_ #define _GET_TIME_H_ void PrintCurrentTime(); #endif //gettime.c #include <stdio.

make: *** No targets specified and no makefile found. Stop.错误

# make make: *** No targets specified and no makefile found. Stop. # yum install gcc gcc-c++ gcc-g77 -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory # ll /usr/bin/yum -rwxr-xr-x. 1 root root 801 Apr 13 2018 /usr/bin/y

Linux/Unix环境下的make和makefile

介绍一下make及其描述文件makefile Makefile文件 Make工具最主要也是最基本的功能就是通过makefile文件来描述源程序之间 的相互关系并自动维护编译工作.而makefile 文件需要按照某种语法进行编写,文件 中需要说明如何编译各个源文件并连接生成可执行文件,并要求定义源文件之间的依赖 关系. 在 UNIX 系统中,习惯使用 Makefile 作为 makfile 文件.如果要使用其 他文件作为 makefile,则可利用类似下面的 make 命令选项指定 makefil

linux与Windows使用编译区别及makefile文件编写

一.Windows与:Linux嵌入式开发区别 Windows下编辑.编译.执行 编辑: sourceInsight:ADS: 编译:指定链接地址,指定链接顺序,编译 执行:烧写到单板再启动 Linux下编辑.编译.执行 编辑可在Windows下编写上传 编译:链接脚本(lds),用命令行链接时,文件顺序(makefile)gcc -o :由makefile执行可以得到结果 执行make 二.makefile介绍 (规则,依赖) 目标:依赖1 依赖2     hello :hello.c a.c

Linux内核系列—12.e.操作系统开发之Makefile

先来看一个简单的Makefile,我们把它放在目录/boot下,可以用来编译boot.bin和loader.bin. # Makefile for boot # Programs, flags, etc. ASM = nasm ASMFLAGS = -I include/ # This Program TARGET = boot.bin loader.bin # All Phony Targets .PHONY : everything clean all # Default starting

linux学习笔记(一) 使用automake生成Makefile

作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便.一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了. 在本文中,将给大家介绍如何使用autoconf和automake两个工具来帮助我们自动地生成符合自由软件惯例的Makefile,这样就可以象常见的GNU程序一样,只要使用“./configure”,“make”,“make instal”就可以把程序安装到Linux系

linux下使用automake工具自动生成makefile文件

linux环境下,当项目工程很大的时候,编译的过程很复杂,所以需要使用make工具,自动进行编译安装,但是手写makefile文件比较复杂,所幸在GNU的计划中,设计出了一种叫做Autoconf/Automake的工具,用来自动生成makefile文件,为编译和安装程序提供了一个方便快捷的入口. 一.首先检查是否安装了autotools工具 使用which命令    aclocal    autoscan    autoconf    autoheader    automake 二.安装aut

Linux工程下所有C代码编译Makefile模板

如何快速的开发简易C程序,首先需要一个Makefile模板. 简易Makefile特性 这个模板需要具备以下特性: ==>快速编译所有C代码 ==>能够快速打包源代码 ==>语言简洁易懂,便于后续的模块化操作 这里提供一个这样的模板供大家参考使用,如有改进方法和建议,也请不吝赐教,以便完善,谢谢! 简易Makefile模板 废话不说,使用<Linux下C/C++版本发布自动脚本>集成DEMO的三个文件进行简单的示例(version.c/main.c/version.h). M