Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev and busybox fail on new install (i686-pc-linux-gnu-gcc)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Vorlon
Apprentice
Apprentice


Joined: 16 May 2003
Posts: 246
Location: West Grove, PA

PostPosted: Thu Jan 10, 2008 1:31 am    Post subject: udev and busybox fail on new install (i686-pc-linux-gnu-gcc) Reply with quote

I'm doing a clean install on a P4 system, and failing to emerge updates for udev and busybox. I'm gettng similar errors which indicate the system is not finding gcc. Here is the error for busybox:

>>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.8.2/work/busybox-1.8.2 ...
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
/var/tmp/portage/sys-apps/busybox-1.8.2/work/busybox-1.8.2/scripts/gcc-version.sh: line 11: i686-pc-linux-gnu-gcc: command not found
HOSTCC applets/usage
GEN include/usage_compressed.h
CC applets/applets.o
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make[1]: *** [applets/applets.o] Error 127
make: *** [applets] Error 2


I've run emerge -e world, and these are the only 2 errors.

i686-pc-linux-gnu-gcc is sitting peacefully in /usr/bin.

Any ideas why it's not finding this program?
_________________
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
Back to top
View user's profile Send private message
guruvan
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2007
Posts: 132

PostPosted: Thu Jan 10, 2008 9:10 am    Post subject: Reply with quote

the build environment got hosed somehow? look in /var/tmp/portage/sys-apps/busybox-1.8.2/temp/environment

just built a few the other day, and did emerge -e and it rebuilt busybox just fine.
_________________
Everything is broken......(b.dylan). 8)

guruvan
Back to top
View user's profile Send private message
Vorlon
Apprentice
Apprentice


Joined: 16 May 2003
Posts: 246
Location: West Grove, PA

PostPosted: Thu Jan 10, 2008 11:05 pm    Post subject: udev and busybox fail on new install [Solved] Reply with quote

Well, I'm not sure why I have 3 versions of gcc on my system, but gcc-config -l showed:

[1] i486-pc-linux-gnu-4.1.1
[2] i686-pc-linux-gnu-3.3.6
[3] i686-pc-linux-gnu-4.2.2

gcc-config -c showed none were set as the default.


I set the default to i686-pc-linux-gnu-4.2.2 and everything works fine now.
_________________
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
Back to top
View user's profile Send private message
guruvan
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2007
Posts: 132

PostPosted: Thu Jan 10, 2008 11:43 pm    Post subject: Reply with quote

That looks like a correct set. save one version back, and the old 3.3.6 keeps getting pulled in, i think by the old libstdc(++?). I don't recall ever seeing it be used. I'd have to dig through the logs, but I seem to recall that may have been the one thing I couldn't get to build. skipped and moved on without another hiccup. and at the moment my latest builds are running rock solid (software operating correctly) whether or not the situation is stable in the kernels.....only thing that ever really crashes on my machines is firefox. it crashes no matter how I build it, on every piece of hardware/distribution I have.

cheers!
_________________
Everything is broken......(b.dylan). 8)

guruvan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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