Find the answer to your Linux question:
Results 1 to 2 of 2
Hey everyone, I broke gcc some way or another. I did 'aptitude --purge remove gcc build-essential', followed by an 'aptitude install ...' of the same stuff. However, it then installs ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    27

    help with gcc, where'd it go!

    Hey everyone, I broke gcc some way or another. I did 'aptitude --purge remove gcc build-essential', followed by an 'aptitude install ...' of the same stuff. However, it then installs gcc and everything, but only puts a link from gcc to gcc-4.3. Now, this doesn't do me much good when there is no gcc-4.3 :
    ls -a /usr/bin | grep gcc
    -rwxr-xr-x 1 root root 428 2006-05-07 03:28 c89-gcc
    -rwxr-xr-x 1 root root 451 2006-05-07 03:27 c99-gcc
    lrwxrwxrwx 1 root root 7 2009-08-19 17:57 gcc -> gcc-4.3
    lrwxrwxrwx 1 root root 7 2009-08-19 17:57 i486-linux-gnu-gcc -> gcc-4.3
    lrwxrwxrwx 1 root root 7 2009-08-14 15:38 i486-linux-gnu-gcc-4.1 -> gcc-4.1
    lrwxrwxrwx 1 root root 7 2009-08-14 14:56 i486-linux-gnu-gcc-4.3 -> gcc-4.3


    So gcc links to gcc-4.3, which doesn't exist. This is a huge problem obviously... if anyone could help me get gcc-4.3 or whatever is required to get this sorted out i would REALLY, really appreciate it.

    Thanks everyone!

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    27

    Solved!

    Hey, I got it. I downloaded the gcc-4.3 package and installed it manually. For some reason aptitude install gcc-4.3 doesn't install gcc-4.3. Thanks guys, sorry for the post. I don't see a way to delete it or i would.

    Thanks!

Posting Permissions

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