Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265639 - gnome-base/gnome-2.24.1: "econf failed" when I am trying to setup gnome or any other package
Summary: gnome-base/gnome-2.24.1: "econf failed" when I am trying to setup gnome or an...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 265641 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-10 11:30 UTC by Alireza Keshmiri
Modified: 2011-10-30 23:15 UTC (History)
1 user (show)

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 Alireza Keshmiri 2009-04-10 11:30:41 UTC
Hi
sorry if you had this topic but i could not find any information about my problem so i have to start new one.

I am a new comer in Gentoo and i have a problem with gnome installation on kernel-2.6.29-gentoo-r1.
When I am trying to emerge gnome I got "econf failed"

the system is not usable for me now as i can not do any thing.

I also tried to reinstall kernel and used:

gnome --update --newuse --deep world
emerge --depclean
revdep-rebuild

but it was useless so i will be grateful if you will help me to handle this.
thank you in advanced

Reproducible: Always

Steps to Reproduce:
1. setup Gentoo console and sync it
2. setup gnome (or any other package)
3. econf failed

Actual Results:  
>>> Unpacking source...
>>> Unpacking libglade-2.6.3.tar.bz2 to /var/tmp/portage/gnome-base/libglade-2.6.3/work
 * Fixing OMF Makefiles ...
 * Running elibtoolize in: libglade-2.6.3
 * Applying portage-1.5.10.patch ...
 * Applying sed-1.5.6.patch ...
>>> Source unpacked in /var/tmp/portage/gnome-base/libglade-2.6.3/work
>>> Compiling source in /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3 ...
 * Applying Makefile.in.am-2.4.2-xmlcatalog.patch ...
 * Applying libglade-2.6.3-fix_tests-page_size.patch ...
 * econf: updating libglade-2.6.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libglade-2.6.3/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/config.log
*
* ERROR: gnome-base/libglade-2.6.3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2727:  Called gnome2_src_compile
*             environment, line 2085:  Called gnome2_src_configure
*             environment, line 2099:  Called econf '--disable-gtk-doc'
*               ebuild.sh, line  543:  Called die
* The specific snippet of code:
*            die "econf failed"
*  The die message:
*   econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/libglade-2.6.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/libglade-2.6.3/temp/environment'.
*

Expected Results:  
Installation successfully finished

--------------------------------------------------------------------------------------------------------------------------------
Build.log
Code:

>>> Unpacking source...
>>> Unpacking libglade-2.6.3.tar.bz2 to /var/tmp/portage/gnome-base/libglade-2.6.3/work
 * Fixing OMF Makefiles ...
 * Running elibtoolize in: libglade-2.6.3
 * Applying portage-1.5.10.patch ...
 * Applying sed-1.5.6.patch ...
>>> Source unpacked in /var/tmp/portage/gnome-base/libglade-2.6.3/work
>>> Compiling source in /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3 ...
 * Applying Makefile.in.am-2.4.2-xmlcatalog.patch ...
 * Applying libglade-2.6.3-fix_tests-page_size.patch ...
 * econf: updating libglade-2.6.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libglade-2.6.3/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/config.log
*
* ERROR: gnome-base/libglade-2.6.3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2727:  Called gnome2_src_compile
*             environment, line 2085:  Called gnome2_src_configure
*             environment, line 2099:  Called econf '--disable-gtk-doc'
*               ebuild.sh, line  543:  Called die
* The specific snippet of code:
*            die "econf failed"
*  The die message:
*   econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/libglade-2.6.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/libglade-2.6.3/temp/environment'.
*

--------------------------------------------------------------------------------------------------------------------------------

config.log

Code:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libglade configure 2.6.3, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = MEHRAN
uname -m = x86_64
uname -r = 2.6.29-gentoo-r1
uname -s = Linux
uname -v = #1 SMP Wed Apr 8 22:44:08 EEST 2009

