checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. emerge --info Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.3.6-r3, 2.6.15-gentoo-r1-kph0 i686) ================================================================= System uname: 2.6.15-gentoo-r1-kph0 i686 AMD Sempron(tm) 2200+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 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.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-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo" LANG="da_DK.UTF8" LC_ALL="da_DK.UTF8" LINGUAS="da en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac aalib acpi aim alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdinstall cdr cli crypt cups curl dbus doc dri dv eds emacs emboss encode esd exif expat fam ffmpeg flac flash foomaticdb fortran ftp gb gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imlib ipv6 isdnlog jabber jack java javascript jpeg junit lcms ldap lesstif libcaca libg++ libwww lua mad matroska matrox mhash mikmod mime ming mmx mng mono mozilla mp3 mpeg msn mysql nas ncurses nls nsplugin nvidia objc offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php png posix postgres pppd python qdbm quicktime radius readline reflection ruby samba sasl sdl session slang sndfile sox speex spell spl sqlite sse ssl svg svga symlink tcltk tcpd test tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd videos vorbis win32codecs wmf wxwindows xml xml2 xmlrpc xmms xorg xosd xpm xprint xsl xv xvid yahoo zlib linguas_da linguas_en userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Created attachment 89110 [details] config.log for gnubg Attached /var/tmp/portage/gnubg-0.14.3/work/gnubg-0.14.3/config.log
Your system looks really out of date to me. You're running a deprecated profile and an old version of portage. Please update to the latest stable software with "emerge -vuD world" and see if that helps. If you still have problems, please attach the output from "emerge -evp gnubg" as text/plain.
Since when is 2005.1 deprecated?
heh, it's not. I read it as 2005.0.
Missing media-libs/ftgl dependency? configure:2146: i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/include/FTGL -I/usr/include/freetype2 -lGLU -lGL -lfreetype -lz -lftgl conftest.c >&5 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lftgl collect2: ld returned 1 exit status configure:2149: $? = 1
No, the dep for ftgl should be fine afaict. "configure:2188: error: C compiler cannot create executables" <- that's a problem. where's that ""emerge -evp gnubg" output?
media-libs/ftgl is installed. The problem is that I cannot get the compiler cannot create executables.
Created attachment 89194 [details] Output from "emerge -evp gnubg"
Created attachment 89195 [details] emerge --info for profile 2006.0
Here's a clue: *ftgl-2.1.2-r1 (04 Nov 2005) 04 Nov 2005; Seemant Kulleen <seemant@gentoo.org> +ftgl-2.1.2-r1.ebuild: now it actually installs the shared library thanks to ilya kriveshko, and libtool fixes, thanks to az.
Well, I'm not sure if it's a very big clue. ftgl-2.1.2 (not -r1) works fine for me.
Didn't work for me when I just tried it. Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17.1 i686) ================================================================= System uname: 2.6.17.1 i686 AMD Athlon(tm) 2600+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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: 1.3.13-r2 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=athlon-xp -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms splitdebug strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://distfiles.gentoo.org" LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en" MAKEOPTS="-j3" 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 3dnow X a52 aac acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dbus dri dvd dvdr eds emboss encode esd ffmpeg firefox flac gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg lcms libg++ libwww lua mad mikmod mmx mng mono mp3 mpeg mysql ncurses nls nptl offensive ogg opengl pam pcre pdflib perl png pppd python quicktime readline reflection ruby sdl session sndfile speex spell spl sse ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard kernel_linux linguas_en_GB linguas_en userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
exact same bug here .. cant install gnubg checking for C compiler default output... configure: error: C compiler cannot create executable... checked also with 3.4.6 and it still wont compile.giving up ric
Same error here on ppc. Still no solution?
Does reemerging gcc-config help?
fixed in cvs