LinuxSir.cn,穿越时空的Linuxsir!

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

在装LFS第六章glibc的时候出现错误

[复制链接]
发表于 2003-6-27 08:07:27 | 显示全部楼层 |阅读模式
我装的版本号是20030603那个
下面是错误信息:
t:~# cd glibc-2.3.2/
root:~/glibc-2.3.2# mkdir ../glibc-build
root:~/glibc-2.3.2# cd ../glibc-build
root:~/glibc-build# ../glibc-2.3.2/configure --prefix=/usr \
>     --disable-profile --enable-add-ons \
>     --libexecdir=/usr/bin --with-headers=/usr/include
configure: loading cache /dev/null
../glibc-2.3.2/configure: line 1: ../glibc-2.3.2/configure:: No such file or directory
../glibc-2.3.2/configure: line 1: /bin/pwd: No such file or directory
../glibc-2.3.2/configure: line 1: /bin/pwd: No such file or directory
configure: error: you must configure in a separate build directory

请大家分析一下原因。
另:/bin/pwd 被我删掉是因为前面装linux-2.4.20头文件的时候说:

“我们前面只是临时性的创建/bin/pwd符号链接,现在可以删除了”

不知道有没有删错?
发表于 2003-6-27 08:29:19 | 显示全部楼层
pwd的链接符号不要删
把glibc-2.3.2 和 glibc-build 删掉
重新解压缩 安装
 楼主| 发表于 2003-6-27 09:08:03 | 显示全部楼层
果然是这个问题。
现在正在安装中......
谢谢
发表于 2003-6-27 15:48:08 | 显示全部楼层

更方便的办法是make install_dir=$LFS

我原先按LFS_HOWTO做,总是过不去,没有libc提供的header file,只有static gcc编译不了libc,后来在glibc得INSTALL文件中发现
关于chroot的介绍,一下子就过了,
有了libc,其他的冬冬就好说了。
现在glibc-cvs0625 nptl-0.49 gcc-ss-0623

有个问题请教大家,
6月15日的glibc以后,unistd.h中的很多函数声明去掉了__THROW属性,然后gcc的libstdc++就编译不过了,
还有很多其他的C++代码,有人在libc-alpha上报告了这个问题,但是没有人回答,这里有人碰到这个问题吗?谢谢了先。
发表于 2003-6-29 10:41:46 | 显示全部楼层
It turns out to be a bug in nptl-0.49,and has been fixed in nptl-0.50
Sorry to spam the list
发表于 2003-6-29 11:46:25 | 显示全部楼层
我觉得编译glibc和gcc的cvs包有点冒险,还有binutils也是一样。
发表于 2003-6-29 13:37:32 | 显示全部楼层
Use LFS, Use Bleeding Edge.
hehe 8-_)
发表于 2003-6-29 13:45:42 | 显示全部楼层
要bleeding edge,就得每天收收它们的邮件列表,呵呵。
发表于 2003-6-29 14:02:54 | 显示全部楼层
it turns out the pthread.h in nptl 0.49 is broken ,some bracket is lost, nptl 0.50 is ok.
I update every nptl version, and update glibc using cvs at the same
time, update gcc every two weeks using gcc-snapshot
It really shows my computer's age (Celeon 466+64M) when compiling these packages
when will it brokern so that i can update to a Barton 3200(when it is 700 yuan or less)?
So that I can compile the kernel in 3 minutes instead of 15+ min.
8-)
Oh, just remember sth, don't use glibc-2.3.2 with nptl shipped with it, it is broken at TLS initializing, yes, you can compile, install
it, yet some use application cannot run... ...
发表于 2003-6-29 14:08:35 | 显示全部楼层
没戏,老的cpu很耐用的,烧的多是新cpu,呵呵,还是扔掉,换新的得了。
那个ntpl我出过错的,编译firebird的时候用了with-system-ntpl,就死机了……
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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