LinuxSir.cn,穿越时空的Linuxsir!

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

about Linux-2.4.19

[复制链接]
发表于 2003-6-23 13:38:00 | 显示全部楼层 |阅读模式
make[1]: Entering directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[2]: Entering directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
/bin/sh: find: command not found
/bin/sh: xargs: command not found
make: *** [clean] Error 127



what is matter?
please help. :help
发表于 2003-6-23 13:46:50 | 显示全部楼层
/bin/sh: find: command not found
/bin/sh: xargs: command not found
系统没装好……少程序了。
 楼主| 发表于 2003-6-23 14:09:28 | 显示全部楼层
我是按文档安装的.

可不可以指出那些程序啊.
发表于 2003-6-23 14:35:16 | 显示全部楼层
http://lfs.linuxsir.cn/htdocs/lfscvs/appendixa/findutils.html

技巧:
如果你知道可执行文件的名字,但不知道它属于哪个包,首先试试在google上搜索这个可执行文件名称。如果结果太多了,可以到debain的软件仓库http://www.debian.org/distrib/packages#search_contents 里找它的名字。
 楼主| 发表于 2003-6-24 11:04:49 | 显示全部楼层
  patch -Np1 -i ../findutils-4.1.patch && CPPFLAGS=-Dre_max_failures=re_max_failures2     ./configure --prefix=$LFS/static && make
LDFLAGS=-static && make install
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur findutils-4.1/find/defs.h findutils-4.1-fixed/find/defs.h
|--- findutils-4.1/find/defs.h  Wed Nov  2 15:59:15 1994
|+++ findutils-4.1-fixed/find/defs.h    Tue May  2 15:30:31 2000
--------------------------
File to patch:



what's mean? how to do that?
发表于 2003-6-24 16:19:14 | 显示全部楼层
把原来编译过的源码删掉。
 楼主| 发表于 2003-6-26 00:00:21 | 显示全部楼层
tram, 可不可以说清楚点,
   
   我是一个菜鸟.:thank
发表于 2003-6-26 02:33:02 | 显示全部楼层
也就是说,如果你的源码以前编译时打过补丁了,现在再打一次就不行,就会出现上面的错误。你可以自己试一下,连着输入两次patch -Np1 -i ../xxx.patch,第一次总能成功,第二次总不成功。
 楼主| 发表于 2003-6-26 09:40:00 | 显示全部楼层
I had tried.but it can't.

what's matter? may I must reset all over?

that's the error.



make: /bin/pwd: Command not found
make[1]: Entering directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[2]: Entering directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/lfs-packages/linux-2.4.19/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c drivers/char/conmakehash drivers/char/drm/*-mod.c drivers/pci/devlist.h drivers/pci/classlist.h drivers/pci/gen-devlist drivers/zorro/devlist.h drivers/zorro/gen-devlist drivers/sound/bin2hex drivers/sound/hex2hex drivers/atm/fore200e_mkfirm drivers/atm/{pca,sba}*{.bin,.bin1,.bin2} drivers/scsi/aic7xxx/aicasm/aicasm drivers/scsi/aic7xxx/aicasm/aicasm_gram.c drivers/scsi/aic7xxx/aicasm/aicasm_gram.h drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.c drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.h drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.c drivers/scsi/aic7xxx/aicasm/aicasm_scan.c drivers/scsi/aic7xxx/aicasm/aicdb.h drivers/scsi/aic7xxx/aicasm/y.tab.h drivers/scsi/53c700_d.h net/khttpd/make_times_h net/khttpd/times.h submenu*
rm -rf modules
make -C Documentation/DocBook clean
make[1]: Entering directory `/usr/src/lfs-packages/linux-2.4.19/Documentation/DocBook'
Makefile:188: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'.  Stop.
make[1]: Leaving directory `/usr/src/lfs-packages/linux-2.4.19/Documentation/DocBook'
make: *** [clean] Error 2



why the "make: /bin/pwd: Command not found"

if is abour Make-3.80?
 楼主| 发表于 2003-6-26 10:33:59 | 显示全部楼层
tram兄,我想在另一个区重新又装LFS

但一开始就有问题出现,为什么?

难道说主系统已受LFS系统影响了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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