Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error in Stage 2 Install - "sys-apps/file-4.13 failed&q
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
NotExcessive
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 235

PostPosted: Thu Sep 01, 2005 4:41 pm    Post subject: Error in Stage 2 Install - "sys-apps/file-4.13 failed&q Reply with quote

During a Stage 2 install, I get the following error:

make: Leaving directory `/var/tmp/portage/file-4.13/work/file-4.13/magic'
running build
running build_ext
building 'magic' extension
creating build
creating build/temp.linux-i686-2.3
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=athlon-mp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -fPIC -I./ -I../ -I../src -I/usr/include/ -I/usr/include/python2.3 -c py_magic.c -o build/temp.linux-i686-2.3/py_magic.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: sys-apps/file-4.13 failed.
!!! Function distutils_src_compile, Line 35, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


Now I have only the i686-pc-linux-gnu entries show when I do gcc-config -l, and everything else worked up until now, so where/how do I modify this 'magic' extension to NOT invoke

"i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG ...."

but

"i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG ...."

instead, which I'm sure will cure the problem?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Thu Sep 01, 2005 4:48 pm    Post subject: Reply with quote

Duplicate.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Sep 01, 2005 5:12 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Use this thread instead: https://forums.gentoo.org/viewtopic-t-370598.html
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