http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52007

--- Comment #3 from chilaka <chilakaravikumar at yahoo dot co.in> 2012-01-26 
10:39:37 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > You should look into config.log to find out why it fails.  Also don't build 
> > in
> > the source directory.  I bet you don't have all the right packages 
> > installed to
> > use gcc.
> 
> config.log content
> 
> configure:630: checking host system type
> configure:651: checking target system type
> configure:669: checking build system type
> configure:724: checking for a BSD compatible install
> configure:777: checking whether ln works
> configure:801: checking whether ln -s works
> configure:1866: checking for gcc
> configure:1979: checking whether the C compiler (gcc  ) works
> configure:1995: gcc -o conftest    conftest.c  1>&5
> ./configure: line 1994: gcc: command not found
> configure: failed program was:
> 
> #line 1990 "configure"
> #include "confdefs.h"

Now I have ran autoconf and then ./configure. Here is content of config.log

#/usr/local/bin/autoconf -v
# ./configure 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure 

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

hostname = colt102d.fchst.usa.hp.com
uname -m = ia64
uname -r = 2.6.18-274.el5
uname -s = Linux
uname -v = #1 SMP Fri Jul 8 17:41:07 EDT 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

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

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin 
PATH: /usr/bin
PATH: /root/bin 


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

configure:1330: checking build system type
configure:1348: result: ia64-unknown-linux-gnu
configure:1356: checking host system type
configure:1370: result: ia64-unknown-linux-gnu
configure:1378: checking target system type
configure:1392: result: ia64-unknown-linux-gnu
configure:1434: checking for a BSD-compatible install
configure:1489: result: /usr/bin/install -c
configure:1500: checking whether ln works
configure:1522: result: yes
configure:1526: checking whether ln -s works
configure:1530: result: yes
configure:2623: checking for gcc
configure:2649: result: gcc
configure:2893: checking for C compiler version
configure:2896: gcc --version </dev/null >&5
./configure: line 2897: gcc: command not found
configure:2899: $? = 127
configure:2901: gcc -v </dev/null >&5
./configure: line 2902: gcc: command not found
configure:2904: $? = 127
configure:2906: gcc -V </dev/null >&5
./configure: line 2907: gcc: command not found
configure:2909: $? = 127
configure:2932: checking for C compiler default output file name
configure:2935: gcc    conftest.c  >&5
./configure: line 2936: gcc: command not found
configure:2938: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2977: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=ia64-unknown-linux-gnu
ac_cv_build_alias=ia64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=ia64-unknown-linux-gnu
ac_cv_host_alias=ia64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=ia64-unknown-linux-gnu
ac_cv_target_alias=ia64-unknown-linux-gnu
acx_cv_prog_LN=ln

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

AR=''
AR_FOR_TARGET=''
AS=''
AS_FOR_TARGET=''
BISON=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS=''
CFLAGS_FOR_BUILD=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXX_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_TARGET=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT=''
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCJ_FOR_TARGET=''
GDB_TK=''
GFORTRAN_FOR_TARGET=''
GNATBIND=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS=''
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_TARGET=''
OBJCOPY=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='./configure '
WINDRES=''
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC='gcc'
ac_ct_GNATBIND=''
bindir='${exec_prefix}/bin'
build='ia64-unknown-linux-gnu'
build_alias=''
build_configargs=''
build_configdirs='build-libiberty build-texinfo build-byacc build-flex
build-bison build-m4 build-fixincludes'
build_cpu='ia64'
build_libsubdir='build-ia64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-ia64-unknown-linux-gnu'
build_tooldir=''
build_vendor='unknown'
config_shell='/bin/sh'
configdirs='intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib
libcpp libdecnumber texinfo byacc flex bison binutils gas ld fixincludes gcc
sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4
autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff
find uudecode hello tar gzip indent recode release sed utils guile perl gawk
findutils gettext zip fastjar gnattools'
datadir='${prefix}/share'
datarootdir=''
do_compare=''
docdir=''
exec_prefix='NONE'
gmpinc=''
gmplibs=''
host='ia64-unknown-linux-gnu'
host_alias=''
host_configargs=''
host_cpu='ia64'
host_os='linux-gnu'
host_subdir='host-ia64-unknown-linux-gnu'
host_vendor='unknown'
htmldir=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='ia64-unknown-linux-gnu'
target_alias=''
target_configargs=''
target_cpu='ia64'
target_os='linux-gnu'
target_subdir='ia64-unknown-linux-gnu'
target_vendor='unknown'
tooldir=''

## ------------- ##
## Output files. ##
## ------------- ##

alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''

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

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77

Reply via email to