Install gcc.4.1.2 in RedHat

Source: Internet
Author: User
Kernel-headers-2.6.18-194.el5.i386.rpm
Glibc-common-2.5-49.i386.rpm
[14:04:14] chingliu Yu: glibc-2.5-49.i686.rpm
[14:04:22] chingliu Yu: glibc-headers-2.5-49.i386.rpm
[14:06:03] chingliu Yu: glibc-devel-2.5-49.i386.rpm
[14:06:11] chingliu Yu: libgomp-4.4.0-6.el5.i386.rpm
[14:06:34] Lixin LU: Error on 2_glic
[14:07:35] chingliu Yu: [14: 06] Lixin LU:

<Error on 2_glic error message
[14:08:25] Lixin LU: [root @ localhost gcc4.1] # rpm-IVH 2_glibc-headers-2.5-49.i386.rpm
Warning: 2_glibc-headers-2.5-49.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Error: Failed dependencies:
Glibc = 2.5-49 is needed by glibc-headers-2.5-49.i386
[14:08:51] Lixin LU: [root @ localhost gcc4.1] # rpm-IVH 2_glibc-headers-2.5-49.i386.rpm
Warning: 2_glibc-headers-2.5-49.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Error: Failed dependencies:
Glibc = 2.5-49 is needed by glibc-headers-2.5-49.i386
[14:08:52] chingliu Yu: cpp-4.1.2-48.el5.i386.rpm
[14:09:02] chingliu Yu: [14: 04] chingliu Yu:

<Glibc-common-2.5-49.i386.rpm
Glibc-2.5-49.i686.rpm
Glibc-headers-2.5-49.i386.rpm
Glibc-devel-2.5-49.i386.rpm
Libgomp-4.4.0-6.el5.i386.rpm
[14:10:47] Lixin LU: [root @ localhost gcc4.1] # rpm-IVH glibc-common-2.5-49.i386.rpm
Warning: glibc-common-2.5-49.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
File/usr/bin/gencat from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/getconf from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/getent from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/iconv from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/lddlibc4 from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/locale from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/localedef from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/rpcgen from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/bin/sprof from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/libexec/pt_chown from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/sbin/build-locale-archive from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/sbin/rpcinfo from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/sbin/tzdata-update from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/sbin/zdump from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
File/usr/sbin/zic from install of glibc-common-2.5-49 conflicts with file from package glibc-common-2.5-24
[Root @ localhost gcc4.1] # rpm-IVH glibc-2.5-49.i686.rpm
Warning: glibc-2.5-49.i686.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Error: Failed dependencies:
Glibc-common = 2.5-49 is needed by glibc-2.5-49.i686
[14:11:24] Lixin LU: It looks like glibc-common is OK
[14:11:30] chingliu Yu: Use the command -- replacefiles
[14:11:37] Lixin LU: But glibc-2.5 failed
[14:11:42] Lixin LU: O
[14:11:43] chingliu Yu: [14: 08] chingliu Yu:

<Cpp-4.1.2-48.el5.i386.rpmrpm-IVH gcc-4.1.2-48.el5.i386.rpm -- replacefiles
Rpm-IVH libgcc-4.1.2-48.el5.i386.rpm -- replacefiles
Rpm-IVH gcc-4.1.2-48.el5.i386.rpm -- replacefiles
Rpm-IVH libstdc ++-devel-4.1.2-48.el5.i386.rpm -- replacefiles
Rpm-IVH libstdc ++-4.1.2-48. el5.i386. rpm -- replacefiles

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.