LinuxSir.cn,穿越时空的Linuxsir!

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

安装Glibc-2.25时出错 补丁打不上去

[复制链接]
发表于 2004-11-10 03:15:50 | 显示全部楼层 |阅读模式
#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
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 glibc-2.2.5/login/Makefile glibc-2.2.5-2/login/Makefile
|--- glibc-2.2.5/login/Makefile Thu Jul  5 21:55:34 2001
|+++ glibc-2.2.5-2/login/Makefile       Tue May 28 17:58:59 2002
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 20
Perhaps you used the wrong -p or --strip option?
...........................
发表于 2004-11-10 09:17:32 | 显示全部楼层

应该在glic-2.25/文件夹中执行patch -Np1 -i 补丁的路径

应该在glic-2.25/文件夹中执行patch -Np1 -i 补丁的路径
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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