LinuxSir.cn,穿越时空的Linuxsir!

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

LFS 6.0 or SVN-20041206 中 binutils 出现问题

[复制链接]
发表于 2004-12-17 11:34:12 | 显示全部楼层 |阅读模式
这两天搞定一台 DELL 的 OPTIPLEX GX270,扔掉 WinXP,装了 Debian testing(Sarge) 后,想做 LFS 6.0,可是每到 binutils 的编译时,就出问题,提示是

make [3]: Entering directory '/mnt/lfs/sources/binutils-build/bfd/doc'
file=../../../binutils-2.15.94.0.1/bfd/po/`echo fr | sed 's,.#/,,'`.gmo \ && rm -f $file && PATH=../srcPATH   -o $file ../../../binutils-2.15.95.0.1/bfd/po/fr.po
/bin/sh: line 1: -o: command not found

查看了相应目录下的 Makefile,里面确实有
GMSGFMT = PATH=../src$PATH no
MSGFMT = no
这样两行带有 no,但不太清楚这里的 no 是起什么作用的?为什么会被当作 command 执行?

一开始怀疑是 6.0 的包的问题,后来试了 SVN-20041206,还是同样问题。

google 了一下,发现也有人遇到类似的问题,不知哪位大侠可以帮忙看看?
发表于 2004-12-18 13:05:06 | 显示全部楼层
我也遇到同样的问题!

我的宿主系统也是Sarge。
发表于 2004-12-18 13:38:01 | 显示全部楼层
刚查了一下外文资料,说是这样解决:

'no' is put into the Makefile if configure doesn't find gettext.
Simplest thing is probably to install gettext on the host.  You might be
able to use --disable-nls on everything until you build gettext later in
chapter 5, but there are no guarantees (lots of packages get upset when
you try to build them without gettext).

等下我回去试一下。
发表于 2004-12-18 17:15:40 | 显示全部楼层
OK!
发表于 2004-12-18 21:24:11 | 显示全部楼层
book上用了--disable-nls的啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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