Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e system Error: Command 'i386-pc-linux-gnu-gcc'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
systemerror17
n00b
n00b


Joined: 17 Aug 2005
Posts: 1

PostPosted: Wed Aug 17, 2005 9:30 am    Post subject: emerge -e system Error: Command 'i386-pc-linux-gnu-gcc' Reply with quote

Calculating dependencies done!
>>> emerge (1 of 1) dev-python/python-fchksum-1.7.1 to /
>>> md5 files ;-) python-fchksum-1.7.1.ebuild
>>> md5 files ;-) python-fchksum-1.6.1-r1.ebuild
>>> md5 files ;-) files/digest-python-fchksum-1.7.1
>>> md5 files ;-) files/digest-python-fchksum-1.6.1-r1
>>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz
>>> Unpacking source...
>>> Unpacking python-fchksum-1.7.1.tar.gz to /var/tmp/portage/python-fchksum-1.7.1/work
>>> Source unpacked.
['setup.py', 'build']
running build
running build_ext
building 'fchksum' extension
creating build
creating build/temp.linux-i686-2.3
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=pentium2 -pipe -fomit-frame-pointer -fPIC -I/usr/include/python2.3 -c md5.c -o build/temp.linux-i686-2.3/md5.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/python-fchksum-1.7.1 failed
!!! Function src_compile, Line 20, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


My make.conf

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-* X acc mikmod sdl acl acpi alsa arts avi audiofile bmp bzip2 cd cdr encode ethereal ffmpeg flac ftp gmp gtk gif icq java javascripts jpeg kde mad mpeg msn ncurses matroska nls nptl nptlonly opengl ogg oss ogm png qt samba ssl szip tiff unicode usb videofile win32codecs xmms xpm zlib xv xvid"


Gcc-config -l

[1] i486-pc-linux-gnu-3.3.5-20050130
[2] i486-pc-linux-gnu-3.3.5-20050130-hardened
[3] i486-pc-linux-gnu-3.3.5-20050130-hardenednopie *
[4] i486-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
[5] i486-pc-linux-gnu-3.3.5-20050130-hardenednossp


i have a intel celeron "mendocino" prozessor!!

can someone help me please???
Back to top
View user's profile Send private message
Centinul
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 232

PostPosted: Wed Aug 17, 2005 10:31 am    Post subject: Reply with quote

I have the same processor on my dedicated firewall. Try changing your CHOST setting from i486-pc-linux-gnu to i686-pc-linux-gnu, per http://gentoo-wiki.com/Safe_Cflags#Celeron_.28Mendocino.29.2C_aka_Celeron1_.28Intel.29

Hope this helps!
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Wed Aug 17, 2005 12:20 pm    Post subject: Re: emerge -e system Error: Command 'i386-pc-linux-gnu-gcc Reply with quote

systemerror17 wrote:
Code:
Calculating dependencies done!
>>> emerge (1 of 1) dev-python/python-fchksum-1.7.1 to /
>>> md5 files ;-) python-fchksum-1.7.1.ebuild
>>> md5 files ;-) python-fchksum-1.6.1-r1.ebuild
>>> md5 files ;-) files/digest-python-fchksum-1.7.1
>>> md5 files ;-) files/digest-python-fchksum-1.6.1-r1
>>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz
>>> Unpacking source...
>>> Unpacking python-fchksum-1.7.1.tar.gz to /var/tmp/portage/python-fchksum-1.7.1/work
>>> Source unpacked.
['setup.py', 'build']
running build
running build_ext
building 'fchksum' extension
creating build
creating build/temp.linux-i686-2.3
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=pentium2 -pipe -fomit-frame-pointer -fPIC -I/usr/include/python2.3 -c md5.c -o build/temp.linux-i686-2.3/md5.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1

This is not a problem with gcc-config or gcc. It is a problem with the order in which python-fchksum is built during "emerge -e system".

The workaround:
Code:

# cp /var/cache/edb/mtimedb /mtimedb
# emerge --oneshot python
# mv /mtimedb /var/cache/edb/mtimedb
# emerge --resume

The mtimedb movements are needed to avoid having to do "emerge -e system" all over again. ;)
Centinul wrote:

I have the same processor on my dedicated firewall. Try changing your CHOST setting from i486-pc-linux-gnu to i686-pc-linux-gnu

If you do what Centinul said above, you will have to bootstrap and "emerge -e system" (exactly as for Stage 1 install) to avoid subtle system breakage.


Last edited by kimchi_sg on Wed Aug 17, 2005 12:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
JOS654
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2003
Posts: 101
Location: Spain - Malaga

PostPosted: Wed Aug 17, 2005 12:22 pm    Post subject: Reply with quote

same problem here my workaround was emerge everything except that packet
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Wed Aug 17, 2005 12:24 pm    Post subject: Reply with quote

JOS654 wrote:
same problem here my workaround was emerge everything except that packet

That is a very unsafe thing to do.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Aug 17, 2005 12:45 pm    Post subject: Reply with quote

Please see [Solved] Emerge Fails on python-fchksum.

Moved from Installing Gentoo to Duplicate Threads.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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