installed RHEL, but there's no GCC?

#1
Hello,
Thanks to your previous help, I installed RHEL 5 on my Dell. However, there appears to be no GCC (I want to install emacs, but need a C compiler, apparently). From what I've read on the web, this situation is not normal (in other words, GCC is included in most Linux distributions). I tried installing GCC but got nowhere, fast. Any ideas?
Thanks in advance for your comments.
Deanne
 

mqudsi

Mostly Harmless
Staff member
#2
Hi Deanne,

Try this as su in a shell:
Code:
yum install gcc
If it doesn't finish properly, please paste the output of that command here in a
Code:
 tag.
 
#3
Thanks! Here is the result.
Code:
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 85, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 199, in getOptionsConfig
    errorlevel=opts.errorlevel)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 134, in doConfigSetup
    self.plugins.run('init')
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/rhnplugin.py", line 75, in init_hook
    login_info = up2dateAuth.getLoginInfo()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 139, in getLoginInfo
    login()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 80, in login
    server = rhnserver.RhnServer()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 144, in __init__
    self._server = rpcServer.getServer()
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 168, in getServer
    raise up2dateErrors.SSLCertificateFileNotFound(msg)
up2date_client.up2dateErrors.SSLCertificateFileNotFound: ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

Addendum:

One last thing--I think "as su" means "as root"? Let me know if that is wrong. I am logged in as root.
 
Last edited:
#5
Update:
It turns out that my RedHat registration script was faulty, which was causing problems with yum and software installation in general. I ended up reinstalling RHEL, being sure to "Customize Software" during installation and selecting the programs I wanted. Then I obtained the correct registration script from my university. So I think I'm all set now! Thanks for pointing me in the right direction, CG. It was extremely helpful.
 

mqudsi

Mostly Harmless
Staff member
#6
You're welcome, deanne. Let us know if there's anything else you need :smile: