LinuxSir.cn,穿越时空的Linuxsir!

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

[LFS-2.6] Chapter 6.7.1__make mrproper提示 not such file or directory

[复制链接]
发表于 2009-4-7 23:25:50 | 显示全部楼层 |阅读模式
问题出现章节:
[LFS-2.6] Chapter 6.7. Linux-2.6.27.4 API Headers

root:/sources/linux-2.6.27.4# make
bash: /tools/bin/make: No such file or directory
root:/sources/linux-2.6.27.4# make mrproper
bash: /tools/bin/make: No such file or directory
root:/sources/linux-2.6.27.4#

-------查询make文件,实际存在
root:/sources/linux-2.6.27.4# ls -l /tools/bin/make
-rwxr-xr-x 1 root root 147400 Feb 22 15:08 /tools/bin/make
root:/sources/linux-2.6.27.4#

--------env输出
root:/sources/linux-2.6.27.4# env
TERM=xterm
OLDPWD=/sources
LFS=/sources
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
PWD=/sources/linux-2.6.27.4
PS1=\u:\w\$
HOME=/root
SHLVL=1
_=/tools/bin/env
root:/sources/linux-2.6.27.4#

------------发现/tools/bin下有的程序可用,有的不可用,不知道为什么
root:/tools/bin# ./ldd
ldd: missing file arguments
Try `ldd --help' for more information.
root:/tools/bin# ./ldd make
./ldd: line 124: ./make: No such file or directory
root:/tools/bin# ./ldd ./make
./ldd: line 124: ./make: No such file or directory
发表于 2009-4-10 12:29:32 | 显示全部楼层
貌似 chroot 都未执行?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 17:23:24 | 显示全部楼层
执行了,promtp已经是chroot的了
root:/sources/linux-2.6.27.4#
回复 支持 反对

使用道具 举报

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

本版积分规则

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