|
按照LFS文档进行到LFS安装第六章,安装Glibc的时候出现下列错误。
运行下列命令:
patch -Np1 -i ../glibc-2.2.5-2.patch &&
touch /etc/ld.so.conf &&
mkdir ../glibc-build &&
cd ../glibc-build &&
../glibc-2.2.5/configure --prefix=/usr --disable-profile \
--enable-add-ons --libexecdir=/usr/bin &&
echo "cross-compiling = no" > configparms &&
make &&
make install &&
make localedata/install-locales &&
exec /static/bin/bash --login
出现下面的错误:
patching file login/Makefile
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file login/Makefile.rej
patching file malloc/Makefile
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file malloc/Makefile.rej
patching file iconv/skeleton.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file iconv/skeleton.c.rej
can't find file to patch at input line 83
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr glibc-2.2.5.orig/linuxthreads/signals.c glibc-2.2.5/linuxthreads/signals.c
|--- glibc-2.2.5.orig/linuxthreads/signals.c 2002-01-21 14:21:16.000000000 +1100
|+++ glibc-2.2.5/linuxthreads/signals.c 2002-08-10 09:24:57.000000000 +1000
--------------------------
File to patch:
然后就进行不下去了。我是解压了glibc-2.2.5-2.tar.bz2后进入了glibc-2.2.5后开始安装的,我没有解压glibc-linuxthreads-2.2.5.tar.bz2
请教是何原因。 |
|