gpt4 book ai didi

glibc - 在 Opensuse 42.3 上配置 : error: *** These critical programs are missing or too old: gcc make while installing glibc2. 12

转载 作者:行者123 更新时间:2023-12-03 23:37:44 26 4
gpt4 key购买 nike

我正在尝试安装 glibc-2.12.2,因为 Haskell-stack 特别需要 2.12 版本。

 ldd --version
ldd (GNU libc) 2.26
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

错误是——
 rajkumar@localhost:~/Downloads/glibc-2.12.2/build-tree> ../configure 
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld... /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld
checking version of /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld... 2.29.0.20170830, ok
checking for pwd... /usr/bin/pwd
checking for gcc... gcc
checking version of gcc... 7.2.1, bad
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.2.1, bad
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.19.8.1, ok
checking for makeinfo... no
checking for sed... sed
checking version of sed... v. ?.??, bad
checking for autoconf... no
configure: error:
*** These critical programs are missing or too old: gcc make
*** Check the INSTALL file for required versions.

但是我已经安装了 gcc 和 make。
 rajkumar@localhost:~/Downloads/glibc-2.12.2/build-tree> sudo zypper install make
Loading repository data...
Reading installed packages...
'make' is already installed.
No update candidate for 'make-4.2.1-2.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.
rajkumar@localhost:~/Downloads/glibc-2.12.2/build-tree> sudo zypper install gcc
Loading repository data...
Reading installed packages...
'gcc' is already installed.
No update candidate for 'gcc-7-2.4.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.

我已经安装了 glibc 2.26。如何在 opensuse 上将版本降级到 2.12。

最佳答案

I am trying to install glibc-2.12.2 because Haskell-stack specifically needs 2.12 version.



这极不可能是真的:GLIBC 是向后兼容的(旧程序继续在新的 GLIBC 版本上运行)。

I already have glibc 2.26 installed. How can I downgrade the version to 2.12 on opensuse.



如果您成功,您的系统将无法启动。你真的不想这样做。

相反,您应该描述您的实际问题。

附言您的 gcc 肯定不会太旧。相反,您的 GLIBC-2.12 configure 太旧了,无法理解这样一个新的 gcc 已经足够新了。

关于glibc - 在 Opensuse 42.3 上配置 : error: *** These critical programs are missing or too old: gcc make while installing glibc2. 12,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46534957/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com