QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2206|回复: 4

Debain 3.0下编译libc6 2.3.1的问题

[复制链接]
发表于 2002-12-4 01:01:39 | 显示全部楼层 |阅读模式
我在Debain 3.0下编译libc6 2.3.1,运行./configure得到如下错误(提示):
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on.  Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.
我想要`linuxthreads' add-on,该怎么做。
我的系统是:
内核:2.4.18
GCC:3.2.1
libc:2.2.5
环境变量:LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib
我也下了threads库,但不知道该怎么办,直接拷到glibc-2.3.1下好像不行。

另:我加了`--disable-sanity-checks',configure可以成功,但make还是会出错,我想知道编译libc6到底要怎么做。
发表于 2002-12-4 17:55:17 | 显示全部楼层
--enable-add-ons
回复

使用道具 举报

发表于 2002-12-4 17:56:24 | 显示全部楼层
完整的是这样的:
mkdir ../glibc-build &&
cd ../glibc-build &&
../glibc-2.3.1/configure --prefix=/usr --disable-profile \
--enable-add-ons --libexecdir=/usr/bin &&
echo "cross-compiling = no" > configparms &&
make &&
make install &&
make localedata/install-locales
回复

使用道具 举报

 楼主| 发表于 2002-12-5 00:37:16 | 显示全部楼层
谢谢。
我在新帆上也问了这个问题,有人回“你真前卫,敢用glibc-2.3.1”,
难道glibc-2.3.1有什么问题吗?搞的我都不敢装了。
回复

使用道具 举报

发表于 2002-12-5 06:00:14 | 显示全部楼层
呵呵,说前卫,可能是有一点,glibc现在的stable还是2.2.5,不过很多distribution都用了更新的,比如lunar,现在就用2.3.1,用得也不错啊。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-8 01:52 , Processed in 0.081593 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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