| View previous topic :: View next topic |
| Author |
Message |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Sat Jun 09, 2012 9:36 pm Post subject: [SOLVED] broken development toolchain |
|
|
During my attempt to clean up a broken KDE I have unintentionally removed some important tools needed to install programs. I must have missed something during a emerge --depclean. Object files can not be linked anymore. Is there a way to fix this without installing the whole box again?
Last edited by AgBr on Sat Jun 09, 2012 10:55 pm; edited 1 time in total |
|
| Back to top |
|
 |
purak Apprentice


Joined: 21 Jun 2008 Posts: 158 Location: /dev/urandom
|
|
| Back to top |
|
 |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Sat Jun 09, 2012 9:55 pm Post subject: |
|
|
Exactly that's what is not working anymore |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3980 Location: Saint Amant, Acadiana
|
|
| Back to top |
|
 |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Sat Jun 09, 2012 10:18 pm Post subject: |
|
|
Unfortunately this is too brief a hint for my level of knowledge. gcc-config -l shows that my active gcc profile (i686-pc-linux-gnu-4.5.3) is invalid. |
|
| Back to top |
|
 |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Sat Jun 09, 2012 10:55 pm Post subject: |
|
|
| AgBr wrote: |
Unfortunately this is too brief a hint for my level of knowledge. gcc-config -l shows that my active gcc profile (i686-pc-linux-gnu-4.5.3) is invalid. |
All right, I found out meanwhile. Thank you for that hint. |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Sat Jun 09, 2012 10:56 pm Post subject: |
|
|
AgBr,
Try this - I've only done this once so I'm a little rusty, but if you can install a binary package you should get gcc back.
Make sure you change x86 to the correct architecture You can check for the package here: http://tinderbox.dev.gentoo.org/default-linux/x86/sys-devel/
| Code: | mkdir -p /usr/portage/packages/sys-devel
cd /usr/portage/packages/sys-devel
wget tinderbox.dev.gentoo.org/default-linux/x86/sys-devel/gcc-4.5.3-r2.tbz2
emerge -aK =gcc-4.5.3-r2
|
Good luck  _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Sun Jun 10, 2012 9:38 am Post subject: |
|
|
| BillWho wrote: | AgBr,
Try this - I've only done this once so I'm a little rusty, but if you can install a binary package you should get gcc back.
Make sure you change x86 to the correct architecture You can check for the package here: http://tinderbox.dev.gentoo.org/default-linux/x86/sys-devel/
| Code: | mkdir -p /usr/portage/packages/sys-devel
cd /usr/portage/packages/sys-devel
wget tinderbox.dev.gentoo.org/default-linux/x86/sys-devel/gcc-4.5.3-r2.tbz2
emerge -aK =gcc-4.5.3-r2
|
Good luck  |
I have just loaded the tarball down and unpacked it into /. I had to run gcc-config. Then revdep-rebuild went through without any complaints |
|
| Back to top |
|
 |
|