免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2722 | 回复: 5
打印 上一主题 下一主题

我的红旗linux, 为什么不能安装源码包的软件?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-15 11:48 |只看该作者 |倒序浏览
我试着装linuxdownloader,  下载的是源码,  先运行configure正常,然后, 再执行make时, 就会报:

[root@beer d4x-2.5.6]# make
make: *** 没有指明目标并且找不到 makefile。 停止。

不知道是为何??

请高手指教。。

论坛徽章:
0
2 [报告]
发表于 2006-02-15 12:40 |只看该作者
看看是不是没有makefile(或Makefile)文件,如果没有的话,那就输入make也没用的,先看看目录下面readme或INSTALL什么的说明文档吧

论坛徽章:
0
3 [报告]
发表于 2006-02-15 12:40 |只看该作者
没人回答??  自已顶一下。。

论坛徽章:
0
4 [报告]
发表于 2006-02-15 12:41 |只看该作者

这是INSTALL文件中的内容

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.  If you're
     using `csh' on an old version of System V, you might need to type
     `sh ./configure' instead to prevent `csh' from trying to execute
     `configure' itself.

     Running `configure' takes awhile.  While running, it prints some
     messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package.

  4. Type `make install' to install the programs and any data files and
     documentation.

  5. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.

论坛徽章:
0
5 [报告]
发表于 2006-02-15 12:44 |只看该作者
原帖由 beer.guo 于 2006-2-15 12:41 发表
The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.  If you're
   ...


那应该是./configure没有生成makefile文件了,看看./configure提示什么信息啊?

论坛徽章:
0
6 [报告]
发表于 2006-02-15 13:12 |只看该作者
搞定了, 非常谢谢楼上的兄台。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP