Re: [gentoo-user] EMERGENCY - GCC GONE!
Just to close this all up on a funny note, look at this: http://gentoo-wiki.com/HOWTO_Recover_from_%22emerge_--unmerge_gcc%22#.22I_Did_This.22_Wall_of_Shame -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Fri, 02 Jun 2006 00:42:29 -0500, Teresa and Dale wrote: From what I understand, which may be as wrong as it gets, if I use the buildpkg thing, it stores a binary in /usr/portage/packages/All/ and if I really screw up something, like portage, gcc or something like that, I can untar it to / and rescue myself from my evil doing. That is what I understand and have never actually used this feature before. That's right. It came in handy a few months back when a glibc update broke things. It also means you can quickly roll back to the previous version of a package with emerge --usepackage =cat/pkg-version. -- Neil Bothwick Read the docs? What a RADICAL concept! signature.asc Description: PGP signature
Re: [gentoo-user] EMERGENCY - GCC GONE!
Hi, Lord Sauron wrote: On 5/31/06, Rumen Yotov [EMAIL PROTECTED] wrote: Hi, I keep binaries for all major/critical packages of my system - gcc,glibc But their usage depends on processor family, USE flags for gcc etc. Will put a binary tarball of gcc-3.4.6-r1 (gcc-3.4.6-r1.tbz2)-25MB. CFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer sys-devel/gcc-3.4.6-r1 USE=boundschecking fortran gcj gtk nls objc -bootstrap -build -doc -hardened -ip28 -multislot -nocxx -nopie -nossp -vanilla Place: ftp.qrypto.org PS: to install put it in / (root dir), tar xjvf gcc-3.4.6-r1.tbz2 (ignore last massages). Then if lucky remerge any GCC you want. HTH.Rumen So I'm just going to untar it to / by tar xjvf gcc-3.4.5-r1.tbz2? Yeah, FYI untar it in some test directory and check the contents. That's significantly less painful than I was expecting this to be. I'm working on that now. I'm downloading it, and then I'll be putting it to a USB drive to then migrate to the afflicted machine (I'm not pro enough to know how to download something without the crux of a GUI - sorry, it's the horrible truth.) wget ftp://ftp.qrypto.org/gcc-3.4.6-r1.tbz2. It's a 3.4.6 version. Use quickpkg package to generate a binary tarball of it. Thanks a million for the help. I was really making some great progress as far as learning more and more about Gentoo and linux in general, and it'd be a shame to waste time on reinstalling because I was a dork and did something stupid like killing gcc. I should be able to say whether your steps worked within an hour or so. Thanks again. PS:check again your processor architecture (athlon-xp - here), the USE flags are not so important but some might be. I should have used -mcpu=athlon-xp which will work with i686 too, but it's too late now. HTH.Rumen smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] EMERGENCY - GCC GONE!
Justin R Findlay wrote: On Wed, May 31, 2006 at 10:23:48PM -0700, Lord Sauron wrote: So I'm just going to untar it to / by tar xjvf gcc-3.4.5-r1.tbz2? No. [EMAIL PROTECTED] # cp gcc-3.4.5-r1.tbz2 /usr/portage/packages [EMAIL PROTECTED] # emerge -k =gcc-3.4.5-r1 And make sure PKGDIR is set to /usr/portage/packages in your /etc/make.conf. Justin Hi, How to do this when python (so emerge) isn't working? Otherwise this is the proper way. Please don't confuse him. Rumen smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] EMERGENCY - GCC GONE!
Le mercredi 31 mai 2006 à 16:28 -0700, Lord Sauron a écrit : For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. there is a page in the wiki explaining how to solve this : http://gentoo-wiki.com/HOWTO_Recover_from_%22emerge_--unmerge_gcc%22 -Leszek -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Wed, 2006-05-31 at 22:23 -0700, Lord Sauron wrote: I should be able to say whether your steps worked within an hour or so. Thanks again. *meep* no news is good news? -- Iain Buchanan iaindb at netspace dot net dot au The amount of time between slipping on the peel and landing on the pavement is precisely 1 bananosecond. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
leszek wrote: Le mercredi 31 mai 2006 à 16:28 -0700, Lord Sauron a écrit : For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. there is a page in the wiki explaining how to solve this : http://gentoo-wiki.com/HOWTO_Recover_from_%22emerge_--unmerge_gcc%22 -Leszek I have to take my fiance to the doctor but I would be glad to email you any files you need, I have a Athlon XP with this in make.conf: USE=acl acpi alsa amd arts artsd artswrappersuid bzip2 cdr chroot clanJavaScript crypt dbus doc esd ethereal exif f-prot fdftk gaim gcj gif gimpprint gkrellm -gnome gphoto2 gtk hal hbci hpijs ipv6 java javascript jbig jpeg2k justify kde mmx mozilla nsplugin ofx offensive openoffice -oss postgres ppds pysol scanner scribus sse tcltk tiff tkinter truetype tuxracer udev usb wmf X xml xprint yahoo 3dnow CFLAGS=-march=athlon-xp -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -pipe I have buildpkg turned on here too. I delete them every once in a while but save some of the critical stuff. I have a cable modem here so it will not take me long to send it, whatever you need. I should be back in a while. Depends on long the Doctor takes really. She's seeing a neurologist. Let me know of you need anything. If I am not here I'm sure someone else could share. You may want to CC my regular email to make sure I see it ASAP. Hang in there, this can be fixed. I've done some things similiar before. Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
I fixed it. Thank God that's over... it was good to go back to the command line a bit for me. Keeps me sharp... even despite the huge allergies I'm experiencing right now. I've also added a note in my notes files to NEVER run anything like emerge --unmerge gcc ever again. That was a huge mistake. Rather, I've found through this experience gcc-config. Never knew that was there... much to my misfortune. Thanks a lot for your help - Without you I'd have to reinstall, since I'm not skilled enough to brave the world of a live-cd and chroot (I think) into my drive to then install gcc. At least, that's what I think my next best option was... I'm not at all familiar with chroot though, so all I can do is speculate. I think I'll go read its man page now in celebration of the restoration of my system. Also, right before I killed my system, I made something, a very very elementary bash script (my first bash script - yay!) to toggle distcc on and off. It's NOT terribly advanced, but it's a start... here it is: localhost ~ # cat /bin/ch_distcc #!/bin/bash # alternates between using make.conf and make.conf.other # in other words, toggles between using distcc or not # this should be where your make.conf lives. MAKE_DIR=/etc/; mv $MAKE_DIRmake.conf $MAKE_DIRbuffer mv $MAKE_DIRmake.conf.other $MAKE_DIRmake.conf mv $MAKE_DIRbuffer $MAKE_DIRmake.conf.other I know it's not terribly good, it assumes that make.conf and make.conf.other are exactly the same - except for the distcc part in FEATURES=. But hey, it's something I can work on while chipping my way through a excellent reference on bash I found and downloaded. Thanks again for your help! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
Lord Sauron wrote: I fixed it. Thank God that's over... it was good to go back to the command line a bit for me. Keeps me sharp... even despite the huge allergies I'm experiencing right now. I've also added a note in my notes files to NEVER run anything like emerge --unmerge gcc ever again. That was a huge mistake. Rather, I've found through this experience gcc-config. Never knew that was there... much to my misfortune. Thanks a lot for your help - Without you I'd have to reinstall, since I'm not skilled enough to brave the world of a live-cd and chroot (I think) into my drive to then install gcc. At least, that's what I think my next best option was... I'm not at all familiar with chroot though, so all I can do is speculate. I think I'll go read its man page now in celebration of the restoration of my system. Also, right before I killed my system, I made something, a very very elementary bash script (my first bash script - yay!) to toggle distcc on and off. It's NOT terribly advanced, but it's a start... here it is: localhost ~ # cat /bin/ch_distcc #!/bin/bash # alternates between using make.conf and make.conf.other # in other words, toggles between using distcc or not # this should be where your make.conf lives. MAKE_DIR=/etc/; mv $MAKE_DIRmake.conf $MAKE_DIRbuffer mv $MAKE_DIRmake.conf.other $MAKE_DIRmake.conf mv $MAKE_DIRbuffer $MAKE_DIRmake.conf.other I know it's not terribly good, it assumes that make.conf and make.conf.other are exactly the same - except for the distcc part in FEATURES=. But hey, it's something I can work on while chipping my way through a excellent reference on bash I found and downloaded. Thanks again for your help! I recently changed mine to this: # FEATURES are settings that affect the functionality of portage. Most of # these settings are for developer use, but some are available to non- # developers as well. 'buildpkg' is an always-on setting for the emerge # flag of the same name. It causes binary packages to be created of all # packages that are merged. FEATURES=buildpkg ccache sandbox It sort of helps me in case I screw up. It happens sometimes, usually when we least expect it too. Glad you got it working. Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On 6/1/06, Teresa and Dale [EMAIL PROTECTED] wrote: I recently changed mine to this: # FEATURES are settings that affect the functionality of portage. Most of # these settings are for developer use, but some are available to non- # developers as well. 'buildpkg' is an always-on setting for the emerge # flag of the same name. It causes binary packages to be created of all # packages that are merged. FEATURES=buildpkg ccache sandbox It sort of helps me in case I screw up. It happens sometimes, usually when we least expect it too. I'll have to look into that. It's options like those that mean I really need to work more on my distcc toggle command. It's not used to much other than what I already built into it. I would have made it more complex, however, I don't know enough bash yet to do that. Glad you got it working. So am I. -- == GCv3.12 == GCS d-(++) s+: a? C++ UL+ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y = END GCv3.12 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
Lord Sauron wrote: On 6/1/06, Teresa and Dale [EMAIL PROTECTED] wrote: I recently changed mine to this: # FEATURES are settings that affect the functionality of portage. Most of # these settings are for developer use, but some are available to non- # developers as well. 'buildpkg' is an always-on setting for the emerge # flag of the same name. It causes binary packages to be created of all # packages that are merged. FEATURES=buildpkg ccache sandbox It sort of helps me in case I screw up. It happens sometimes, usually when we least expect it too. I'll have to look into that. It's options like those that mean I really need to work more on my distcc toggle command. It's not used to much other than what I already built into it. I would have made it more complex, however, I don't know enough bash yet to do that. Glad you got it working. So am I. From what I understand, which may be as wrong as it gets, if I use the buildpkg thing, it stores a binary in /usr/portage/packages/All/ and if I really screw up something, like portage, gcc or something like that, I can untar it to / and rescue myself from my evil doing. That is what I understand and have never actually used this feature before. I have used the portage rescue before though, twice I might add. One thing I can say about Linux and Gentoo, there are tons of options. Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On 5/31/06, Lord Sauron [EMAIL PROTECTED] wrote: there, and other things. To me it looks like Python is totally broken. It keeps asking for libstdc++.so.6, which apparently no longer exists. Yes, on Gentoo unmerging gcc will break all programs that depend on libstdc++.so. You should have done a revdep-rebuild --library=libstdc++.so.6 after running gcc-config to select the version of gcc on your system. At this point, if you have some version of gcc installed, try to run gcc-config to select the remaining gcc version. If that doesn't work, and you used FEATURES=quickpkg, you can just untar the binary package of gcc-3.4.5-r1. Otherwise I think you will have to resort to copying stuff from the livecd, or restoring from a backup. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Wed, May 31, 2006 at 04:28:45PM -0700, Lord Sauron wrote: This is - for me - an emergency. No pun intended. I had to get rid of all gcc versions 3.4.5 and greater to work with gcc in Cygwin on my desktop to speed up the emerge of KDE 3.5 such that I wouldn't finish when KDE 4.0 was released. I gave it some pretty explicit instructions AFTER emerging gcc-3.4.4-r1. emerge --unmerge gcc-3.4.5 gcc-3.4.5-r1 (the only two greater that 3.4.4 that I had installed). For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. Couple of things first. Does 'gcc-config -l' show anything (ie: a list of compilers still installed). Secondly, you can relatively easily restore a gcc by creating a binary package from another gentoo server (I forget the exact steps for this, basically you can dump all the files provided by an ebuild into a binary that you can install by simply untarring it in your /) or use the binary package that is on one of the install/complete CDs. HTH alan -- Alan [EMAIL PROTECTED] - http://arcterex.net Backups are for people who don't pray. -- big Mike -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Thursday 01 June 2006 00:28, Lord Sauron wrote: I had to get rid of all gcc versions 3.4.5 and greater to work with gcc in Cygwin on my desktop to speed up the emerge of KDE 3.5 such that I wouldn't finish when KDE 4.0 was released. I gave it some pretty explicit instructions AFTER emerging gcc-3.4.4-r1. emerge --unmerge gcc-3.4.5 gcc-3.4.5-r1 (the only two greater that 3.4.4 that I had installed). For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. gcc-config -l or poke around in /var/db/pkg I thought libstdc++.so.6 was the gcc 3.4 c++ abi, if it really is gone, you'll need someone to send you a binary package of gcc matching your USE settings. Python will be broken until it can fine the libstdc it's linked against. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Wed, 2006-05-31 at 16:45 -0700, Alan wrote: On Wed, May 31, 2006 at 04:28:45PM -0700, Lord Sauron wrote: Secondly, you can relatively easily restore a gcc by creating a binary package from another gentoo server (I forget the exact steps for this, basically you can dump all the files provided by an ebuild into a binary that you can install by simply untarring it in your /) or use the binary package that is on one of the install/complete CDs. quickpkg can help you here. if portage can emerge it, quickpkg can make a package On a working machine, type `quickpkg gcc` or `quickpkg =gcc-3.4.5-blah`. I think the result goes int /usr/portage/packages. Then take that to your broken machine, and unpack it. Hope it works! -- Iain Buchanan iaindb at netspace dot net dot au So you think that money is the root of all evil. Have you ever asked what is the root of money? -- Ayn Rand -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Wed, 31 May 2006 20:46:54 -0300 Daniel da Veiga wrote: On 5/31/06, Lord Sauron [EMAIL PROTECTED] wrote: This is - for me - an emergency. No pun intended. I had to get rid of all gcc versions 3.4.5 and greater to work with gcc in Cygwin on my desktop to speed up the emerge of KDE 3.5 such that I wouldn't finish when KDE 4.0 was released. I gave it some pretty explicit instructions AFTER emerging gcc-3.4.4-r1. emerge --unmerge gcc-3.4.5 gcc-3.4.5-r1 (the only two greater that 3.4.4 that I had installed). For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. I know some of you are going to be laughing your heads off at what can only be a gigantic error in syntaxing my command to emerge, however, I don't find it at all funny. I can't start KDE, I can't emerge gcc to fix the problem, I can't eix gcc to see what versions of gcc are still there, and other things. To me it looks like Python is totally broken. It keeps asking for libstdc++.so.6, which apparently no longer exists. I'm totally and completely devoid of all ideas to fix this problem. My best idea has been to try and distcc with my desktop a version of gcc, however, if even emerge --search won't work, I'm willing to bet that adding FEATURES=distcc to my make.conf won't do much more than make a minor footnote in the list of problems I face. I'm pretty much scared of having to either 1) reinstall Gentoo or 2) go back to Kubuntu, so help here would be beyond excellent. I'm not sure how violate an idea this is, but I think it might (some gigantic emphasis on the might part) be possible to take another generic i386/i686 copy of libstdc++.so.6 and paste it into where it's needed. I think this might fix the problem so that I can the get emerge to work enough to distcc my way into patching up my critically wounded system. Before anyone makes me confess, YES! I KILLED MY SYSTEM! However, I have to defend my pride in saying it wasn't something dumb like blindly following some rm -r command from some website. Any help here would be just great. Thanks for any help you can give in advance. Well, the world is not lost, you still have a working machine, so, you CAN fix this as long as you can BOOT your system in any way, I'm assuming you get it running (most of it), so, there's still hope. AND you have a complete working machine (your desktop), so, calm down and think straight. My best bet would be quickpkg gcc for libstdc++ glibc at the Desktop, then you'll need to find and and put some libs to the right places at your broken machine, till portage start working. After you get emerge working, you can use the packages generated by quickpkg to quickly restore gcc and glibc and start fixing your GCC installation. If you can't get portage to work, you may need to extract a snapshot to $PORTDIR. If you can't, in any way, you can still extract the quickpkg's using tar... Those are guesses, but, well, worth a try?! Anyway, some guru will point you in the right direction anytime. Some OK ideas have been floated here, but what if our friend doesn't have another working gentoo machine? he needs that for quickpkg. Suggestions for finding the packaged file on one of the dev sites is fine, but someone needs to give the poor guy a url. Also he isn't going to be able to install it with portage because portage isn't working because python isn't working. Hopefull untarring it into the filesystem will work, but any post install scripts are not going to be executed. Therefore something like gcc-config will need to be executed, and OP will also need to check the ebuild for other steps that may be missing from a simple untar. -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Thu, 2006-06-01 at 13:33 +1200, Nick Rout wrote: Some OK ideas have been floated here, but what if our friend doesn't have another working gentoo machine? he needs that for quickpkg. On Wed, 2006-05-31 at 16:28 -0700, Lord Sauron wrote: My best idea has been to try and distcc with my desktop I assumed the presence of a separate desktop machine from this comment. Also he isn't going to be able to install it with portage because portage isn't working because python isn't working. Hopefull untarring it into the filesystem will work, tar is how I'd start. but any post install scripts are not going to be executed. Therefore something like gcc-config will need to be executed, and OP will also need to check the ebuild for other steps that may be missing from a simple untar. untar gcc, then emerge gcc, and you'll fix the post-install and other ebuild stuff. I hope :) -- Iain Buchanan iaindb at netspace dot net dot au Now I lay me down to sleep I pray the double lock will keep; May no brick through the window break, And, no one rob me till I awake. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Thu, 01 Jun 2006 11:19:27 +0930 Iain Buchanan wrote: On Wed, 2006-05-31 at 16:28 -0700, Lord Sauron wrote: My best idea has been to try and distcc with my desktop I assumed the presence of a separate desktop machine from this comment. ahh ok missed that bit. And I think you are right, untar the gcc and then emerge it again (from the binary) -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
Iain Buchanan wrote: On Wed, 2006-05-31 at 16:28 -0700, Lord Sauron wrote: My best idea has been to try and distcc with my desktop I assumed the presence of a separate desktop machine from this comment. His desktop is a Windows machine, running distcc under Cygwin. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
Lord Sauron wrote: This is - for me - an emergency. No pun intended. I had to get rid of all gcc versions 3.4.5 and greater to work with gcc in Cygwin on my desktop to speed up the emerge of KDE 3.5 such that I wouldn't finish when KDE 4.0 was released. I gave it some pretty explicit instructions AFTER emerging gcc-3.4.4-r1. emerge --unmerge gcc-3.4.5 gcc-3.4.5-r1 (the only two greater that 3.4.4 that I had installed). For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. I know some of you are going to be laughing your heads off at what can only be a gigantic error in syntaxing my command to emerge, however, I don't find it at all funny. I can't start KDE, I can't emerge gcc to fix the problem, I can't eix gcc to see what versions of gcc are still there, and other things. To me it looks like Python is totally broken. It keeps asking for libstdc++.so.6, which apparently no longer exists. I'm totally and completely devoid of all ideas to fix this problem. My best idea has been to try and distcc with my desktop a version of gcc, however, if even emerge --search won't work, I'm willing to bet that adding FEATURES=distcc to my make.conf won't do much more than make a minor footnote in the list of problems I face. I'm pretty much scared of having to either 1) reinstall Gentoo or 2) go back to Kubuntu, so help here would be beyond excellent. I'm not sure how violate an idea this is, but I think it might (some gigantic emphasis on the might part) be possible to take another generic i386/i686 copy of libstdc++.so.6 and paste it into where it's needed. I think this might fix the problem so that I can the get emerge to work enough to distcc my way into patching up my critically wounded system. Before anyone makes me confess, YES! I KILLED MY SYSTEM! However, I have to defend my pride in saying it wasn't something dumb like blindly following some rm -r command from some website. Any help here would be just great. Thanks for any help you can give in advance. Hi, I keep binaries for all major/critical packages of my system - gcc,glibc But their usage depends on processor family, USE flags for gcc etc. Will put a binary tarball of gcc-3.4.6-r1 (gcc-3.4.6-r1.tbz2)-25MB. CFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer sys-devel/gcc-3.4.6-r1 USE=boundschecking fortran gcj gtk nls objc -bootstrap -build -doc -hardened -ip28 -multislot -nocxx -nopie -nossp -vanilla Place: ftp.qrypto.org PS: to install put it in / (root dir), tar xjvf gcc-3.4.6-r1.tbz2 (ignore last massages). Then if lucky remerge any GCC you want. HTH.Rumen smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] EMERGENCY - GCC GONE!
On 5/31/06, Alan [EMAIL PROTECTED] wrote: On Wed, May 31, 2006 at 04:28:45PM -0700, Lord Sauron wrote: This is - for me - an emergency. No pun intended. I had to get rid of all gcc versions 3.4.5 and greater to work with gcc in Cygwin on my desktop to speed up the emerge of KDE 3.5 such that I wouldn't finish when KDE 4.0 was released. I gave it some pretty explicit instructions AFTER emerging gcc-3.4.4-r1. emerge --unmerge gcc-3.4.5 gcc-3.4.5-r1 (the only two greater that 3.4.4 that I had installed). For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. Couple of things first. Does 'gcc-config -l' show anything (ie: a list of compilers still installed). Secondly, you can relatively easily No, I must miserably admit that it does not list anything. restore a gcc by creating a binary package from another gentoo server (I forget the exact steps for this, basically you can dump all the files provided by an ebuild into a binary that you can install by simply untarring it in your /) or use the binary package that is on one of the install/complete CDs. Is there a manual? This wouldn't have anything to do with GRP, would it? I'm just throwing that out there as a guess since I think it was GRP that installed Gentoo without compiling, something that saved me s much time when installing. -- == GCv3.12 == GCS d-(++) s+: a? C++ UL+ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y = END GCv3.12 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On 5/31/06, Rumen Yotov [EMAIL PROTECTED] wrote: Hi, I keep binaries for all major/critical packages of my system - gcc,glibc But their usage depends on processor family, USE flags for gcc etc. Will put a binary tarball of gcc-3.4.6-r1 (gcc-3.4.6-r1.tbz2)-25MB. CFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer sys-devel/gcc-3.4.6-r1 USE=boundschecking fortran gcj gtk nls objc -bootstrap -build -doc -hardened -ip28 -multislot -nocxx -nopie -nossp -vanilla Place: ftp.qrypto.org PS: to install put it in / (root dir), tar xjvf gcc-3.4.6-r1.tbz2 (ignore last massages). Then if lucky remerge any GCC you want. HTH.Rumen So I'm just going to untar it to / by tar xjvf gcc-3.4.5-r1.tbz2? That's significantly less painful than I was expecting this to be. I'm working on that now. I'm downloading it, and then I'll be putting it to a USB drive to then migrate to the afflicted machine (I'm not pro enough to know how to download something without the crux of a GUI - sorry, it's the horrible truth.) Thanks a million for the help. I was really making some great progress as far as learning more and more about Gentoo and linux in general, and it'd be a shame to waste time on reinstalling because I was a dork and did something stupid like killing gcc. I should be able to say whether your steps worked within an hour or so. Thanks again. -- == GCv3.12 == GCS d-(++) s+: a? C++ UL+ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y = END GCv3.12 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Wed, May 31, 2006 at 10:23:48PM -0700, Lord Sauron wrote: So I'm just going to untar it to / by tar xjvf gcc-3.4.5-r1.tbz2? No. [EMAIL PROTECTED] # cp gcc-3.4.5-r1.tbz2 /usr/portage/packages [EMAIL PROTECTED] # emerge -k =gcc-3.4.5-r1 And make sure PKGDIR is set to /usr/portage/packages in your /etc/make.conf. Justin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On 5/31/06, Justin R Findlay [EMAIL PROTECTED] wrote: On Wed, May 31, 2006 at 10:23:48PM -0700, Lord Sauron wrote: So I'm just going to untar it to / by tar xjvf gcc-3.4.5-r1.tbz2? No. [EMAIL PROTECTED] # cp gcc-3.4.5-r1.tbz2 /usr/portage/packages [EMAIL PROTECTED] # emerge -k =gcc-3.4.5-r1 Oh. Not /usr/portage/distfiles or whatever? Oh, yeah, distfiles is for the sources, right... My download is still at 4%, so this could take a while ; ) Not anywhere near as long as compiling without a compiler though. And make sure PKGDIR is set to /usr/portage/packages in your /etc/make.conf. I'll check that out. -- == GCv3.12 == GCS d-(++) s+: a? C++ UL+ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y = END GCv3.12 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On 5/31/06, Lord Sauron [EMAIL PROTECTED] wrote: On 5/31/06, Justin R Findlay [EMAIL PROTECTED] wrote: On Wed, May 31, 2006 at 10:23:48PM -0700, Lord Sauron wrote: So I'm just going to untar it to / by tar xjvf gcc-3.4.5-r1.tbz2? No. [EMAIL PROTECTED] # cp gcc-3.4.5-r1.tbz2 /usr/portage/packages [EMAIL PROTECTED] # emerge -k =gcc-3.4.5-r1 Oh. Not /usr/portage/distfiles or whatever? Oh, yeah, distfiles is for the sources, right... My download is still at 4%, so this could take a while ; ) Not anywhere near as long as compiling without a compiler though. And make sure PKGDIR is set to /usr/portage/packages in your /etc/make.conf. I'll check that out. A little bit more help here is needed. You know you're in trouble when man make.conf gives an error code. -- == GCv3.12 == GCS d-(++) s+: a? C++ UL+ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y = END GCv3.12 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On 5/31/06, Justin R Findlay [EMAIL PROTECTED] wrote: On Wed, May 31, 2006 at 10:23:48PM -0700, Lord Sauron wrote: So I'm just going to untar it to / by tar xjvf gcc-3.4.5-r1.tbz2? No. No: cd / tar -xjvf path/gcc-3.4.5-r1.tbz2 Justin, remember the original problem...no libstdc++.so.6, so all C++ dependant packages are broken, and this includes python and thus portage. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Wed, May 31, 2006 at 10:40:13PM -0700, Richard Fish wrote: Justin, remember the original problem...no libstdc++.so.6, so all C++ dependant packages are broken, and this includes python and thus portage. OK. I guess I should read the whole thread before spouting off directions. (-: Justin -- gentoo-user@gentoo.org mailing list