Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unmerged gcc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Tue Nov 26, 2002 5:45 pm    Post subject: Unmerged gcc Reply with quote

Hi,
I accidently enmerged gcc :'(. I was trying to compile HAL9000, wich needs GCC 2. So I emerged GCC 2. After HAL9000 was compiled I tried to merge GCC 3 again, but that didn't work. So I tried to umerge GCC 2, using emerge unmerge gcc. But that would emerge GCC 2 and 3 so I broke off the unmerge in time. The next thing I did was ebuil gcc-2.95.3-r7 unmerge, that unmerged GCC 2, but it also rendered GCC 3 useless. The whoole gcc binary is gone, is there any way to restore this, or should I start the whole installation again?

This is the output from emerge -s gcc

Code:

*  sys-devel/gcc
      Latest version available: 3.2.1
      Latest version installed: 3.2.1
      Size of downloaded files: 20,122 kB
      Homepage:    http://www.gnu.org/software/gcc/gcc.html
      Description: Modern C/C++ compiler written by the GNU people


But the gcc binary is gone :(.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Nov 26, 2002 5:49 pm    Post subject: Reply with quote

Do you emerge with the binary option? If you do, there's a binary package in /usr/portage/packages/All/ . You could use emerge to install that binary pacakge.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Tue Nov 26, 2002 5:50 pm    Post subject: Reply with quote

I emerged everything from source. Why would I need GCC if I used binaries?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Nov 26, 2002 5:59 pm    Post subject: Reply with quote

If you emerge with the binary option, it creates a binary. That way, you don't have to compile something every time you install it. Plus, it helps with recovery. 'man emerge' explains the option.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Tue Nov 26, 2002 6:00 pm    Post subject: Reply with quote

ow, ok :) But that doens't solve my problem. It's just so stupid of me to unmerge GCC :)... I certainly learned my lesson :P
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 26, 2002 7:24 pm    Post subject: Reply with quote

I think your best bet is to unpack a stage 1 tarball across your root filesystem. Re-emerge any packages that give you trouble afterwards.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Tue Nov 26, 2002 7:27 pm    Post subject: Reply with quote

Yeah, my idea was to just boot the gentoo cd and bootstrap again. Ofcourse saving all config files first, you never know :P
Back to top
View user's profile Send private message
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Wed Nov 27, 2002 12:28 pm    Post subject: Reply with quote

Well, I upkaced the stage 1 tarball on my sytem, GCC is back, but it still doesn't work asa good as before. I'm no emerging -e system to fix the damn thing..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum