We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Trying to install GCC 3.3 on RH 5.3 using Package Manager GUI

ndwHombre
ndwHombre asked
on
Medium Priority
767 Views
Last Modified: 2012-05-11
Hello, I am trying to get GCC 3.3 (and several other packages) installed on a RHEL 5.3 machine.  When i open the package manager GUI, there are no 'available packages', I am assuming because it isnt connected to the RH network (which I dont know how to fix that either).  When i click on "Browse" in the package manager, i get the following error:

Component: pirut
Summary: TBa0915cfe __init__.py:581:_getGroups:GroupsError: No Groups Available in any repository

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 122, in _pageSwitch
    self.pageMap[num]()
  File "/usr/sbin/pirut", line 327, in _showBrowse
    grpsel.doRefresh()
  File "/usr/lib/python2.4/site-packages/pirut/GroupSelector.py", line 523, in doRefresh
    if len(self.ayum.comps.categories) == 0:
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 607, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 581, in _getGroups
    raise Errors.GroupsError, _('No Groups Available in any repository')
GroupsError: No Groups Available in any repository

Local variables in innermost frame:
group_st: 1304002808.23
self: <__main__.PackageManager object at 0xedfd710>
reposWithGroups: []
overwrite: False
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
To be able to connect to the RH repositories, you need to register and license yourself with RedHat. If you don't do that you should use another distro, like CentOS, which is a clone of RedHat, but free. With that you you get all updates and connections to the repositories.

http://centos.org

Author

Commented:
rindi, do you have a link or where i can set up the registration on RH for package manager?
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
Just visit the redhat site and look at "Subscription" (I think).
Top Expert 2011

Commented:
RHEL comes with gcc4 (the kernel is compiled with gcc4).
It provides gcc3.4 in compatible package.
Check your RHEL 5 DVD for the RPM file
------------
compat-gcc-34
compat-gcc-34-c++
-----------
and
# rpm -ivh compat-gcc-34*.rpm

Or if RHN is activated, then
# yum install compat-gcc-34 compat-gcc-34-c++
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
I figured it out.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.