LinuxSir.cn,穿越时空的Linuxsir!

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

glibc安装不好! 急...

[复制链接]
发表于 2005-12-31 17:23:18 | 显示全部楼层 |阅读模式
我的第三个包glibc安装不了是怎么回事,麻烦看看,看我错在哪?

按照文档上面的要求,
[root@localhost glibc-2.3.4]# ./configure --prefix=/tools/ --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux
configure: error: you must configure in a separate build directory


还有一问:那个补丁包怎么下载啊,一点击,就把文件的内容全显示出来了,我就自己在电脑上建一个同样名称的文件,然后把那些东西复制上去,保存,对么?
按照文档上面的安装,出现:
[root@localhost sources]# patch -Np1 -i ./glibc-2.3.4-fix_test-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: Archaic (archaic -aT- linuxfromscratch -DoT- org)
|Date: 2005-04-27
|Initial Package Version: 2.3.4
|Origin: http://sources.redhat.com/ml/libc-alpha/2005-04/msg00056.html
|Upstream Status: Applied
|Description: Allows tst-cancel17 and tst-cancelx17 to pass with kernel-2.6.11.x
|
|diff -Naur glibc-2.3.5.orig/nptl/tst-cancel17.c glibc-2.3.5/nptl/tst-cancel17.c
|--- glibc-2.3.5.orig/nptl/tst-cancel17.c       2003-08-08 02:09:57.000000000 -0500
|+++ glibc-2.3.5/nptl/tst-cancel17.c    2005-04-27 10:46:26.000000000 -0500
--------------------------
File to patch:

到了这里该怎么些啊!
发表于 2005-12-31 17:29:24 | 显示全部楼层
你不仔细看文档,要建立glibc-build目录.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-31 17:38:33 | 显示全部楼层
Post by youbest
你不仔细看文档,要建立glibc-build目录.


有的.
[root@localhost lfs]# ls
complie  glibc-build  lost+found  sources  tools

是不是不应该在这个目录下阿?
回复 支持 反对

使用道具 举报

发表于 2005-12-31 17:44:46 | 显示全部楼层
Post by foryouonly
我的第三个包glibc安装不了是怎么回事,麻烦看看,看我错在哪?

按照文档上面的要求,
[root@localhost glibc-2.3.4]# ./configure --prefix=/tools/ --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux
configure: error: you must configure in a separate build directory



可你没在glibc-build这个目录下编译
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-31 17:48:10 | 显示全部楼层
你是说要把glibc-3.4.3解压后的包内的文件复制到glibc-build这个目录中进行编译?

我现在的目录是/mnt/lfs/glibc-build/glibc-3.4.3/*  这个错误的,是么?
回复 支持 反对

使用道具 举报

发表于 2005-12-31 17:57:23 | 显示全部楼层
什么都不要拷贝
../glibc-2.3.4/configure --prefix……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-31 18:03:28 | 显示全部楼层
好样的,又学了一招,就是不要在当前目录去编译,,理解了,多谢了,,
  
还有上面说的补丁包,该怎么处理阿?
回复 支持 反对

使用道具 举报

发表于 2005-12-31 18:04:43 | 显示全部楼层
另存为...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-31 18:12:04 | 显示全部楼层
我的Firefox浏览器好像行不通..就安我的把么应该行把!

关键是不会怎么补,,在出现的

File to patch:

这改写什么啊?
回复 支持 反对

使用道具 举报

发表于 2005-12-31 18:35:13 | 显示全部楼层
打补丁要在 glibc-2.3.4 目录下边打。
编译要在  glibc-build 目录下进行。
回复 支持 反对

使用道具 举报

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

本版积分规则

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