Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235197 - i486-pc-linux-gnu-gcc: Command not found (i686 compiler installed)
Summary: i486-pc-linux-gnu-gcc: Command not found (i686 compiler installed)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.gentoo.org/doc/en/change-c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 13:31 UTC by Algirdas
Modified: 2008-08-19 21:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Algirdas 2008-08-19 13:31:51 UTC
I have changed gcc compiller from i484 to i686. Now I can't build some ebuilds, likes:

#================================================================
# WARNING: Install QDBM libraries before installation.
#================================================================
configure: creating ./config.status
config.status: creating Makefile
cd depot && [ -f Makefile ] || LD_LIBRARY_PATH=.:..:../..:/usr/local/lib ruby extconf.rb ; LD_LIBRARY_PATH=.:..:../..:/usr/local/lib make
checking for main() in -lc... no
checking for main() in -lpthread... no
checking for main() in -lz... no
checking for main() in -lbz2... no
checking for main() in -llzo2... no
checking for main() in -liconv... no
checking for main() in -lqdbm... no
creating Makefile
make[1]: Entering directory `/var/tmp/portage/dev-db/qdbm-1.8.77/work/qdbm-1.8.77/ruby/depot'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
i486-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I.  -fPIC -I. -I../.. -I/var/tmp/portage/dev-db/qdbm-1.8.77/homedir/include -I/usr/local/include  -c mod_depot.c
make[1]: i486-pc-linux-gnu-gcc: Command not found
make[1]: *** [mod_depot.o] Error 127
make[1]: Leaving directory `/var/tmp/portage/dev-db/qdbm-1.8.77/work/qdbm-1.8.77/ruby/depot'
make: *** [all] Error 2
 * 
 * ERROR: dev-db/qdbm-1.8.77 failed.
I have done these:

gcc-config i686-pc-linux-gnu-4.1.1
env-update && source /etc/profile
fix_libtool_files.sh
Replaced $CHOST with your actual CHOST, found in /etc/make.conf
Rebuilt libtool

$ gcc-config -l
bin [1] i686-pc-linux-gnu-4.1.2 *
$ binutils-config -l
 [1] i686-pc-linux-gnu-2.18 *

$ emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Tue, 19 Aug 2008 13:04:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa apache2 apm berkdb bluetooth bzip2 cdr cli cracklib crypt cups curl curlwrappers cxx dbus dri dvdr encode esd exif ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif gimp glib gnome gnustep gnutls gpm gps gstreamer gtk gtkhtml hal hddtemp icc iconv imagemagick imap innodb ipv6 isdnlog java javascript jpeg jpeg2k lame ldap libgda libnotify libwww lm_sensors lua mad midi mime mp3 mpeg mplayer mudflap mysql mysqli nautilus ncurses nls nntp nptl nptlonly odbc ogg opengl openmp oss pam pcmcia pcre pdf perl php png pppd profile pulseaudio python qdbm qt3support qt4 quicktime rdesktop readline recode reflection rss ruby session smartcard snmp soap sockets socks5 spell spl ssl subversion symlink sysfs syslog tcl tcpd tokenizer truetype unicode usb utils vim-syntax vorbis wifi win32codecs wxwindows x86 xml xorg xpm xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-19 21:07:51 UTC
Try the guide the URL refers to and reopen this bug if you find that the steps described in that document are at fault.