LinuxSir.cn,穿越时空的Linuxsir!

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

装glibc-2.34的时候出现问题

[复制链接]
发表于 2006-4-15 16:39:42 | 显示全部楼层 |阅读模式
按教程做到第六章的装GLIBC的时候出现如此问题,并且重新再做一遍仍然如此
make install的时候出现的错误如下:
mv -f termios.c.texi.new termios.c.texi
pwd=`pwd`; \
no libm-err-tab.pl $pwd/.. > libm-err-tmp
/bin/sh: no: command not found
make[2]: *** [stamp-libm-err] Error 127

请问如何解决
发表于 2006-4-15 17:31:03 | 显示全部楼层
是不是前一章的Perl没装好
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-15 18:20:54 | 显示全部楼层
我打过perl -v 显示出版本号了,

并且在装perl的过程中也没有看它提示错误,
回复 支持 反对

使用道具 举报

发表于 2006-4-15 18:48:30 | 显示全部楼层
我当初也遇到了这个问题,把出错的make文件中出错的那行中的“$perl”改成“perl”,然后就好了……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-15 19:23:15 | 显示全部楼层
请教一下楼上的,

你所指的make文件中出错的那一行,是指那个文件呢,

我找过了,但偶找不到,偶把提示有perl的文件找了一遍没看到哦,

偶是在glibc-build 里面找的
回复 支持 反对

使用道具 举报

发表于 2006-4-15 20:49:07 | 显示全部楼层
反正是 perl 没装好,所以 glibc 没检测到 perl 的存在。
which perl 结果是?
回复 支持 反对

使用道具 举报

发表于 2006-4-15 21:07:45 | 显示全部楼层
make[2]: *** [stamp-libm-err] Error 127
stamp-libm-err中的第127行?
偶记不得了汗……^^b
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-16 11:30:42 | 显示全部楼层
请问怎么样判断PERL有没有装好呢,

偶用perl -v 打出的信息如下:
root:/# perl -v

This is perl, v5.8.7 built for i686-linux

Copyright 1987-2005, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
这算不算已经做好了?
回复 支持 反对

使用道具 举报

发表于 2006-4-16 12:11:06 | 显示全部楼层
我没碰到过这个问题,只是根据以往回答的问题中知道,重装 perl 应该可以解决问题。

至于你的perl为啥不行,我不清楚。你重装一次试试?不管到底原先正确安装。。

which perl 结果是什么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-16 14:21:33 | 显示全部楼层
root:/mnt/lfs# which perl
/tools/bin/perl

这是在没有chroot前打出来的,
回复 支持 反对

使用道具 举报

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

本版积分规则

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