Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could not run/locate "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
MyDebian
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2006
Posts: 133

PostPosted: Sat May 20, 2006 1:33 pm    Post subject: Could not run/locate "i386-pc-linux-gnu-gcc" Reply with quote

Hello. I have a problem emerging openoffice. Here is it :
Code:

Parsing config.in...
Building Zlib enabled
Looks Good.
Up/Downgrade complete.
Checking if your kit is complete...
Looks good
Writing Makefile for Compress::Zlib
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap  Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
i386-pc-linux-gnu-gcc -c  -I./zlib-src -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe   -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" -fPIC "-I/usr/lib/perl5/5.8.7/i386-linux/CORE"   Zlib.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [Zlib.o] Error 1

!!! ERROR: dev-perl/Compress-Zlib-1.41 failed.
!!! Function perl-module_src_compile, Line 121, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


This is my emerge --info output :
Code:

Portage 2203-svn (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r5 i686)
=================================================================
System uname: 2.6.16-gentoo-r5 i686 Intel(R) Celeron(R) CPU 1.70GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.itdnet.net/gentoo/ http://gentoo.ITDNet.net/gentoo"
LINGUAS="bg"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.itdnet.net/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowextXine X aalib acc alsa apm arts audiofile avi berkdb bidi bitmap-fonts bl bzip2 cdparanoia cdr cli crypt cups curl dga directfb divx4linux doc dri dts dvb dvd dvdread edl eds emboss encode esd etc expat fam fbcon fbdev foomaticdb fortran gd gdbm ggi gif gpm gstreamer gtk gtk2 hal i8x0 idn imlib ipv6 isdnlog jack joystick jpeg kde lcms libcaca libg++ libwww lirc live livemmx lzo mad matroska matrox mikmod mmx mmxext mng motif mp3 mpeg mythtv nas ncurses network nls nvidia ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline real reflection rtc samba sdl session spell spl sse sse2 ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts udev usb v4l vorbis win32codecs xanim xinerama xml xml2 xmms xorg xv xvid zlib video_cards_radeon linguas_bg userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

How to fix it ? :?
Back to top
View user's profile Send private message
alphonce
Apprentice
Apprentice


Joined: 10 Oct 2004
Posts: 184
Location: Sweden

PostPosted: Sat May 20, 2006 3:08 pm    Post subject: Reply with quote

run
Code:
gcc-config -l

and select the wanted profile (ex. i686-pc-linux-gnu-3.4.5)
then run:
Code:
source /etc/profile
env-update

if that doesn't work, try recompiling gcc, but probably that wont work either then
http://gentoo-wiki.com/HOWTO_Recover_from_%22emerge_--unmerge_gcc%22

good luck.
_________________
no computer at the moment! :cry:
Back to top
View user's profile Send private message
runningwithscissors
Guru
Guru


Joined: 21 Apr 2006
Posts: 454
Location: the third world

PostPosted: Sat May 20, 2006 4:08 pm    Post subject: Reply with quote

If nothing works, a cheap hack is to simply create a symlink to i686-pc-linux-gnu-gcc called i386-pc-linux-gnu-gcc.

Not a very good solution, but just something if you are feeling lazy. :)
_________________
At some stage, the Hindus locked on to the nation destroying concepts like ahimsa (non-violence), shanti (peace), satya (truth) — the ‘ass’ syndrome.
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


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

PostPosted: Sat May 20, 2006 5:32 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads.
See here instead: https://forums.gentoo.org/viewtopic-t-318581.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
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