Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140559 - dev-libs/gmp-4.2.1 fails to build while looking for gcc compiler
Summary: dev-libs/gmp-4.2.1 fails to build while looking for gcc compiler
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-15 14:01 UTC by Ian Truelsen
Modified: 2015-04-08 07:02 UTC (History)
0 users

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


Attachments
config.log (config.log,7.65 KB, text/plain)
2006-07-15 14:03 UTC, Ian Truelsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Truelsen 2006-07-15 14:01:08 UTC
When I try to emerge gmp-4.2.1, as part of an upgrade to gcc, I get the following:

>>> Compiling source in /var/tmp/portage/gmp-4.2.1/work/gmp-4.2.1 ...
 * econf: updating gmp-4.2.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gmp-4.2.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --localstatedir=/var/state/gmp --disable-mpfr --disable-mpbsd --enable-cxx --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking GMPABI=32
checking compiler gcc -O2 -march=pentium3 -fomit-frame-pointer ... no
checking compiler icc -O2 -march=pentium3 -fomit-frame-pointer ... no
configure: error: could not find a working compiler, see config.log for details

Here in emerge --info

!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, [unavailable], glibc-2.3.6-r3, 2.6.17-gentoo-r2 i686)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.17-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.12.0_pre16
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.2-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts calendar cdr cli crypt cups directfb divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd ffmpeg foomaticdb fortran freetype gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg libg++ libwww lm_sensors mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcmcia pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb v4l vorbis wifi win32codecs xface xine xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Obviously, the no gcc found is troubling. Not sure where to go from here. I am attaching the config.log file from the emerge of gmp.
Comment 1 Ian Truelsen 2006-07-15 14:03:12 UTC
Created attachment 91824 [details]
config.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-15 14:08:30 UTC
> !!! No gcc found. You probably need to 'source /etc/profile'
> !!! to update the environment of this terminal and possibly
> !!! other terminals also.

Well no wonder that it fails. Did you try the above? Also, if that doesn't help,  run gcc-config or eselect-compiler and set up your gcc version again.
Comment 3 Ian Truelsen 2006-07-15 14:26:45 UTC
Never mind. I had not set the profile with eselect as it is new to me. Everything seems to back up and compiling for me now.