glibc 2.18 配置警告

glibc 2.18 配置警告

我正在使用 Ubuntu 12.04 LTS。我尝试安装glibc-2.18./configure出现

configure: error: you must configure in a separate build directory

然后我尝试在目录中进行配置,bla然后它不断重复这些行:

checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for dummy-gcc... (cached) gcc
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for dummy-readelf... (cached) readelf
checking for sysdeps preconfigure fragments... x86_64 
configure: running configure fragment for add-on bla
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target

I'm originally trying to installutorrent-server` 提供:

./utserver: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.16 not found (required by ./utserver)

如何修复这个问题?

答案1

您应该在另一个目录而不是 glibc 源目录中构建 glibc。

答案2

做类似的事情:

# mkdir  build-tree
# cd  build-tree
# ../configure

这将使您能够配置(和构建)glibc。

对于 glibc Ubuntu 官方版本,他们在 debian/rules 文件上执行相同的操作。

相关内容