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

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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
ndwHombreAuthor Commented:
rindi, do you have a link or where i can set up the registration on RH for package manager?
Just visit the redhat site and look at "Subscription" (I think).
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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++
ndwHombreAuthor Commented:
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.

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ndwHombreAuthor Commented:
I figured it out.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.