源码安装软件提示make: *** 没有指明目标并且找不到 makefile。 停止。己解决

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lidashuang
帖子: 18
注册时间: 2009-01-23 12:32

源码安装软件提示make: *** 没有指明目标并且找不到 makefile。 停止。己解决

#1

帖子 lidashuang » 2010-02-07 9:48

想安装 eva,下载了源码。解压,./configure ,然后,make 提示make: *** 没有指明目标并且找不到 makefile。 停止。
以下是./configure,
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wmissing-format-attribute... no
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
lds@lds-desktop:~/下载/eva$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
lds@lds-desktop:~/下载/eva$
上次由 lidashuang 在 2010-02-08 10:11,总共编辑 1 次。
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

Re: 源码安装软件提示make: *** 没有指明目标并且找不到 makefile。 停止。

#2

帖子 Bill Lee » 2010-02-07 11:03

你一定是编译环境没装好
已经提示得很清楚,没有g++
你先sudo apt-get install build-essential装上基本编译环境
还要看源码包里的README确定其他依赖关系
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 源码安装软件提示make: *** 没有指明目标并且找不到 makefile。 停止。

#3

帖子 wangdu2002 » 2010-02-07 20:40

看wiki,先把GNU工具链装全了,然后看源码包里的安装说明,再装上一些依赖包,然后再编译。 :em06
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
lidashuang
帖子: 18
注册时间: 2009-01-23 12:32

Re: 源码安装软件提示make: *** 没有指明目标并且找不到 makefile。 停止。己解决

#4

帖子 lidashuang » 2010-02-08 10:12

安装个软件要安装这么多东西,以后找二制包 了
头像
懒蜗牛Gentoo
论坛版主
帖子: 7353
注册时间: 2007-03-02 17:36
系统: Linux Mint

Re: 源码安装软件提示make: *** 没有指明目标并且找不到 makefile。 停止。己解决

#5

帖子 懒蜗牛Gentoo » 2010-02-08 11:31

压根就应该找二进制包,难道在win的时候装软件都是编译的嘛?
虽然世上没有完美的东西,但这并不影响我们追求完美,因为只有偏执狂才TMD能成功。
10.04新手入门——笨兔兔讲述自己的故事
头像
qingdaoocean
帖子: 2753
注册时间: 2009-05-16 8:47

Re: 源码安装软件提示make: *** 没有指明目标并且找不到 makefile。 停止。己解决

#6

帖子 qingdaoocean » 2010-02-08 11:34

lidashuang 写了:安装个软件要安装这么多东西,以后找二制包 了
有些没有二进制包啊~或者二进制包很老了~
这基本是一劳永逸的,你配好了常用的以后编译安装需要再装的就比较少了~
“飞达”——武汉理工大学开源技术协会http://vedaclub.org/
回复