* Re: [gentoo-user] unable to emerge anything...
@ 2008-01-05 19:53 Richard Torres
2008-01-06 7:50 ` Alan McKinnon
0 siblings, 1 reply; 9+ messages in thread
From: Richard Torres @ 2008-01-05 19:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
Alan,
Thanks for that. It's funny you should mention python, I just inadvertently unmerged it (doh...). I've got another gentoo box running a newer version of gcc and a newer kernel. Do you think I can get what I need out of it?
Thanks for your help,
-Richard
----- Original Message ----
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Sent: Saturday, January 5, 2008 2:25:52 AM
Subject: Re: [gentoo-user] unable to emerge anything...
On Saturday 05 January 2008, Richard Torres wrote:
> I'm getting pretty much the same error (C compiler cannot create
> executables). I'm pretty sure it's because gcc-3.3.4 is installed.
> I've tried upgrading gcc by emerging but get the same error (catch-22
> situation). Here's the last part of the error log which is the same
> with anything I try to emerge.
A quickpkg of gcc might help you out of this, it's about 7M or so so
small enough to mail to you. Perhaps some kind soul here with similar
settings to you can send their tbz2 of gcc-3.3.6.x
Alternatively, you might be able to unpack a working gcc tarball from a
stage 3 onto your system and use that
It doesn't help you right now, but I've managed to screw up enough
gentoo systems enough times that I now keep quickpkg copies of known
good working critical packages in $PKGDIR - minimally gcc, glibc,
python, portage, tar and a shell
alan
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@gentoo.org mailing list
[-- Attachment #2: Type: text/html, Size: 2038 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] unable to emerge anything... 2008-01-05 19:53 [gentoo-user] unable to emerge anything Richard Torres @ 2008-01-06 7:50 ` Alan McKinnon 2008-01-09 17:13 ` Richard Torres 0 siblings, 1 reply; 9+ messages in thread From: Alan McKinnon @ 2008-01-06 7:50 UTC (permalink / raw To: gentoo-user On Saturday 05 January 2008, Richard Torres wrote: > Alan, > Thanks for that. It's funny you should mention python, I just > inadvertently unmerged it (doh...). I've got another gentoo box > running a newer version of gcc and a newer kernel. Do you think I can > get what I need out of it? Yes, you should be able to use that. Python is SLOTted, so even if your other box is using a different SLOT, you can emerge the version you need, quickpkg it, copy it over to the first machine and unpack it there. quickpkg's are just tarballs so you can even use good old tar and bunzip2 if you managed to go to the next step of dohness and unmerge portage as well :-) btw, how did you manage to unmerge python? That's in system and portage usually goes to great lengths to prevent you doing just that alan > > Thanks for your help, > -Richard > > ----- Original Message ---- > From: Alan McKinnon <alan.mckinnon@gmail.com> > To: gentoo-user@lists.gentoo.org > Sent: Saturday, January 5, 2008 2:25:52 AM > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > I'm getting pretty much the same error (C compiler cannot create > > executables). I'm pretty sure it's because gcc-3.3.4 is installed. > > I've tried upgrading gcc by emerging but get the same error > > (catch-22 situation). Here's the last part of the error log which > > is the same with anything I try to emerge. > > A quickpkg of gcc might help you out of this, it's about 7M or so so > small enough to mail to you. Perhaps some kind soul here with similar > settings to you can send their tbz2 of gcc-3.3.6.x > > Alternatively, you might be able to unpack a working gcc tarball from > a > > stage 3 onto your system and use that > > It doesn't help you right now, but I've managed to screw up enough > gentoo systems enough times that I now keep quickpkg copies of known > good working critical packages in $PKGDIR - minimally gcc, glibc, > python, portage, tar and a shell > > alan > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [gentoo-user] unable to emerge anything... 2008-01-06 7:50 ` Alan McKinnon @ 2008-01-09 17:13 ` Richard Torres 2008-01-09 18:22 ` James Ausmus 2008-01-09 20:07 ` Alan McKinnon 0 siblings, 2 replies; 9+ messages in thread From: Richard Torres @ 2008-01-09 17:13 UTC (permalink / raw To: gentoo-user It's all a blur. It was trying to re-emerge something related to gcc and python was blocking it so I unmerged it. I've got python back using quickpkg like you suggested. Now I'm working on getting gcc to work. I did a quickpkg on gcc but emerge still fails with a 'C compiler cannot create executables' error. I'm pretty sure I'm using a working version. gcc-config -l [1] i686-pc-linux-gnu-3.3.4 [2] i686-pc-linux-gnu-3.4.4 * [3] i686-pc-linux-gnu-3.4.4-hardened [4] i686-pc-linux-gnu-3.4.4-hardenednopie [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp [6] i686-pc-linux-gnu-3.4.4-hardenednossp Thanks-a-bunch -----Original Message----- From: Alan McKinnon [mailto:alan.mckinnon@gmail.com] Sent: Sunday, January 06, 2008 1:51 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] unable to emerge anything... On Saturday 05 January 2008, Richard Torres wrote: > Alan, > Thanks for that. It's funny you should mention python, I just > inadvertently unmerged it (doh...). I've got another gentoo box > running a newer version of gcc and a newer kernel. Do you think I can > get what I need out of it? Yes, you should be able to use that. Python is SLOTted, so even if your other box is using a different SLOT, you can emerge the version you need, quickpkg it, copy it over to the first machine and unpack it there. quickpkg's are just tarballs so you can even use good old tar and bunzip2 if you managed to go to the next step of dohness and unmerge portage as well :-) btw, how did you manage to unmerge python? That's in system and portage usually goes to great lengths to prevent you doing just that alan > > Thanks for your help, > -Richard > > ----- Original Message ---- > From: Alan McKinnon <alan.mckinnon@gmail.com> > To: gentoo-user@lists.gentoo.org > Sent: Saturday, January 5, 2008 2:25:52 AM > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > I'm getting pretty much the same error (C compiler cannot create > > executables). I'm pretty sure it's because gcc-3.3.4 is installed. > > I've tried upgrading gcc by emerging but get the same error > > (catch-22 situation). Here's the last part of the error log which > > is the same with anything I try to emerge. > > A quickpkg of gcc might help you out of this, it's about 7M or so so > small enough to mail to you. Perhaps some kind soul here with similar > settings to you can send their tbz2 of gcc-3.3.6.x > > Alternatively, you might be able to unpack a working gcc tarball from > a > > stage 3 onto your system and use that > > It doesn't help you right now, but I've managed to screw up enough > gentoo systems enough times that I now keep quickpkg copies of known > good working critical packages in $PKGDIR - minimally gcc, glibc, > python, portage, tar and a shell > > alan > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] unable to emerge anything... 2008-01-09 17:13 ` Richard Torres @ 2008-01-09 18:22 ` James Ausmus 2008-01-10 7:36 ` Richard Torres 2008-01-09 20:07 ` Alan McKinnon 1 sibling, 1 reply; 9+ messages in thread From: James Ausmus @ 2008-01-09 18:22 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 4093 bytes --] On Jan 9, 2008 9:13 AM, Richard Torres <rtorres827@yahoo.com> wrote: > It's all a blur. It was trying to re-emerge something related to gcc and > python was blocking it so I unmerged it. > I've got python back using quickpkg like you suggested. Now I'm working on > getting gcc to work. I did a quickpkg on gcc but emerge still fails with a > 'C compiler cannot create executables' error. > I'm pretty sure I'm using a working version. It may not be the C compiler at all. To check this copy the following code into a file called test.c: #include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; } And then run the following commands: gcc test.c -o test ./test If you see a Hello World! output, then your C compiler is working fine. If this is the case, then you need to do as the original error message specifies - check the config.log file. It should be located at /var/tmp/portage/dev-lang/php-5.2.5-r1/work/php-5.2.5/config.log config.log files can be a little confusing to read through if you're not used to them, but you'll just want to start at the bottom and work your way up, until you find any error messages - or, you can post your config.logfile, and someone can help you out with it. HTH- James > > > gcc-config -l > [1] i686-pc-linux-gnu-3.3.4 > [2] i686-pc-linux-gnu-3.4.4 * > [3] i686-pc-linux-gnu-3.4.4-hardened > [4] i686-pc-linux-gnu-3.4.4-hardenednopie > [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp > [6] i686-pc-linux-gnu-3.4.4-hardenednossp > > Thanks-a-bunch > > -----Original Message----- > From: Alan McKinnon [mailto:alan.mckinnon@gmail.com] > Sent: Sunday, January 06, 2008 1:51 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > Alan, > > Thanks for that. It's funny you should mention python, I just > > inadvertently unmerged it (doh...). I've got another gentoo box > > running a newer version of gcc and a newer kernel. Do you think I can > > get what I need out of it? > > Yes, you should be able to use that. Python is SLOTted, so even if your > other box is using a different SLOT, you can emerge the version you > need, quickpkg it, copy it over to the first machine and unpack it > there. > > quickpkg's are just tarballs so you can even use good old tar and > bunzip2 if you managed to go to the next step of dohness and unmerge > portage as well :-) > > btw, how did you manage to unmerge python? That's in system and portage > usually goes to great lengths to prevent you doing just that > > alan > > > > > > Thanks for your help, > > -Richard > > > > ----- Original Message ---- > > From: Alan McKinnon <alan.mckinnon@gmail.com> > > To: gentoo-user@lists.gentoo.org > > Sent: Saturday, January 5, 2008 2:25:52 AM > > Subject: Re: [gentoo-user] unable to emerge anything... > > > > On Saturday 05 January 2008, Richard Torres wrote: > > > I'm getting pretty much the same error (C compiler cannot create > > > executables). I'm pretty sure it's because gcc-3.3.4 is installed. > > > I've tried upgrading gcc by emerging but get the same error > > > (catch-22 situation). Here's the last part of the error log which > > > is the same with anything I try to emerge. > > > > A quickpkg of gcc might help you out of this, it's about 7M or so so > > small enough to mail to you. Perhaps some kind soul here with similar > > settings to you can send their tbz2 of gcc-3.3.6.x > > > > Alternatively, you might be able to unpack a working gcc tarball from > > a > > > > stage 3 onto your system and use that > > > > It doesn't help you right now, but I've managed to screw up enough > > gentoo systems enough times that I now keep quickpkg copies of known > > good working critical packages in $PKGDIR - minimally gcc, glibc, > > python, portage, tar and a shell > > > > alan > > > > -- > > Alan McKinnon > > alan dot mckinnon at gmail dot com > > > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com > -- > gentoo-user@lists.gentoo.org mailing list > > -- > gentoo-user@lists.gentoo.org mailing list > > [-- Attachment #2: Type: text/html, Size: 5376 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [gentoo-user] unable to emerge anything... 2008-01-09 18:22 ` James Ausmus @ 2008-01-10 7:36 ` Richard Torres 2008-01-10 8:05 ` Gerald Lutter 0 siblings, 1 reply; 9+ messages in thread From: Richard Torres @ 2008-01-10 7:36 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 4559 bytes --] Thanks for the input. I tried it on both of my Gentoo boxes. One worked and the problematic one gave me the following output; # gcc test.c -o test gcc: installation problem, cannot exec `as': No such file or directory I'm going to try quickpkg again but this time from the working box. The first pkg came from an older livecd. If you think of anything please let me know. Thanks again. -Richard _____ From: James Ausmus [mailto:james.ausmus@gmail.com] Sent: Wednesday, January 09, 2008 12:22 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] unable to emerge anything... On Jan 9, 2008 9:13 AM, Richard Torres <rtorres827@yahoo.com> wrote: It's all a blur. It was trying to re-emerge something related to gcc and python was blocking it so I unmerged it. I've got python back using quickpkg like you suggested. Now I'm working on getting gcc to work. I did a quickpkg on gcc but emerge still fails with a 'C compiler cannot create executables' error. I'm pretty sure I'm using a working version. It may not be the C compiler at all. To check this copy the following code into a file called test.c: #include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; } And then run the following commands: gcc test.c -o test ./test If you see a Hello World! output, then your C compiler is working fine. If this is the case, then you need to do as the original error message specifies - check the config.log file. It should be located at /var/tmp/portage/dev-lang/php- 5.2.5-r1/work/php-5.2.5/config.log config.log files can be a little confusing to read through if you're not used to them, but you'll just want to start at the bottom and work your way up, until you find any error messages - or, you can post your config.log file, and someone can help you out with it. HTH- James gcc-config -l [1] i686-pc-linux-gnu-3.3.4 [2] i686-pc-linux-gnu-3.4.4 * [3] i686-pc-linux-gnu-3.4.4-hardened [4] i686-pc-linux-gnu-3.4.4-hardenednopie [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp [6] i686-pc-linux-gnu-3.4.4-hardenednossp Thanks-a-bunch -----Original Message----- From: Alan McKinnon [mailto:alan.mckinnon@gmail.com ] Sent: Sunday, January 06, 2008 1:51 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] unable to emerge anything... On Saturday 05 January 2008, Richard Torres wrote: > Alan, > Thanks for that. It's funny you should mention python, I just > inadvertently unmerged it (doh...). I've got another gentoo box > running a newer version of gcc and a newer kernel. Do you think I can > get what I need out of it? Yes, you should be able to use that. Python is SLOTted, so even if your other box is using a different SLOT, you can emerge the version you need, quickpkg it, copy it over to the first machine and unpack it there. quickpkg's are just tarballs so you can even use good old tar and bunzip2 if you managed to go to the next step of dohness and unmerge portage as well :-) btw, how did you manage to unmerge python? That's in system and portage usually goes to great lengths to prevent you doing just that alan > > Thanks for your help, > -Richard > > ----- Original Message ---- > From: Alan McKinnon <alan.mckinnon@gmail.com> > To: gentoo-user@lists.gentoo.org > Sent: Saturday, January 5, 2008 2:25:52 AM > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > I'm getting pretty much the same error (C compiler cannot create > > executables). I'm pretty sure it's because gcc-3.3.4 is installed. > > I've tried upgrading gcc by emerging but get the same error > > (catch-22 situation). Here's the last part of the error log which > > is the same with anything I try to emerge. > > A quickpkg of gcc might help you out of this, it's about 7M or so so > small enough to mail to you. Perhaps some kind soul here with similar > settings to you can send their tbz2 of gcc-3.3.6.x > > Alternatively, you might be able to unpack a working gcc tarball from > a > > stage 3 onto your system and use that > > It doesn't help you right now, but I've managed to screw up enough > gentoo systems enough times that I now keep quickpkg copies of known > good working critical packages in $PKGDIR - minimally gcc, glibc, > python, portage, tar and a shell > > alan > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list [-- Attachment #2: Type: text/html, Size: 11168 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] unable to emerge anything... 2008-01-10 7:36 ` Richard Torres @ 2008-01-10 8:05 ` Gerald Lutter 0 siblings, 0 replies; 9+ messages in thread From: Gerald Lutter @ 2008-01-10 8:05 UTC (permalink / raw To: gentoo-user Hello Richard, Am Donnerstag, 10. Januar 2008 schrieb Richard Torres: > Thanks for the input. > > I tried it on both of my Gentoo boxes. One worked and the problematic one > gave me the following output; > > # gcc test.c -o test > > gcc: installation problem, cannot exec `as': No such file or directory this is because your binutils don't work. If your second machine has the same architecture try to quickpkg your binutils on this machine and install it on your problem box. Gerald > > > I'm going to try quickpkg again but this time from the working box. The > first pkg came from an older livecd. > > > > If you think of anything please let me know. Thanks again. > > > > -Richard > > > > _____ > > From: James Ausmus [mailto:james.ausmus@gmail.com] > Sent: Wednesday, January 09, 2008 12:22 PM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] unable to emerge anything... > > > > > > On Jan 9, 2008 9:13 AM, Richard Torres <rtorres827@yahoo.com> wrote: > > It's all a blur. It was trying to re-emerge something related to gcc and > python was blocking it so I unmerged it. > I've got python back using quickpkg like you suggested. Now I'm working on > getting gcc to work. I did a quickpkg on gcc but emerge still fails with a > 'C compiler cannot create executables' error. > I'm pretty sure I'm using a working version. > > > It may not be the C compiler at all. To check this copy the following code > into a file called test.c: > > > > #include <stdio.h> > > int main(void) > { > printf("Hello World!\n"); > return 0; > } > > > And then run the following commands: > > gcc test.c -o test > ./test > > If you see a Hello World! output, then your C compiler is working fine. If > this is the case, then you need to do as the original error message > specifies - check the config.log file. It should be located at > /var/tmp/portage/dev-lang/php- 5.2.5-r1/work/php-5.2.5/config.log > > config.log files can be a little confusing to read through if you're not > used to them, but you'll just want to start at the bottom and work your way > up, until you find any error messages - or, you can post your config.log > file, and someone can help you out with it. > > HTH- > > James > > > > > > > > > > gcc-config -l > [1] i686-pc-linux-gnu-3.3.4 > > [2] i686-pc-linux-gnu-3.4.4 * > [3] i686-pc-linux-gnu-3.4.4-hardened > [4] i686-pc-linux-gnu-3.4.4-hardenednopie > [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp > [6] i686-pc-linux-gnu-3.4.4-hardenednossp > > Thanks-a-bunch > > > -----Original Message----- > From: Alan McKinnon [mailto:alan.mckinnon@gmail.com ] > Sent: Sunday, January 06, 2008 1:51 AM > To: gentoo-user@lists.gentoo.org > > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > Alan, > > Thanks for that. It's funny you should mention python, I just > > inadvertently unmerged it (doh...). I've got another gentoo box > > running a newer version of gcc and a newer kernel. Do you think I can > > get what I need out of it? > > Yes, you should be able to use that. Python is SLOTted, so even if your > other box is using a different SLOT, you can emerge the version you > need, quickpkg it, copy it over to the first machine and unpack it > there. > > quickpkg's are just tarballs so you can even use good old tar and > bunzip2 if you managed to go to the next step of dohness and unmerge > portage as well :-) > > btw, how did you manage to unmerge python? That's in system and portage > usually goes to great lengths to prevent you doing just that > > alan > > > Thanks for your help, > > -Richard > > > > ----- Original Message ---- > > From: Alan McKinnon <alan.mckinnon@gmail.com> > > To: gentoo-user@lists.gentoo.org > > Sent: Saturday, January 5, 2008 2:25:52 AM > > Subject: Re: [gentoo-user] unable to emerge anything... > > > > On Saturday 05 January 2008, Richard Torres wrote: > > > I'm getting pretty much the same error (C compiler cannot create > > > executables). I'm pretty sure it's because gcc-3.3.4 is installed. > > > I've tried upgrading gcc by emerging but get the same error > > > (catch-22 situation). Here's the last part of the error log which > > > is the same with anything I try to emerge. > > > > A quickpkg of gcc might help you out of this, it's about 7M or so so > > small enough to mail to you. Perhaps some kind soul here with similar > > settings to you can send their tbz2 of gcc-3.3.6.x > > > > Alternatively, you might be able to unpack a working gcc tarball from > > a > > > > stage 3 onto your system and use that > > > > It doesn't help you right now, but I've managed to screw up enough > > gentoo systems enough times that I now keep quickpkg copies of known > > good working critical packages in $PKGDIR - minimally gcc, glibc, > > python, portage, tar and a shell > > > > alan > > > > -- > > Alan McKinnon > > alan dot mckinnon at gmail dot com > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com > -- > gentoo-user@lists.gentoo.org mailing list > > -- > gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] unable to emerge anything... 2008-01-09 17:13 ` Richard Torres 2008-01-09 18:22 ` James Ausmus @ 2008-01-09 20:07 ` Alan McKinnon 2008-01-10 7:40 ` Richard Torres 1 sibling, 1 reply; 9+ messages in thread From: Alan McKinnon @ 2008-01-09 20:07 UTC (permalink / raw To: gentoo-user On Wednesday 09 January 2008, Richard Torres wrote: > It's all a blur. It was trying to re-emerge something related to gcc > and python was blocking it so I unmerged it. > I've got python back using quickpkg like you suggested. Now I'm > working on getting gcc to work. I did a quickpkg on gcc but emerge > still fails with a 'C compiler cannot create executables' error. > I'm pretty sure I'm using a working version. > > gcc-config -l > [1] i686-pc-linux-gnu-3.3.4 > [2] i686-pc-linux-gnu-3.4.4 * > [3] i686-pc-linux-gnu-3.4.4-hardened > [4] i686-pc-linux-gnu-3.4.4-hardenednopie > [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp > [6] i686-pc-linux-gnu-3.4.4-hardenednossp > > Thanks-a-bunch Pleasw don't top post, especially not on a thread discussing technical fixes. Thanks. This seems to be a relatively common problem - I had it once myself recently but forget the fix. Google turned up these interesting links: http://forums.gentoo.org/viewtopic.php?t=27719 http://www.geektimes.com/linux/troubleshooting/c-cant-create-executables.html http://www.linuxquestions.org/questions/linux-newbie-8/c-compiler-cannot-create-executables-222588/ http://ubuntuforums.org/showthread.php?t=17033 http://www.brandonhutchinson.com/c_compiler_cannot_create_executables.html http://forums.gentoo.org/viewtopic.php?t=27486 http://www.linuxforums.org/forum/linux-applications/25592-solved-compiler-can-not-create-executables.html I would guess that you also unmerged some other important package like linux-headers, g++ or some such in the frenzy. alan > > -----Original Message----- > From: Alan McKinnon [mailto:alan.mckinnon@gmail.com] > Sent: Sunday, January 06, 2008 1:51 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > Alan, > > Thanks for that. It's funny you should mention python, I just > > inadvertently unmerged it (doh...). I've got another gentoo box > > running a newer version of gcc and a newer kernel. Do you think I > > can get what I need out of it? > > Yes, you should be able to use that. Python is SLOTted, so even if > your other box is using a different SLOT, you can emerge the version > you need, quickpkg it, copy it over to the first machine and unpack > it there. > > quickpkg's are just tarballs so you can even use good old tar and > bunzip2 if you managed to go to the next step of dohness and unmerge > portage as well :-) > > btw, how did you manage to unmerge python? That's in system and > portage usually goes to great lengths to prevent you doing just that > > alan > > > Thanks for your help, > > -Richard > > > > ----- Original Message ---- > > From: Alan McKinnon <alan.mckinnon@gmail.com> > > To: gentoo-user@lists.gentoo.org > > Sent: Saturday, January 5, 2008 2:25:52 AM > > Subject: Re: [gentoo-user] unable to emerge anything... > > > > On Saturday 05 January 2008, Richard Torres wrote: > > > I'm getting pretty much the same error (C compiler cannot create > > > executables). I'm pretty sure it's because gcc-3.3.4 is > > > installed. I've tried upgrading gcc by emerging but get the same > > > error (catch-22 situation). Here's the last part of the error log > > > which is the same with anything I try to emerge. > > > > A quickpkg of gcc might help you out of this, it's about 7M or so > > so small enough to mail to you. Perhaps some kind soul here with > > similar settings to you can send their tbz2 of gcc-3.3.6.x > > > > Alternatively, you might be able to unpack a working gcc tarball > > from a > > > > stage 3 onto your system and use that > > > > It doesn't help you right now, but I've managed to screw up enough > > gentoo systems enough times that I now keep quickpkg copies of > > known good working critical packages in $PKGDIR - minimally gcc, > > glibc, python, portage, tar and a shell > > > > alan > > > > -- > > Alan McKinnon > > alan dot mckinnon at gmail dot com > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com > -- > gentoo-user@lists.gentoo.org mailing list -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [gentoo-user] unable to emerge anything... 2008-01-09 20:07 ` Alan McKinnon @ 2008-01-10 7:40 ` Richard Torres 2008-01-10 8:07 ` [gentoo-user] " reader 0 siblings, 1 reply; 9+ messages in thread From: Richard Torres @ 2008-01-10 7:40 UTC (permalink / raw To: gentoo-user Alan, I'll check the links out. As for as unmerging anything else no. Not yet anyway, give me time though. -----Original Message----- From: Alan McKinnon [mailto:alan.mckinnon@gmail.com] Sent: Wednesday, January 09, 2008 2:08 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] unable to emerge anything... On Wednesday 09 January 2008, Richard Torres wrote: > It's all a blur. It was trying to re-emerge something related to gcc > and python was blocking it so I unmerged it. > I've got python back using quickpkg like you suggested. Now I'm > working on getting gcc to work. I did a quickpkg on gcc but emerge > still fails with a 'C compiler cannot create executables' error. > I'm pretty sure I'm using a working version. > > gcc-config -l > [1] i686-pc-linux-gnu-3.3.4 > [2] i686-pc-linux-gnu-3.4.4 * > [3] i686-pc-linux-gnu-3.4.4-hardened > [4] i686-pc-linux-gnu-3.4.4-hardenednopie > [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp > [6] i686-pc-linux-gnu-3.4.4-hardenednossp > > Thanks-a-bunch Pleasw don't top post, especially not on a thread discussing technical fixes. Thanks. This seems to be a relatively common problem - I had it once myself recently but forget the fix. Google turned up these interesting links: http://forums.gentoo.org/viewtopic.php?t=27719 http://www.geektimes.com/linux/troubleshooting/c-cant-create-executables.htm l http://www.linuxquestions.org/questions/linux-newbie-8/c-compiler-cannot-cre ate-executables-222588/ http://ubuntuforums.org/showthread.php?t=17033 http://www.brandonhutchinson.com/c_compiler_cannot_create_executables.html http://forums.gentoo.org/viewtopic.php?t=27486 http://www.linuxforums.org/forum/linux-applications/25592-solved-compiler-ca n-not-create-executables.html I would guess that you also unmerged some other important package like linux-headers, g++ or some such in the frenzy. alan > > -----Original Message----- > From: Alan McKinnon [mailto:alan.mckinnon@gmail.com] > Sent: Sunday, January 06, 2008 1:51 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > Alan, > > Thanks for that. It's funny you should mention python, I just > > inadvertently unmerged it (doh...). I've got another gentoo box > > running a newer version of gcc and a newer kernel. Do you think I > > can get what I need out of it? > > Yes, you should be able to use that. Python is SLOTted, so even if > your other box is using a different SLOT, you can emerge the version > you need, quickpkg it, copy it over to the first machine and unpack > it there. > > quickpkg's are just tarballs so you can even use good old tar and > bunzip2 if you managed to go to the next step of dohness and unmerge > portage as well :-) > > btw, how did you manage to unmerge python? That's in system and > portage usually goes to great lengths to prevent you doing just that > > alan > > > Thanks for your help, > > -Richard > > > > ----- Original Message ---- > > From: Alan McKinnon <alan.mckinnon@gmail.com> > > To: gentoo-user@lists.gentoo.org > > Sent: Saturday, January 5, 2008 2:25:52 AM > > Subject: Re: [gentoo-user] unable to emerge anything... > > > > On Saturday 05 January 2008, Richard Torres wrote: > > > I'm getting pretty much the same error (C compiler cannot create > > > executables). I'm pretty sure it's because gcc-3.3.4 is > > > installed. I've tried upgrading gcc by emerging but get the same > > > error (catch-22 situation). Here's the last part of the error log > > > which is the same with anything I try to emerge. > > > > A quickpkg of gcc might help you out of this, it's about 7M or so > > so small enough to mail to you. Perhaps some kind soul here with > > similar settings to you can send their tbz2 of gcc-3.3.6.x > > > > Alternatively, you might be able to unpack a working gcc tarball > > from a > > > > stage 3 onto your system and use that > > > > It doesn't help you right now, but I've managed to screw up enough > > gentoo systems enough times that I now keep quickpkg copies of > > known good working critical packages in $PKGDIR - minimally gcc, > > glibc, python, portage, tar and a shell > > > > alan > > > > -- > > Alan McKinnon > > alan dot mckinnon at gmail dot com > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com > -- > gentoo-user@lists.gentoo.org mailing list -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: unable to emerge anything... 2008-01-10 7:40 ` Richard Torres @ 2008-01-10 8:07 ` reader 0 siblings, 0 replies; 9+ messages in thread From: reader @ 2008-01-10 8:07 UTC (permalink / raw To: gentoo-user > Alan, > I'll check the links out. As for as unmerging anything else no. Not yet > anyway, give me time though. Richard, I recently had that same problem and I notice you are also using the hardened profile. I don't remember exactly what I did but it involved re-compiling gcc and making sure the `harened' use flag was cancelled (USE='-hardened') I think I did something like boot from the minimal install iso and use the compiler on it to chroot and compile a gcc without the hardened flag. I don't remember now for sure... how I did it, but I am pretty sure your gcc needs to be recompiled without the `hardened' flag. -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-01-10 8:09 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-01-05 19:53 [gentoo-user] unable to emerge anything Richard Torres 2008-01-06 7:50 ` Alan McKinnon 2008-01-09 17:13 ` Richard Torres 2008-01-09 18:22 ` James Ausmus 2008-01-10 7:36 ` Richard Torres 2008-01-10 8:05 ` Gerald Lutter 2008-01-09 20:07 ` Alan McKinnon 2008-01-10 7:40 ` Richard Torres 2008-01-10 8:07 ` [gentoo-user] " reader
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox