LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 928|回复: 8

请教高手关于./configure的问题

[复制链接]
发表于 2006-11-28 23:12:20 | 显示全部楼层 |阅读模式
请问高手./configure是做什么用的命令?
我运行./configure时出现了以下出错提示:
checking build system type ... configure:error: cannot gusse build type; you must specify one
请问这时什么意思?应该怎么处理?
非常感谢!!
发表于 2006-11-29 12:55:58 | 显示全部楼层
系统里可有 binutils?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-29 17:45:00 | 显示全部楼层
对不起,我是一只菜鸟,不知道您提到的"binutils"是什么。请问怎么找呀?
回复 支持 反对

使用道具 举报

发表于 2006-11-29 18:03:46 | 显示全部楼层
发问时应说明所用的发行版,以便他人告诉你有关的检查命令!

你试打 as --version 看结果是什麽?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-29 20:47:11 | 显示全部楼层
多谢教悔,我以后会注意的. 我用的是Red Hat Linux 9.0,内核2.4.20-8.AMD 1800+ 处理器,nF2芯片组.输入 as --version  结果是:

GNU assembler 2.13.90.0.18 20030206
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i386-redhat-linux'.
多谢 !!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-29 21:17:00 | 显示全部楼层
TO: d00m3d
    多谢高手指点,我的机器上没有安装gcc,刚才装上了,再运行./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 gcc... gcc
checking for C compiler default output... 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
.....
.....
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/control/Makefile
....
....
config.status: creating config.h
config.status: executing depfiles commands
这样是不是正常?
希望得到您更多指点.谢谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-29 21:33:29 | 显示全部楼层
再请问$ make; su -c ’make install’是怎么一种用法?它可以用比较简单的命令代替(解释)吗?
谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-11-30 00:09:05 | 显示全部楼层
make算是一种自动管理工具吧,
它按makefile里面的设定自动做一些事情
回复 支持 反对

使用道具 举报

发表于 2006-11-30 17:00:38 | 显示全部楼层
Post by wchangtao
再请问$ make; su -c ’make install’是怎么一种用法?它可以用比较简单的命令代替(解释)吗?
谢谢!


您可以参考这个帖子:
http://www.linuxsir.cn/bbs/showthread.php?t=283440
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表