Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I'm pretty new at working with Linux/Unix systems, just started dealing with the CLI a week or two ago at work so bear with me if my questions/problems ...
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    1

    Question Problem with GCC

    Hi all,

    I'm pretty new at working with Linux/Unix systems, just started dealing with the CLI a week or two ago at work so bear with me if my questions/problems seem obvious, they probably aren't to me. URLs are at the bottom since I can't hyperlink to them.

    We have a server with Red Hat Enterprise Linux Server release 5.2 (Tikanga), x86_64 GNU/Linux.

    For the past few days at least (not sure when it began) every five minutes we get two messages for CPU0 and CPU1 saying: "Temperature above threshold, cpu clock throttled". Occasionally it says they are normal, so they're not *always* above the threshold but a majority the time.

    The server doesn't have internet, so I interact with it and transfer files via ssh/telnet/sftp from my Windows PC to another server running Fedora release 10 (Cambridge) to the RHEL5 server.

    I have been trying to install lm_sensors to try and read the CPU temperature and possibly the fan speed, but every installation method has failed. I have tried installing it via the yum command I read about on this page (URL 1), but since it doesn't have internet access it didn't work. I then tried manually installing using the instructions on the lm-sensors.org page (URL 2), but whenever I try to install anything (gcc, libtool, libsysfs) it shows:
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in '/home/user/src/libtool-2.4':
    configure: error: no acceptable C compiler found in $PATH

    I then looked up how to install gcc, but when I found a .rpm file of gcc 4.1.2 for RHEL5 I tried installing that like it mentions here (URL 3), but there are lots of [dependancy] programs I can't find a .rpm for as it seems they are all outdated and hard to find for RHEL5.

    Do I need to find the installation CD in order to install gcc? And is there any other way to check the cpu temperature or to know how to disable/fix the messages about temperature being above threshold?

    Thanks

    URL 1: joysofprogramming.com/install-lm_sensors-fedora-rhel/
    URL 2: lm-sensors.org/wiki/iwizard/ManualInstall
    URL 3: unclean.org/howto/gcchowto.html

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Location
    CA
    Posts
    20
    try looking on rpmfind.net

    or if you can connect host to internet somehow

    'yum install gcc'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...