LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]安装libstroke-0.5.1.tar.gz时,./configure失败的问题

[复制链接]
发表于 2006-3-6 21:54:01 | 显示全部楼层 |阅读模式
我的内核是Linux localhost.localdomain 2.6.15-1.1831_FC4 #1 SMP Tue Feb 7 13:37:59 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
但是[root@localhost /opt/libstroke-0.5.1 21:28]#./configure
却提示:checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized



ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
这是怎么回事?
请各位大侠能不能指教一下?x86_64和i386到底有什么不同?我已经有好几次因为这个x86-64不能安装软件包了!
发表于 2006-3-7 08:40:21 | 显示全部楼层
64系统有些软件支持有问题,尝试自己解决,如果没有这个能力还是用32系统。现阶段32系统更好一些。你也可以试试(只是试试)自己指定HOST
.configure --prefix=/usr 这里跟上自己写的HOST
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-7 12:45:01 | 显示全部楼层
Post by shannleon

.configure --prefix=/usr 这里跟上自己写的HOST

是在configure中写吗?还是。。。?
我刚接触Linux 不久,能不能具体点?谢谢了!
回复 支持 反对

使用道具 举报

发表于 2006-3-7 12:57:26 | 显示全部楼层
--no-verify
可以考虑加入这个参数试试。。

主要是配置脚本不认得 x86_64-unknown 这个东西。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-7 13:40:45 | 显示全部楼层
Post by 终极幻想
--no-verify
可以考虑加入这个参数试试。。

主要是配置脚本不认得 x86_64-unknown 这个东西。

是不是./configure --no-verify
可是[root@localhost /opt/libstroke-0.5.1 13:03]#./configure --no-verify
configure: error: --no-verify: invalid option; use --help to show usage
于是我看了下INSTALL文件,里面有这么一段:
Specifying the System Type
==========================

   There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on.  Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option.  TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
     CPU-COMPANY-SYSTEM

See the file `config.sub' for the possible values of each field.  If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.

   If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.

可是CPU-COMPANY-SYSTEM如何获得?请指教?谢谢了!
回复 支持 反对

使用道具 举报

发表于 2006-3-7 14:11:20 | 显示全部楼层
--host x86_64-unkown-linux-gnu --noverify
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-7 14:28:46 | 显示全部楼层
[root@localhost /opt/libstroke-0.5.1 14:19]#./configure --host=x86_64-unkown-linux-gnu  --no-verify
configure: error: --no-verify: invalid option; use --help to show usage
不行啊。
看样子没法装libstroke了,这64位的不好办啊!
难道就没有其它办法了吗?
回复 支持 反对

使用道具 举报

发表于 2006-3-7 14:44:59 | 显示全部楼层
去了 --no-verify 参数试试,反正这个参数它也不支持
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-7 14:54:26 | 显示全部楼层
Post by shannleon
去了 --no-verify 参数试试,反正这个参数它也不支持

不行,./configure --host=x86_64-unkown-linux-gnu
和./configure的效果一样,都是提示:
checking host system type... Invalid configuration `x86_64-unkown-linux-gnu': machine `x86_64-unkown' not recognized

checking build system type... Invalid configuration `x86_64-unkown-linux-gnu': machine `x86_64-unkown' not recognized

我还是不懂。。。
回复 支持 反对

使用道具 举报

发表于 2006-3-7 15:02:55 | 显示全部楼层
用 uname -r (如果没有记错的话,如果记错了就看看你 /usr 下那个子目录叫什么)得到的结果替代 x86_64-unkown-linux-gnu 试试。x86_64-unkown-linux-gnu 可能是多了个 "-" 号它不理解吧。
回复 支持 反对

使用道具 举报

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

本版积分规则

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