|
|
构建临时环境最后一个文件了,竟然在打补丁的时候出错。
我的是lfs-livecd6.1.3的,因此里面的是perl-5.8.7,和lfsbook上的perl5.8.6不同。当然补丁文件也是一样的,只是那个 6 改成 7 而已。但是在输入完命令:
patch -Np1 -i ../perl-5.8.7-libc-1.patch
回车,出现提示:
can't find file to patch at input line 11
perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------------
|Submitted By:Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br>
|Date:2003-09-06
|Initial Package Version:5.8.0
|Origin:based on currint LFS-BOOK patch (perl-5.8.0-libc-2.patch)
|Description:this patch adapts some hard-wired paths to the C library.
| It uses the $prefix variable to locate the correct libc.
|
|diff -uNr perl-5.8.0.orig/hints/linux.sh perl-5.8.0/hints/linux.sh
|--- perl-5.8.0.orig/hints/linux.sh 2002-06-05 23:46:00.000000000 +1000
|+++ perl-5.8.0/hints/linux.sh 2003-02-19 16:32:18.000000000 +1100
--------------------------------------
File to patch:
如何处理???在线等着。 |
|