Discussion:
install of GCC.i386 and compat-gcc fails on RHLS 5.5 i386
(too old to reply)
zedkay
2010-11-02 11:41:17 UTC
Permalink
Dear everyone.

I am trying to install gcc onto a newly installed RHEL 5.5 32 bit
server. It fails dependancies on glibc*. I think that the el5 version
is installed instead of the i386 (this is usual), and that this maybe
the cause of the problem.

I imagine that removing glibc-2.5-49.el5_5.7, and installing the i386
versions would solve this, but I cannot see how to go about doing this
without destroying the server.


We don't have access to RHN because the server is in a DMZ that the
Firewall team won't allow access to the commodity Internet. Does anyone
know how I can install GCC, or at least point me in the right directory?

Best regards,
Z.

# uname -a
Linux s2-skana12 2.6.18-194.17.4.el5PAE #1 SMP Wed Oct 20 13:13:33 EDT
2010 i686 i686 i386 GNU/Linux

# cat /etc/*release*
Red Hat Enterprise Linux Server release 5.5 (Tikanga


* GLIBC rpms currently installed
# rpm -qa|grep glibc
glibc-common-2.5-49.el5_5.7
glibc-2.5-49.el5_5.7


* INSTALL COMPAT-GCC
I tried to install the compat-gcc but this fails:
# yum install compat-gcc-34.i386 --skip-broken
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:
Connection refused
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-gcc-34.i386 0:3.4.6-4 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package:
compat-gcc-34
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package:
glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
---> Package kernel-headers.i386 0:2.6.18-194.el5 set to be updated
--> Finished Dependency Resolution
glibc-headers-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-headers-2.5-49.i386 (rhel-cd)
glibc-devel-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-devel-2.5-49.i386 (rhel-cd)
--> Running transaction check
---> Package compat-gcc-34.i386 0:3.4.6-4 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package:
compat-gcc-34
--> Finished Dependency Resolution
compat-gcc-34-3.4.6-4.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package
compat-gcc-34-3.4.6-4.i386 (rhel-cd)

Packages skipped because of dependency problems:
compat-gcc-34-3.4.6-4.i386 from rhel-cd
glibc-devel-2.5-49.i386 from rhel-cd
glibc-headers-2.5-49.i386 from rhel-cd
kernel-headers-2.6.18-194.el5.i386 from rhel-cd


* INSTALL GCC
The standard gcc gives the same errors:
# yum install gcc
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:
Connection refused
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-48.el5 set to be updated
--> Processing Dependency: libgomp >= 4.1.2-48.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package libgomp.i386 0:4.4.0-6.el5 set to be updated
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package:
glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
---> Package kernel-headers.i386 0:2.6.18-194.el5 set to be updated
--> Finished Dependency Resolution
glibc-devel-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-devel-2.5-49.i386 (rhel-cd)
glibc-headers-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-headers-2.5-49.i386 (rhel-cd)
Error: Missing Dependency: glibc = 2.5-49 is needed by package
glibc-headers-2.5-49.i386 (rhel-cd)
Error: Missing Dependency: glibc = 2.5-49 is needed by package
glibc-devel-2.5-49.i386 (rhel-cd)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


* REPOS INSTALLED
# yum repolist
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:
Connection refused repoid repname status
rhel-cd RHEL 5 Server - i386 - CD enabled: 2,348 repolist: 2,348
--
Please do not reply to my Email address. It is a faux Email address.
Cyberpunk FPS/MMORG www.neocron.com
Runs on Windows, platinum in latest WINE/Ubuntu. Running since 2002.
zedkay
2010-11-02 12:33:36 UTC
Permalink
Post by zedkay
Dear everyone.
I am trying to install gcc onto a newly installed RHEL 5.5 32 bit
server. It fails dependancies on glibc*. I think that the el5 version
is installed instead of the i386 (this is usual), and that this maybe
the cause of the problem.
I imagine that removing glibc-2.5-49.el5_5.7, and installing the i386
versions would solve this, but I cannot see how to go about doing this
without destroying the server.
We don't have access to RHN because the server is in a DMZ that the
Firewall team won't allow access to the commodity Internet. Does anyone
know how I can install GCC, or at least point me in the right directory?
Best regards,
Z.
# uname -a
Linux s2-skana12 2.6.18-194.17.4.el5PAE #1 SMP Wed Oct 20 13:13:33 EDT
2010 i686 i686 i386 GNU/Linux
# cat /etc/*release*
Red Hat Enterprise Linux Server release 5.5 (Tikanga
* GLIBC rpms currently installed
# rpm -qa|grep glibc
glibc-common-2.5-49.el5_5.7
glibc-2.5-49.el5_5.7
* INSTALL COMPAT-GCC
# yum install compat-gcc-34.i386 --skip-broken
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Connection refused
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-gcc-34.i386 0:3.4.6-4 set to be updated
compat-gcc-34
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
---> Package kernel-headers.i386 0:2.6.18-194.el5 set to be updated
--> Finished Dependency Resolution
glibc-headers-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-headers-2.5-49.i386 (rhel-cd)
glibc-devel-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-devel-2.5-49.i386 (rhel-cd)
--> Running transaction check
---> Package compat-gcc-34.i386 0:3.4.6-4 set to be updated
compat-gcc-34
--> Finished Dependency Resolution
compat-gcc-34-3.4.6-4.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package
compat-gcc-34-3.4.6-4.i386 (rhel-cd)
compat-gcc-34-3.4.6-4.i386 from rhel-cd
glibc-devel-2.5-49.i386 from rhel-cd
glibc-headers-2.5-49.i386 from rhel-cd
kernel-headers-2.6.18-194.el5.i386 from rhel-cd
* INSTALL GCC
# yum install gcc
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Connection refused
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-48.el5 set to be updated
--> Processing Dependency: libgomp >= 4.1.2-48.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-49 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package libgomp.i386 0:4.4.0-6.el5 set to be updated
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-devel
---> Package glibc-headers.i386 0:2.5-49 set to be updated
--> Processing Dependency: glibc = 2.5-49 for package: glibc-headers
---> Package kernel-headers.i386 0:2.6.18-194.el5 set to be updated
--> Finished Dependency Resolution
glibc-devel-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-devel-2.5-49.i386 (rhel-cd)
glibc-headers-2.5-49.i386 from rhel-cd has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package
glibc-headers-2.5-49.i386 (rhel-cd)
Error: Missing Dependency: glibc = 2.5-49 is needed by package
glibc-headers-2.5-49.i386 (rhel-cd)
Error: Missing Dependency: glibc = 2.5-49 is needed by package
glibc-devel-2.5-49.i386 (rhel-cd)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
* REPOS INSTALLED
# yum repolist
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Connection refused repoid repname status
rhel-cd RHEL 5 Server - i386 - CD enabled: 2,348 repolist: 2,348
Problem was solved by telling yum to proxy through 127.0.0.1:8080 and
then port forwarding over SSH via a server in the DMZ with Internet
access. This way the dependancies were solved and gcc installed.
Loading...