make: *** 没有指明目标并且找不到 makefile。 停止。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了make: *** 没有指明目标并且找不到 makefile。 停止。相关的知识,希望对你有一定的参考价值。

root@xinxin-desktop:/home/wdvqsc/下载/wine-1.3.7# ./configure --prefix=/var/wine --sysconfdir=/etc
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for cpp... cpp
checking for the directory containing the Wine tools... $(top_builddir)
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
root@xinxin-desktop:/home/wdvqsc/下载/wine-1.3.7# make
我是在安装wine-1.3.7.tar.bz2文件包到时候
root@xinxin-desktop:/home/wdvqsc/下载/wine-1.3.7# make
make: *** 没有指明目标并且找不到 makefile。 停止

MAKEFILE是要自己写的....现在不过有的IDE自己生成的MAKEFILE,就是添加到你的工程下面就行了,我们用AVRSTUDIO开发AVR单片机的时候就是自己写的MAKEFILE,一般是用里面自带的生成程序自己稍微修改一下就添加到自己的工程当中去就好了... 参考技术A configure: error: no suitable flex found. Please install the 'flex' package

应该是少了'flex' ,或者版本不匹配导致找不到。本回答被提问者采纳

make: *** 没有指明目标并且找不到 makefile。

报错信息:

make: *** 没有指明目标并且找不到 makefile。

解决方案:

  你缺少一些依赖库,把下面这几个都安装一下,就可以解决问题。

[root@localhost keepalived-2.2.2]# yum -y install make
[root@localhost keepalived-2.2.2]# yum install gcc-c++
[root@localhost keepalived-2.2.2]# yum install -y pcre pcre-devel
[root@localhost keepalived-2.2.2]# yum install -y zlib zlib-devel
[root@localhost keepalived-2.2.2]# yum install -y openssl openssl-devel
# 最后执行这个命令就解决问题了
[root@localhost keepalived-2.2.2]# ./configure

以上是关于make: *** 没有指明目标并且找不到 makefile。 停止。的主要内容,如果未能解决你的问题,请参考以下文章

make: *** 没有指明目标并且找不到 makefile。 停止

源码编译nginx的时候,出现“make: *** 没有指明目标并且找不到 makefile。 停止“。的报错的解决方法

make: *** 没有指明目标并且找不到 makefile。 停止。

make: *** 没有指明目标并且找不到 makefile. 停止.

make: *** 没有指明目标并且找不到 makefile。 停止

make: *** 没有指明目标并且找不到 makefile。 停止。