CentOS 6.5下升级glibc到glibc-2.14时,执行configure,提示如下错误:
# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/glibc-2.14':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
解决方法:安装GCC
# yum install gcc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.opencas.cn
* updates: mirrors.opencas.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-16.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-16.el6.x86_64
---> Package libgcc.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-16.el6 will be an update
---> Package libgomp.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgomp.x86_64 0:4.4.7-16.el6 will be an update
--> Running transaction check
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================
Installing:
gcc x86_64 4.4.7-16.el6 base 10 M
Installing for dependencies:
cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k
cpp x86_64 4.4.7-16.el6 base 3.7 M
mpfr x86_64 2.4.1-6.el6 base 157 k
ppl x86_64 0.10.2-11.el6 base 1.3 M
Updating for dependencies:
libgcc x86_64 4.4.7-16.el6 base 103 k
libgomp x86_64 4.4.7-16.el6 base 134 k
Transaction Summary
===============================================================================================================================================================================================
Install 5 Package(s)
Upgrade 2 Package(s)
Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00
(2/7): cpp-4.4.7-16.el6.x86_64.rpm | 3.7 MB 00:00
(3/7): gcc-4.4.7-16.el6.x86_64.rpm | 10 MB 00:02
(4/7): libgcc-4.4.7-16.el6.x86_64.rpm | 103 kB 00:00
(5/7): libgomp-4.4.7-16.el6.x86_64.rpm | 134 kB 00:00
(6/7): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:00
(7/7): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 5.3 MB/s | 16 MB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc-4.4.7-16.el6.x86_64 1/9
/sbin/ldconfig: /usr/lib/libsigar-ppc-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
/sbin/ldconfig: /usr/lib/libsigar-ppc64-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
Installing : ppl-0.10.2-11.el6.x86_64 2/9
/sbin/ldconfig: /usr/lib/libsigar-ppc-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
/sbin/ldconfig: /usr/lib/libsigar-ppc64-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 3/9
/sbin/ldconfig: /usr/lib/libsigar-ppc-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
/sbin/ldconfig: /usr/lib/libsigar-ppc64-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
Installing : mpfr-2.4.1-6.el6.x86_64 4/9
/sbin/ldconfig: /usr/lib/libsigar-ppc-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
/sbin/ldconfig: /usr/lib/libsigar-ppc64-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
Installing : cpp-4.4.7-16.el6.x86_64 5/9
Updating : libgomp-4.4.7-16.el6.x86_64 6/9
/sbin/ldconfig: /usr/lib/libsigar-ppc-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
/sbin/ldconfig: /usr/lib/libsigar-ppc64-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
Installing : gcc-4.4.7-16.el6.x86_64 7/9
Cleanup : libgcc-4.4.7-4.el6.x86_64 8/9
/sbin/ldconfig: /usr/lib/libsigar-ppc-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
/sbin/ldconfig: /usr/lib/libsigar-ppc64-aix-5.so 不是 ELF 文件 - 它起始的魔数错误。
Cleanup : libgomp-4.4.7-4.el6.x86_64 9/9
Verifying : libgomp-4.4.7-16.el6.x86_64 1/9
Verifying : gcc-4.4.7-16.el6.x86_64 2/9
Verifying : mpfr-2.4.1-6.el6.x86_64 3/9
Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 4/9
Verifying : cpp-4.4.7-16.el6.x86_64 5/9
Verifying : ppl-0.10.2-11.el6.x86_64 6/9
Verifying : libgcc-4.4.7-16.el6.x86_64 7/9
Verifying : libgomp-4.4.7-4.el6.x86_64 8/9
Verifying : libgcc-4.4.7-4.el6.x86_64 9/9
Installed:
gcc.x86_64 0:4.4.7-16.el6
Dependency Installed:
cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.7-16.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6
Dependency Updated:
libgcc.x86_64 0:4.4.7-16.el6 libgomp.x86_64 0:4.4.7-16.el6
Complete!