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

arkor arkor 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我在安装软件时出现make: *** 没有指明目标并且找不到 makefile。 停止。,请问如何解决啊。
源码如下:


arkor@ubuntu:/tmp/aMule-2.2.6$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if this is a FreeBSD 4 or earlier system... no
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... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
arkor@ubuntu:/tmp/aMule-2.2.6$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
arkor@ubuntu:/tmp/aMule-2.2.6$ ls
ABOUT-NLS automake install-sh
acinclude.m4 Compilation.flags.in intl
aclocal.m4 compile m4
aMule.app config.guess Makefile.am
amule_build_install.sh config.h.in Makefile.in
amule.desktop config.log missing
amulegui.desktop config.rpath mkinstalldirs
amulegui.xpm config.sub MSVC Solution
amule.ico configure po
amule.png configure.in README.Debian-Packages
amule.rc convert.ico src
aMule.spec debian unittests
amule.xpm depcomp untars
autogen.sh docs version.rc.in
arkor@ubuntu:/tmp/aMule-2.2.6$
...全文

相关推荐

linux中无make命令的问题(make: *** 没有指明目标并且找不到 makefile及make命令安装方法)

主要介绍了linux中无make命令的问题(make: *** 没有指明目标并且找不到 makefile及make命令安装方法),本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下

weixin_38693506

例解Linux下Make命令

Linux 下 make 命令是系统管理员和程序员用的频繁的命令之一。管理员用它通过命令行来编译和安装很多开源的工具,程序员用它来管理他们大型复杂的项目编译问题。本文我们将用一些实例来讨论 make 命令背后的工作机制。   Make 如何工作的   对于不知道背后机理的人来说,make 命令像命令行参数一样接收目标。这些目标通常存放在以 “Makefile” 来命名的特殊文件中,同时文件也包含与目标相对应的操作。更多信息,阅读关于 Makefiles 如何工作的系列文章。   当 make 命令第一次执行时,它扫描 Makefile 找到目标以及其依赖。如果这些依赖自身也是目标,继续为

No.1????

cloverfield-build-make:将 Makefile 用于三叶草的示例

带有 Makefile 的 Cloverfield 构建 使用make构建项目的示例,基于。 入门 git clone https://github.com/jesstelford/cloverfield-build-make.git && cd cloverfield-build-make npm install 构建过程 运行构建过程 make < target> 可用的 make 目标可以在Makefile看到; all - alias for make lint build test build - alias for make css js watch-build - trigger rebuild on file change js - concat + compress js files css - convert scss to css lint -

Rosie Lau

make和Makefile详解 一起写Makefile

Make命令   在make命令后不仅可以出现宏定义,还可以跟其他命令行参数,这些参数指定了需要编译的目标文件。其标准形式为:   target1 [target2 …]:[:][dependent1 …][;commands][#…]   [(tab) commands][#…]   方括号中间的部分表示可选项。Targets和dependents当中可以包含字符、数字、句点和"/"符号。除了引用,commands中不能含有"#",也不允许换行。   在通常的情况下命令行参数中只含有一个冒号":",此时command序列通常和makefile文件中某些定义文件间依赖关系的描述行有关。如果与目标相关连的那些描述行指定了相关的command序列,那么就执行这些相关的command命令,即使在分号和(tab)后面的aommand字段甚至有可能是NULL。如果那些与目标相关连的行没有指定command,那么将调用系统默认的目标文件生成规则。   如果命令行参数中含有两个冒号"::",则此时的command序列也许会和makefile中所有描述文件依赖关系的行有关。此时将执行那些与目标相关连的描述行所指向的相关命令。同时还将执行build-in规则。   如果在执行command命令时返回了一个非"0"的出错信号,例如makefile文件中出现了错误的目标文件名或者出现了以连字符打头的命令字符串,make操作一般会就此终止,但如果make后带有"-i"参数,则make将忽略此类出错信号。   Make命本身可带有四种参数:标志、宏定义、描述文件名和目标文件名。其标准形式为:   Make [flags] [macro definitions] [targets]   Unix系统下标志位flags选项及其含义为:   -f file  指定file文件为描述文件,如果file参数为"-"符,那么描述文件指向标准输入。如果没有"-f"参数,则系统将默认当前目录下名为makefile或者名为Makefile的文件为描述文件。在linux中, GNU make 工具在当前工作目录中按照GNUmakefile、makefile、Makefile的顺序搜索 makefile文件。   -i   忽略命令执行返回的出错信息。   -s   沉默模式,在执行之前不输出相应的命令行信息。   -r   禁止使用build-in规则。   -n   非执行模式,输出所有执行命令,但并不执行。   -t   更新目标文件。   -q   make操作将根据目标文件是否已经更新返回"0"或非"0"的状态信息。   -p   输出所有宏定义和目标文件描述。   -d   Debug模式,输出有关文件和检测时间的详细信息。   linux下make标志位的常用选项与Unix系统中稍有不同,下面我们只列出了不同部分:   -c dir   在读取 makefile 之前改变到指定的目录dir。   -I dir   当包含其他 makefile文件时,利用该选项指定搜索目录。   -h   help文挡,显示所有的make选项。   -w   在处理 makefile 之前和之后,都显示工作目录。   通过命令行参数中的target ,可指定make要编译的目标,并且允许同时定义编译多个目标,操作时按照从左向右的顺序依次编译target选项中指定的目标文件。如果命令行中没有指定目标,则系统默认target指向描述文件中第一个目标文件。

AJ_2008

libpng 安装php时必备的文件

libpng 安装php时必备的文件 版本为 1.2.8

1122sky
评论 8
收藏 已收藏
分享
返回顶部
arkor
Linux/Unix社区 18,828 成员 11,489 内容