/usr/bin/uname -p = Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib64/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
PATH: /usr/qt/3/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2025: checking for a BSD-compatible install
configure:2081: result: /usr/bin/install -c
configure:2092: checking whether build environment is sane
configure:2135: result: yes
configure:2163: checking for a thread-safe mkdir -p
configure:2202: result: /bin/mkdir -p
configure:2215: checking for gawk
configure:2231: found /bin/gawk
configure:2242: result: gawk
configure:2253: checking whether make sets $(MAKE)
configure:2274: result: yes
configure:2490: checking for x86_64-pc-linux-gnu-gcc
configure:2506: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2517: result: x86_64-pc-linux-gnu-gcc
configure:2795: checking for C compiler version
configure:2802: x86_64-pc-linux-gnu-gcc --version >&5
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
configure:2805: $? = 1
configure:2812: x86_64-pc-linux-gnu-gcc -v >&5
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
configure:2815: $? = 1
configure:2822: x86_64-pc-linux-gnu-gcc -V >&5
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
configure:2825: $? = 1
configure:2848: checking for C compiler default output file name
configure:2875: x86_64-pc-linux-gnu-gcc -O2 -pipe  -Wl,-O1 conftest.c  >&5
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
configure:2878: $? = 1
configure:2916: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libglade"
| #define PACKAGE_TARNAME "libglade"
| #define PACKAGE_VERSION "2.6.3"
| #define PACKAGE_STRING "libglade 2.6.3"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=libglade"
| #define PACKAGE "libglade"
| #define VERSION "2.6.3"
| #define DEBUG 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2923: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1
ac_cv_env_LIBGLADE_CFLAGS_set=
ac_cv_env_LIBGLADE_CFLAGS_value=
ac_cv_env_LIBGLADE_LIBS_set=
ac_cv_env_LIBGLADE_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/missing --run aclocal-1.10'
ACLOCAL_AMFLAGS='${ACLOCAL_FLAGS}'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/missing --run automake-1.10'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-O2 -pipe'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
EXEEXT=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
GREP=''
GTKDOC_CHECK=''
GTK_CFLAGS=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
GTK_LIBS=''
HAVE_PYTHON_FALSE=''
HAVE_PYTHON_TRUE=''
HAVE_XMLCATALOG_FALSE=''
HAVE_XMLCATALOG_TRUE=''
HTML_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS='-Wl,-O1'
LIBGLADE_CFLAGS=''
LIBGLADE_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OS_WIN32_FALSE=''
OS_WIN32_TRUE=''
PACKAGE='libglade'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libglade'
PACKAGE_NAME='libglade'
PACKAGE_STRING='libglade 2.6.3'
PACKAGE_TARNAME='libglade'
PACKAGE_VERSION='2.6.3'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PYTHON=''
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='2.6.3'
XGETTEXT=''
XMLCATALOG=''
XML_CATALOG_FILE=''
ac_ct_CC=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='$(SHELL) /var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "libglade"
#define PACKAGE_TARNAME "libglade"
#define PACKAGE_VERSION "2.6.3"
#define PACKAGE_STRING "libglade 2.6.3"
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=libglade"
#define PACKAGE "libglade"
#define VERSION "2.6.3"
#define DEBUG 1

configure: exit 77 


Make.conf
-------------------------------------------------------------------
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"


# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
XUSE="truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl aiglx"
IMAGEUSE="jpeg gif tiff png svg pdf djvu"
MEDIAUSE="alsa mad vidix asf win32codecs dvd mp4 aac x264 xvid nsplugin mp3 real gstreamer amarok"
GENERAL="samba java java6 bzip2 spell xml"
SYSTEM="hal fam dbus aoss threads"
GNOMEUSE="-kde qt3 -qt4 mmx sse sse2 gtk cairo glitz gnome xfce gtkhotkey artworkextra"
NETWORK="net eds pidgin wifi bluetooth"
MAIL="crypt cups ldap mono pda profile gmail pop smtp imap"
OFFICE="openoffice"
USE="${XUSE} ${IMAGEUSE} ${OFFICE} ${MEDIAUSE} ${GENERAL} ${SYSTEM} ${GNOMEUSE} ${NETWORK} ${MAIL}"

GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.kiev.ua/ftp/ http://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

FEATURES="-stricter"

INPUT_DEVICES="keyboard mouse"

VIDEO_CARDS="fglrx"
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-10 11:37:28 UTC
check your gcc settings, gcc-config -l and make sure it corresponds to information in /etc/make.conf (CHOST and things like this)
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-10 11:51:43 UTC
(In reply to comment #1)
> check your gcc settings, gcc-config -l and make sure it corresponds to
> information in /etc/make.conf (CHOST and things like this)
> 

gcc-4.1.2 was probably cleaned by emerge --depclean, so he should follow the general GCC upgrade guide.
http://www.gentoo.org/doc/en/gcc-upgrading.xml
Re-open if this does not fix it.
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2009-04-10 22:50:23 UTC
*** Bug 265641 has been marked as a duplicate of this bug. ***