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

Posted on 2011-04-28
Medium Priority
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
  File "/usr/sbin/pirut", line 327, in _showBrowse
  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
Question by:ndwHombre
  • 3
  • 2
LVL 88

Expert Comment

ID: 35484447
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

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

Expert Comment

ID: 35484641
Just visit the redhat site and look at "Subscription" (I think).
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

LVL 38

Expert Comment

ID: 35487788
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

ndwHombre earned 0 total points
ID: 35506743
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

ID: 35711384
I figured it out.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

839 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