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

Posted on 2011-04-28
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 No Groups Available in any repository

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 122, in _pageSwitch
  File "/usr/sbin/pirut", line 327, in _showBrowse
  File "/usr/lib/python2.4/site-packages/pirut/", line 523, in doRefresh
    if len(self.ayum.comps.categories) == 0:
  File "/usr/lib/python2.4/site-packages/yum/", line 607, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.4/site-packages/yum/", 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
Question by:ndwHombre
    LVL 87

    Expert Comment

    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.

    Author Comment

    rindi, do you have a link or where i can set up the registration on RH for package manager?
    LVL 87

    Expert Comment

    Just visit the redhat site and look at "Subscription" (I think).
    LVL 38

    Expert Comment

    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
    # rpm -ivh compat-gcc-34*.rpm

    Or if RHN is activated, then
    # yum install compat-gcc-34 compat-gcc-34-c++

    Accepted Solution

    I was able to get a 30 day tried and using the registration program in the menu, enter my RHN credentials and then package manager was working and i was able to install GCC and all the prerequisites automatically.

    Author Closing Comment

    I figured it out.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now