打印

Debain 3.0下编译libc6 2.3.1的问题

Debain 3.0下编译libc6 2.3.1的问题

我在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到底要怎么做。

TOP

--enable-add-ons

TOP

完整的是这样的:
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

TOP

谢谢。
我在新帆上也问了这个问题,有人回“你真前卫,敢用glibc-2.3.1”,
难道glibc-2.3.1有什么问题吗?搞的我都不敢装了。

TOP

呵呵,说前卫,可能是有一点,glibc现在的stable还是2.2.5,不过很多distribution都用了更新的,比如lunar,现在就用2.3.1,用得也不错啊。

TOP