Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157871

Summary: povray claims that "C compiler cannot create executables"
Product: Gentoo Linux Reporter: William S. <full.infinity>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: major    
Priority: Normal    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description William S. 2006-12-11 16:31:13 UTC
When I try to emerge povray, configure gives this error:
checking for C compiler default output... configure: error: C compiler cannot create executables

Then make claims that there's no rule to create "all" in the png library.

emerge --info:
Portage 2.1.2_rc3-r1 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.5-r0, 2.6.19-rc6-mm2 x86_64)
=================================================================
System uname: 2.6.19-rc6-mm2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Mon, 11 Dec 2006 00:00:03 +0000
app-admin/eselect-compiler: 2.0.0_rc1-r5
dev-java/java-config: 1.3.1, 2.0.27
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo/"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa berkdb bitmap-fonts cli cracklib crypt dlloader dri eds elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spl ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_nv video_cards_vesa xorg xpm xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-11 16:39:16 UTC
Unmerge eselect-compiler, downgrade gcc-config, re-run gcc-config and try again. 
Comment 2 William S. 2006-12-11 17:07:44 UTC
Downgrade gcc-config to what version?
Comment 3 William S. 2006-12-11 17:09:28 UTC
Wait, nevermind.  But with what arguments do I run gcc-config?
Comment 4 William S. 2006-12-11 17:14:06 UTC
Never mind again.
But it still doesn't work.
In addition, during the configure a bunch of messages like this appear:
checking whether x86_64-pc-linux-gnu-g++ accepts -pipe... ./configure: line 12837: "\-p|ipe": command not found
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-12-12 02:24:06 UTC
(In reply to comment #4)
> Never mind again.
> But it still doesn't work.
> In addition, during the configure a bunch of messages like this appear:
> checking whether x86_64-pc-linux-gnu-g++ accepts -pipe... ./configure: line
> 12837: "\-p|ipe": command not found

Please, file a new about and attach config.log there; different issue. Thanks.