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

arkor 2010-12-16 11:12:37
我在安装软件时出现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$
...全文
4754 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
greenweather 2010-12-24
  • 打赏
  • 举报
回复
主席人挺好的,虽然严厉了点
baocuo1314 2010-12-24
  • 打赏
  • 举报
回复
error: C++ compiler cannot create executables

没有C++编译
cr4315 2010-12-24
  • 打赏
  • 举报
回复
./configure是对环境和文件的依赖检查,上面的提示已经很清楚了,哪些有,哪些没有。如果要是make成功的话说明那些依赖提示是no的可以忽略。要是make不成功,就要安装那些提示no信息的文件。。。
louyong0571 2010-12-24
  • 打赏
  • 举报
回复
啥编译器都没有make啥嘛
谭海燕 2010-12-16
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 steptodream 的回复:]
你没有安装c和c++编译器。

sudo apt-get install build-essential
[/Quote]

安装Ubuntu之后, 第一件事请就是先更先下软件包。啥问题都没了。
李迟 2010-12-16
  • 打赏
  • 举报
回复
是的,错误信息有提示了:
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


按主席的方法安装编译器。
steptodream 2010-12-16
  • 打赏
  • 举报
回复
你怎么学习总是这么盲目 认真一点 界面上输出什么你也得大概看一吧? ./configure之后都出错了
结果你还继续make?
steptodream 2010-12-16
  • 打赏
  • 举报
回复
你没有安装c和c++编译器。

sudo apt-get install build-essential

18,749

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