LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2008, 11:17 PM   #1
Sage314
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo AMD64
Posts: 14

Rep: Reputation: 1
I unmerged GCC on my Gentoo AMD64 box, help?


Hey everyone,

I'm pretty new to posting on this forum, so please excuse me if I say anything ignorant/rude. I was cleaning up my old installs of gcc and rather than cleaning only that which is less than the version I had installed, I unmerged that too. Hilarious, right? Well, I immediately downloaded the latest LiveCD, booted up, chrooted into my partition, updated the environment and profile, and "emerge gcc". Funny thing is, I believe it is looking to use the gcc on my partition to compile gcc, rather than using the LiveCD's gcc to compile the new gcc on my box that I need. I'm wondering what I am doing wrong, as using this procedure made oh so much sense to me. So for now, my box is down and out, and I might be too =/

Sage314
 
Old 03-07-2008, 12:45 AM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Try just actually copying the gcc executable from the live disc into the PATH on the host. Then re-emerge gcc. Hopefully that'll work out for you.
 
Old 03-07-2008, 12:00 PM   #3
Sage314
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo AMD64
Posts: 14

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by PatrickNew View Post
Try just actually copying the gcc executable from the live disc into the PATH on the host. Then re-emerge gcc. Hopefully that'll work out for you.

So, the steps necessary would be: copy the exec to my local environment, chroot into it, re-emerge the executable, it should compile? I'm really not all that knowledgeable about the capabilities of the liveCD and re-emerging. Just let me know if this sounds right and I'll give it a shot. Thanks.
 
Old 03-07-2008, 12:54 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
To be honest, I'm not even a gentoo user and there may be a more elegant way, but basically yes. It seems like the problem is that you need gcc to be in your path in order to compile anything, including gcc. So, somehow you need to temporarily get a binary package of gcc. This seems as good a way as any. Hopefully the emerged gcc will just overwrite the old and you'll be done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmerged python in gentoo system! ascentsoft Gentoo 5 11-02-2008 04:12 PM
Please help -- weird things on my AMD64 gentoo box... emanresu Linux - Newbie 3 01-25-2007 12:49 PM
Cannot ssh to debian box from Gentoo box or Putty, but I can from Cygwin? Pengus Linux - Networking 2 01-20-2006 12:47 PM
Slackware /Gentoo AMD64 steved123 Linux - Distributions 3 08-11-2005 03:12 PM
Gentoo and AMD64 wmartino Linux - Software 6 12-10-2004 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration