Find the answer to your Linux question:
Results 1 to 7 of 7
I'm a linux newbie and I was wondering how to do it. I'm running Fedora core 4. I can't compile the source code because I don't understand how to configure ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16

    How To Install GCC?


    I'm a linux newbie and I was wondering how to do it. I'm running Fedora core 4. I can't compile the source code because I don't understand how to configure it. I was reading on it but it is way to comicated to understand. I tried a already compiled binary from openpkg but after I installed it I tried to compile something but it said gcc wasn't installed.

  2. #2
    Linux Engineer
    Join Date
    Aug 2004
    Posts
    826
    Try configuring yum and doing
    Code:
    # yum install gcc
    You can also install gcc from the Fedora Core CDs.

    What application are you trying to install? I'm sure there's probably a precompiled package available.

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Yeah, there is a pre-compiled package available but there are other applications that only put out source code so I need it. It is on my Fedora Core 4 dvd because I had it installed before but forgot to install it when I was installing Fedora (If that makes sense). How would I go about installing it from the dvd now?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Ok, I found the following gcc files on the disc, which one should I use?

    gcc-4.0.0-8.i386.rpm
    gcc-c++-4.0.0-8.i386.rpm
    gcc-gfortran-4.0.0-8.i386.rpm
    gcc-gnat-4.0.0-8.i386.rpm
    gcc-java-4.0.0-8.i386.rpm
    gcc-objc-4.0.0-8.i386.rpm

  6. #5
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Ok figured that out but now I have an error when trying to 'make" when compiling something.

    ir.c:19: error: static declaration of 'keepGoing' follows non-static declarationir.h:53: error: previous declaration of 'keepGoing' was here
    ir.c:22: error: static declaration of 'irapp_thread' follows non-static declaration
    ir.h:52: error: previous declaration of 'irapp_thread' was here
    make[2]: *** [ir.lo] Error 1
    make[2]: Leaving directory `/root/Desktop/xmms-1.2.10/General/ir'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/root/Desktop/xmms-1.2.10/General'
    make: *** [install-recursive] Error 1

  7. #6
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Are you trying to install xmms? If so, is it not available through yum? Try (as root):
    Code:
    yum install xmms
    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  8. #7
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Never thought of that! Thanks a lot!

Posting Permissions

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