Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I just install Kubuntu and when i try to make / make install i get message telling me that it cant find my gcc or cc when its "checking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    3

    Missing gcc on kubuntu


    Hello,

    I just install Kubuntu and when i try to make / make install i get message telling me that it cant find my gcc or cc when its "checking for"

    Ive done:
    sudo apt-get gcc
    "Invalid operation gcc..."

    sudo apt-get install gcc
    "Couldnt find package gcc..."

    sudo apt-get build-essential
    "Invalid operation build-essential..."

    sudo apt-get install build-essential
    "Couldnt find package build-essential..."

    Any ideas on where to look for a gcc :S

    I've google gcc's and am lost on what to do/get

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    are you connected to the net? are you trying to install from the cd? post the output of
    Code:
    cat /etc/apt/sources.list

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    3
    my output from sources.list is all commented out. I have the cd that i used to install in my drive but i dont see any lines having to do w/ accessing the CD. I dont have an internet connection atm on my linux laptop but i will later tonight i guess ill try again and uncomment the URL's.

    The thing that gets me is that under package manager it says that i have two gcc's installed.... gcc-3.3-base and gcc-4.0-base.

    Any ideas what is going on?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    sudo apt-cdrom add
    sudo apt-get update
    sudo apt-get install build-essential
    apt-get will fetch build-essential package from Installation CD and install it in your machine.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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