LinuxSir.cn,穿越时空的Linuxsir!

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

[己解决]求指点: lfs6.3 chroot后glibc-2.5.1 make出错,大家看看!

[复制链接]
发表于 2008-5-1 10:28:29 | 显示全部楼层 |阅读模式
根据官方手册一步步弄的,但到第六章chroot后glibc-2.5.1的make居然出错了,前面的一点问题都没。
错误最后截屏如下:

build/locale/localedef.o.dt -MT /sources/glibc-build/locale/localedef.o
no gen-translit.pl < C-translit.h.in > C-translit.h.tmp
/bin/sh: no: command not found
make[2]: *** [C-translit.h] Error 127
make[2]: Leaving directory `/sources/glibc-2.5.1/locale'
make[1]: *** [locale/others] Error 2
make[1]: Leaving directory `/sources/glibc-2.5.1'
make: *** [all] Error 2

PS:后面从网上发现可能是前面perl安装出问题,但也不知道问题出在哪,重新安装一遍前面的perl后问题自然解决了。
发表于 2008-5-1 10:44:16 | 显示全部楼层
Post by jkjk612;1844567
根据官方手册一步步弄的,但到第六章chroot后glibc-2.5.1的make居然出错了,前面的一点问题都没。
错误最后截屏如下:

build/locale/localedef.o.dt -MT /sources/glibc-build/locale/localedef.o
no gen-translit.pl < C-translit.h.in > C-translit.h.tmp
[color="Red"]/bin/sh: no: command not found
make[2]: *** [C-translit.h] Error 127
make[2]: Leaving directory `/sources/glibc-2.5.1/locale'
make[1]: *** [locale/others] Error 2
make[1]: Leaving directory `/sources/glibc-2.5.1'
make: *** [all] Error 2
第五章装 bash 的时候连结建了没?
  1. ln -vs bash /tools/bin/sh
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-5-1 12:27:00 | 显示全部楼层
http://www.linuxsir.cn/bbs/newre ... ote=1&p=1844572

这里面有和你一样的错误
回复 支持 反对

使用道具 举报

发表于 2008-5-22 15:40:23 | 显示全部楼层
我也出现了这样的错误,装了n次一直是这样,都快没有信心了
回复 支持 反对

使用道具 举报

发表于 2008-5-22 18:31:40 | 显示全部楼层
no gen-translit.pl < C-translit.h.in > C-translit.h.tmp
/bin/sh: no: command not found

glibc Makefile 中给出的是
[color="Red"]${PERL} gen-translit.pl < C-translit.h.in > C-translit.h.tmp
应当是宿主系统perl不完全所至,解决的办法就是宿主安装完整版perl。
回复 支持 反对

使用道具 举报

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

本版积分规则

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