make all的问题。

livs_ly_2010 2010-09-09 09:19:08
hi!
你好,当我在使用安装一款软件的时候,我使用make all命令,却不成功,返回的字符串是: No rule to target 'all' stop.

之后我打开Makefile.in 发现里面定义了很多变量,也存在 all指令,clean指令, test等等。。

但为什么执行不了了? 疑惑。
...全文
318 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
steptodream 2010-09-09
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 livs_ly_2010 的回复:]

嗯,执行 ./configure 的时候 又说 no acceptable C compiler.
然后我返回根目录敲 yum install gcc
又说,
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN reposi……
[/Quote]
对 你的系统没有gcc
yum安装的错误是因为你的RHEL没有交费 所以不能用官方的yum源来安装软件。

你可以把你的yum源改成centos的 再安装。
livs_ly_2010 2010-09-09
  • 打赏
  • 举报
回复
嗯,执行 ./configure 的时候 又说 no acceptable C compiler.
然后我返回根目录敲 yum install gcc
又说,
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
RHN support will be disabled.
You need to be root to perform this command.

是不是gcc不存在?
baocuo1314 2010-09-09
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 steptodream 的回复:]

虽然源码安装软件的一般步骤是
#./confugre
#make
#make install

但是你拿到一个软件 不要凭你自己的猜测怎么安装
最好先看看目录下的README或者INSTALL后者其他说明文件
再进行安装
[/Quote]
++++1
steptodream 2010-09-09
  • 打赏
  • 举报
回复
虽然源码安装软件的一般步骤是
#./confugre
#make
#make install

但是你拿到一个软件 不要凭你自己的猜测怎么安装
最好先看看目录下的README或者INSTALL后者其他说明文件
再进行安装
mymtom 2010-09-09
  • 打赏
  • 举报
回复
需要首先configure
./configure
make

23,116

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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