J'essaie d'installer glibc-2.12.2 car la pile Haskell nécessite spécifiquement la version 2.12.configure: error: *** Ces programmes critiques sont manquants ou trop anciens: gcc make lors de l'installation de glibc2.12 sur Opensuse 42.3
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.
L'erreur est -
[email protected]:~/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.
Mais je gcc et faire déjà installé.
[email protected]:~/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.
[email protected]:~/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.
J'ai déjà installé la glibc 2.26. Comment puis-je rétrograder la version à 2.12 sur opensuse.
Le problème que j'essaie de résoudre est ici https://stackoverflow.com/questions/46519307/undefined-reference-to-symbol-pthread-setname-npglibc-2-12-haskell-stack-err. Une des suggestions est d'enlever glibc-2.26 et d'ajouter glibc-2.12. Pourriez-vous s'il vous plaît laissez-moi savoir comment puis-je résoudre le problème d'origine? –