LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-20-2004, 05:10 PM   #1
fiorejm
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
Angry checking for C compiler default output... configure: error: C compiler cannot create


Hi,

I checked out the other posts with the similar problem.

I have SuSE linux kernel 2.4.something

gcc 3.3.1
autoconf 2.57

I am trying to compile HDF5-1.6.2 on linux and i would like the Fortran libraries as well.

I issue a ./configure in the main directory and the following is output:

./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking shell variables initial values... done
checking if tr works... yes
checking if basename works... yes
checking if xargs works... yes
checking for cached host... none
checking for sizeof hsize_t and hssize_t... large
checking for config i686-pc-linux-gnu... no
checking for config i686-pc-linux-gnu... no
checking for config pc-linux-gnu... no
checking for config pc-linux-gnu... no
checking for config i686-linux-gnu... no
checking for config i686-linux-gnu... no
checking for config i686-pc... no
checking for config linux-gnu... found
compiler 'gcc' is GNU gcc-3.3.1
checking for config ./config/site-specific/host-L4855NFX... no
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables



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

It was created by HDF5 configure 1.6.2, which was
generated by GNU Autoconf 2.53. Invocation command line was

$ ./configure

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

hostname = L4855NFX
uname -m = i686
uname -r = 2.4.21-192-default
uname -s = Linux
uname -v = #1 Wed Feb 18 19:26:28 UTC 2004

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

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

PATH: /vobs/rpa/cxbmg/src/script
PATH: /home/fiorejm/project/bmg/bin
PATH: /home/fiorejm/prj/sima/source/bin
PATH: /home/fiorejm/prj/sima/source/sbin
PATH: /home/fiorejm/prj/sima/deploy/bin
PATH: /home/fiorejm/prj/sima/deploy/sbin
PATH: /opt/absoft/bin
PATH: /opt/intel_cc_80/bin
PATH: /opt/intel_fc_80/bin
PATH: /users/fiorejm/opt/ant/bin
PATH: /usr61/products/oracleprod/817/bin
PATH: /opt/j2sdk1.4.2_03/bin
PATH: .
PATH: /opt/kde3/bin
PATH: /opt/gnome/bin
PATH: /usr/games
PATH: /usr/bin/X11
PATH: /vobs/rpa/cxbmg/src/script
PATH: /home/fiorejm/project/bmg/bin
PATH: /home/fiorejm/prj/sima/source/bin
PATH: /home/fiorejm/prj/sima/source/sbin
PATH: /home/fiorejm/prj/sima/deploy/bin
PATH: /home/fiorejm/prj/sima/deploy/sbin
PATH: /opt/absoft/bin
PATH: /opt/intel_cc_80/bin
PATH: /opt/intel_fc_80/bin
PATH: /users/fiorejm/opt/ant/bin
PATH: /usr61/products/oracleprod/817/bin
PATH: /opt/j2sdk1.4.2_03/bin
PATH: .
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/lib/java/jre/bin
PATH: /home/fiorejm/bin
PATH: /home/fiorejm/usr/local/bin
PATH: /users/fiorejm/opt/tomcat/bin
PATH: /users/chena/opt/maven/bin
PATH: /users/fiorejm/opt/velocity/bin
PATH: /users/fiorejm/opt/eclipse/bin
PATH: /users/paterldl/bin
PATH: /usr/lib/java/jre/bin
PATH: /home/fiorejm/bin
PATH: /home/fiorejm/usr/local/bin
PATH: /home/fiorejm/bin
PATH: /home/fiorejm/usr/local/bin
PATH: /usr/local/bin
PATH: /users/fiorejm/opt/tomcat/bin
PATH: /users/chena/opt/maven/bin
PATH: /users/fiorejm/opt/velocity/bin
PATH: /users/fiorejm/opt/eclipse/bin
PATH: /users/paterldl/bin


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

configure:1463: checking build system type
configure:1481: result: i686-pc-linux-gnu
configure:1489: checking host system type
configure:1503: result: i686-pc-linux-gnu
configure:1515: checking shell variables initial values
ABSOFT=/opt/absoft
ACLOCAL_PATH=/opt/gnome/share/aclocal:/opt/gnome/share/aclocal:/opt/gnome/share/aclocal
ANT_HOME=/users/fiorejm/opt/ant
ARCH=Linux
ATO_CPU=
ATO_DVL=/home/fiorejm/prj/sima/source
ATO_PGM=/home/fiorejm/prj/sima/deploy
BASH=/bin/sh
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i586-suse-linux")
BASH_VERSION='2.05b.0(1)-release'
BMG_HOME=/home/fiorejm/project/bmg
CLASSPATH=/users/fiorejm/opt/ant/lib:/opt/j2sdk1.4.2_03/lib/dt.jar:/opt/j2sdk1.4.2_03/lib/tools.jar:.:src:data/properties:data/unittest:build/classes
CLICOLOR=true
COLORTERM=1
CONFIG_SITE='/users/fiorejm/hdf5-1.6.2/hdf5/share/config.site /users/fiorejm/hdf5-1.6.2/hdf5/etc/config.site'
CPP_HOME=/opt/intel_cc_80
CPU=i686
CSHEDIT=emacs
CVSIGNORE='*.class'
CVSROOT=server:fiorejm@172.28.32.118:/san/cvsroot
CVSROOT_C8=server:chen@cyber888.com:/home/cvsroot
CVSROOT_GEORGE=server:fiorejm@george.pgh.wec.com:/usr0/cvsroot
CVSROOT_IVEC=server:fiorejm@172.28.32.118:/san/cvsroot
CVS_RSH=ssh
DIRSTACK=()
DISPLAY=:0.0
ECHO=echo
ECHO_C=
ECHO_N=-n
ECHO_T=
ECLIPSE_HOME=/users/fiorejm/opt/eclipse
EDITOR=vi
EUID=30401
FORTRAN_HOME=/opt/intel_fc_80
GNOMEDIR=/opt/gnome
GNOME_PATH=/opt/gnome:/usr
GROUP=users
GROUPS=()
GTK2_RC_FILES=/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes/Geramik/gtk-2.0/gtkrc:/home/fiorejm/.gtkrc-2.0-keramik:/home/fiorejm/.kde/share/config/gtkrc
GTK_RC_FILES=/etc/opt/gnome/gtk/gtkrc:/opt/gnome/share/themes/Geramik/gtk/gtkrc:/home/fiorejm/.gtkrc-keramik:/home/fiorejm/.kde/share/config/gtkrc
GZIP=-9
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/fiorejm
HOST=L4855NFX
HOSTNAME=L4855NFX.pgh.wec.com
HOSTTYPE=i586-linux
IFS='
'
INFODIR=/usr/share/info:/usr/local/info
INFOPATH=/usr/share/info:/usr/local/info:/opt/gnome/info
INPUTRC=/etc/inputrc
INTEL_LICENSE_FILE=/opt/intel_cc_80/licenses:/opt/intel_cc_80/licenses
JAVA_BINDIR=/usr/lib/java/jre/bin
JAVA_HOME=/opt/j2sdk1.4.2_03
JAVA_ROOT=/usr/lib/java
JRE_HOME=/usr/lib/java/jre
KDEHOME=/home/fiorejm/.kde
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KONSOLE_DCOP='DCOPRef(konsole-9289,konsole)'
KONSOLE_DCOP_SESSION='DCOPRef(konsole-9289,session-2)'
LANG=C
LANGUAGE=C
LC_ALL=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_NUMERIC=C
LC_TIME=C
LD_HWCAP_MASK=0x20000000
LD_LIBRARY_PATH=/home/fiorejm/prj/uda/lib/hdf5-1.6.2/Linux/lib:/opt/intel_cc_80/lib:/opt/intel_fc_80/lib:/usr/local/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib:/home/fiorejm/local/lib:/opt/app/oracle/product/7.3.4/jdbc/lib
LESS='-M -I'
LESSCLOSE='lessclose.sh %s %s'
LESSKEY=/etc/lesskey.bin
LESSOPEN='lessopen.sh %s'
LESS_ADVANCED_PREPROCESSOR=no
LIB=/users/chena/vobs/rpa/lib
LINENO=1515
LOGNAME=fiorejm
LPDEST=prnt6215
LSCOLORS=exfxcxdxbxegedabagacad
LS_COLORS='no=00:fi=00:di=01;34:ln=00;36i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31 :ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz= 00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;3 1:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp= 01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01; 35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:* .dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=0 0;32:'
LS_OPTIONS='-N --color=tty -T 0'
MACHTYPE=i686
MAIL=/var/spool/mail/fiorejm
MAKEFLAGS=
MANPATH=/opt/intel_cc_80/man:/opt/intel_fc_80/man:/opt/gnome/man:/usr/share/man:/usr/X11R6/man:/opt/absoft/man:/opt/intel_cc_80/man:/opt/intel_fc_80/man:/opt/j2sdk1.4.2_03/man:/usr/local/man:/users/paterldl/man
MAVEN_HOME=/users/chena/opt/maven
MFLAGS=
MINICOM='-c on'
MORE=-sl
NNTPSERVER=news
OPENWINHOME=/usr/openwin
OPTERR=1
OPTIND=1
OPT_HOME=/users/fiorejm/opt
ORACLE_HOME=/usr61/products/oracleprod/817
ORACLE_SID=CT.DEV1
ORACLE_TERM=vt100
ORIG=/home/fiorejm
OSTYPE=linux
OS_CONFIG=NEO
PACKAGE_BUGREPORT=hdfhelp@ncsa.uiuc.edu
PACKAGE_NAME=HDF5
PACKAGE_STRING='HDF5 1.6.2'
PACKAGE_TARNAME=hdf5
PACKAGE_VERSION=1.6.2
PAGER=less
PATH=/vobs/rpa/cxbmg/src/script:/home/fiorejm/project/bmg/bin:/home/fiorejm/prj/sima/source/bin:/home/fiorejm/prj/sima/source/sbin:/home/fiorejm/prj/sima/deploy/bin:/home/fiorejm/prj/sima/deploy/sbin:/opt/absoft/bin:/opt/intel_cc_80/bin:/opt/intel_fc_80/bin:/users/fiorejm/opt/ant/bin:/usr61/products/oracleprod/817/bin:/opt/j2sdk1.4.2_03/bin:.:/opt/kde3/bin:/opt/gnome/bin:/usr/games:/usr/bin/X11:/vobs/rpa/cxbmg/src/script:/home/fiorejm/project/bmg/bin:/home/fiorejm/prj/sima/source/bin:/home/fiorejm/prj/sima/source/sbin:/home/fiorejm/prj/sima/deploy/bin:/home/fiorejm/prj/sima/deploy/sbin:/opt/absoft/bin:/opt/intel_cc_80/bin:/opt/intel_fc_80/bin:/users/fiorejm/opt/ant/bin:/usr61/products/oracleprod/817/bin:/opt/j2sdk1.4.2_03/bin:.:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/jre/bin:/home/fiorejm/bin:/home/fiorejm/usr/local/bin:/users/fiorejm/opt/tomcat/bin:/users/chena/opt/maven/bin:/users/fiorejm/opt/velocity/bin:/users/fiorejm/opt/eclipse/bin:/users/paterldl/bin:/usr/lib/java/jre/bin:/home/fiorejm/bin:/home/fiorejm/usr/local/bin:/home/fiorejm/bin:/home/fiorejm/usr/local/bin:/usr/local/bin:/users/fiorejm/opt/tomcat/bin:/users/chena/opt/maven/bin:/users/fiorejm/opt/velocity/bin:/users/fiorejm/opt/eclipse/bin:/users/paterldl/bin
PATH_SEPARATOR=:
PIPESTATUS=([0]="0")
PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome/lib/pkgconfig
POSIXLY_CORRECT=y
PPID=9326
PRJ=cxbmg
PRJS_ROOT=/home/fiorejm/prj
PRJ_HOME=/users/chena/prj/uda
PROFILEREAD=true
PS4='+ '
PWD=/users/fiorejm/hdf5-1.6.2
REQUEST_METHOD=GET
SESSION_MANAGER=local/L4855NFX:/tmp/.ICE-unix/18924
SHELL=/bin/sh
SHELLOPTS=braceexpand:hashall:interactive-commentsosix
SHLVL=4
SIMA_ROOT=/home/fiorejm/prj/sima
SSH_AGENT_PID=18879
SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-ric18826/agent.18826
STYLE=keramik
SYS_CONFIG=OTHER
T=/users/chena/trans/
TERM=xterm-color
TEXINPUTS=::/home/fiorejm/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/home/fiorejm/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
TOMCAT_HOME=/users/fiorejm/opt/tomcat
U=/users/fiorejm
UID=30401
UNAME=Linux
USER=fiorejm
USE_FAM=
VELOCITY_HOME=/users/fiorejm/opt/velocity
VENDOR=suse
WINDOWMANAGER=/usr/bin/X11/kde
XCURSOR_THEME=blueprint-cursor-theme
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd
XFILESEARCHPATH=/usr/lib/X11/%L/%T/%N%C:/usr/lib/X11/%l/%T/%N%C:/usr/lib/X11/%T/%N%C:/usr/lib/X11/%L/%T/%N:/usr/lib/X11/%l/%T/%N:/usr/lib/X11/%T/%N:/var/X11R6/%T/%N%C:/var/X11R6/%T/%N
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XMODIFIERS=@im=local
XNLSPATH=/usr/X11R6/lib/X11/nls
XSESSION_IS_UP=yes
_='checking shell variables initial values... '
ac_aux_dir=bin
ac_cache_corrupted=false
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_compiler_gnu=
ac_confdir=.
ac_config_commands=' default-1'
ac_config_guess='/bin/sh bin/config.guess'
ac_config_headers=' src/H5config.h'
ac_config_sub='/bin/sh bin/config.sub'
ac_configure='/bin/sh bin/configure'
ac_configure_args=
ac_cpp='$CPP $CPPFLAGS'
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
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=
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=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_default_prefix=/users/fiorejm/hdf5-1.6.2/hdf5
ac_dir=bin
ac_env_CC_set=
ac_env_CC_value=
ac_env_CFLAGS_set=
ac_env_CFLAGS_value=
ac_env_CPPFLAGS_set=
ac_env_CPPFLAGS_value=
ac_env_CPP_set=
ac_env_CPP_value=
ac_env_LDFLAGS_set=
ac_env_LDFLAGS_value=
ac_env_build_alias_set=
ac_env_build_alias_value=
ac_env_host_alias_set=
ac_env_host_alias_value=
ac_env_target_alias_set=
ac_env_target_alias_value=
ac_ext=c
ac_hostname=L4855NFX
ac_includes_default='#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif'
ac_init_help=
ac_init_version=false
ac_install_sh='bin/install-sh -c'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_max_here_lines=38
ac_new_set=
ac_new_val=
ac_old_set=
ac_old_val=
ac_prev=
ac_sep=
ac_signal=0
ac_site_file=/users/fiorejm/hdf5-1.6.2/hdf5/etc/config.site
ac_srcdir_defaulted=yes
ac_subdirs_all=' '
ac_tool_prefix=
ac_unique_file=src/H5.c
ac_val='${prefix}/man'
ac_var=target_alias
as_cr_LETTERS=ABCDEFGHIJKLMNOPQRSTUVWXYZ
as_cr_Letters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
as_cr_alnum=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
as_cr_digits=0123456789
as_cr_letters=abcdefghijklmnopqrstuvwxyz
as_dir=/users/paterldl/bin
as_executable_p='test -f'
as_expr=expr
as_lineno_1=259
as_lineno_2=260
as_lineno_3=260
as_ln_s='ln -s'
as_me=configure
as_nl='
'
as_save_IFS='
'
as_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g'
as_tr_sh='sed y%*+%pp%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g'
as_unset=unset
bindir='${exec_prefix}/bin'
build=i686-pc-linux-gnu
build_cpu=i686
build_os=linux-gnu
build_vendor=pc
cache_file=/dev/null
cmd='sed 50q "$0"'
cross_compiling=no
datadir='${prefix}/share'
echo=echo
echo_test_string='#! /bin/sh
# From configure.in Id: configure.in.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for HDF5 1.6.2.
#
# Report bugs to <hdfhelp@ncsa.uiuc.edu>.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Find the correct PATH separator. Usually this is `:'\'', but
# DJGPP uses `;'\'' like DOS.
if test "X${PATH_SEPARATOR+set}" != Xset; then
UNAME=${UNAME-`uname 2>/dev/null`}
case X$UNAME in
*-DOS) lt_cv_sys_path_separator='\'';'\'' ;;
*) lt_cv_sys_path_separator='\'':'\'' ;;
esac
PATH_SEPARATOR=$lt_cv_sys_path_separator
fi


# Check that we are running under the correct shell.
SHELL=${CONFIG_SHELL-/bin/sh}

case X$ECHO in
X*--fallback-echo)
# Remove one level of quotation (which was required for Make).
ECHO=`echo "$ECHO" | sed '\''s,\\\\\$\\$0,'\''$0'\'','\''`
;;
esac

echo=${ECHO-echo}
if test "X$1" = X--no-reexec; then
# Discard the --no-reexec flag, and continue.
shift
elif test "X$1" = X--fallback-echo; then
# Avoid inline document here, it may be left over
:
elif test "X`($echo '\''\t'\'') 2>/dev/null`" = '\''X\t'\''; then
# Yippee, $echo works!
:
else
# Restart under the correct shell.
exec $SHELL "$0" --no-reexec ${1+"$@"}
fi

if test "X$1" = X--fallback-echo; then'
echo_testing_string='#! /bin/sh
# From configure.in Id: configure.in.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for HDF5 1.6.2.
#
# Report bugs to <hdfhelp@ncsa.uiuc.edu>.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Find the correct PATH separator. Usually this is `:'\'', but
# DJGPP uses `;'\'' like DOS.
if test "X${PATH_SEPARATOR+set}" != Xset; then
UNAME=${UNAME-`uname 2>/dev/null`}
case X$UNAME in
*-DOS) lt_cv_sys_path_separator='\'';'\'' ;;
*) lt_cv_sys_path_separator='\'':'\'' ;;
esac
PATH_SEPARATOR=$lt_cv_sys_path_separator
fi


# Check that we are running under the correct shell.
SHELL=${CONFIG_SHELL-/bin/sh}

case X$ECHO in
X*--fallback-echo)
# Remove one level of quotation (which was required for Make).
ECHO=`echo "$ECHO" | sed '\''s,\\\\\$\\$0,'\''$0'\'','\''`
;;
esac

echo=${ECHO-echo}
if test "X$1" = X--no-reexec; then
# Discard the --no-reexec flag, and continue.
shift
elif test "X$1" = X--fallback-echo; then
# Avoid inline document here, it may be left over
:
elif test "X`($echo '\''\t'\'') 2>/dev/null`" = '\''X\t'\''; then
# Yippee, $echo works!
:
else
# Restart under the correct shell.
exec $SHELL "$0" --no-reexec ${1+"$@"}
fi

if test "X$1" = X--fallback-echo; then'
exec_prefix=NONE
host=i686-pc-linux-gnu
host_cpu=i686
host_os=linux-gnu
host_vendor=pc
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
lt_cv_sys_path_separator=:
mandir='${prefix}/man'
no_create=
no_proxy=localhost
no_recursion=
oldincludedir=/usr/include
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
silent=
site=
srcdir=.
subdirs=
sysconfdir='${prefix}/etc'
target=
umask=22
verbose=
x_includes=NONE
x_libraries=NONE
configure:1518: result: done
configure:1521: checking if tr works
configure:1529: result: yes
configure:1533: checking if basename works
configure:1541: result: yes
configure:1545: checking if xargs works
configure:1553: result: yes
configure:1557: checking for cached host
configure:1564: result: none
configure:1612: checking for sizeof hsize_t and hssize_t
configure:1623: result: large
configure:1646: checking for config i686-pc-linux-gnu
configure:1654: result: no
configure:1646: checking for config i686-pc-linux-gnu
configure:1654: result: no
configure:1646: checking for config pc-linux-gnu
configure:1654: result: no
configure:1646: checking for config pc-linux-gnu
configure:1654: result: no
configure:1646: checking for config i686-linux-gnu
configure:1654: result: no
configure:1646: checking for config i686-linux-gnu
configure:1654: result: no
configure:1646: checking for config i686-pc
configure:1654: result: no
configure:1646: checking for config linux-gnu
configure:1650: result: found
configure:1665: checking for config ./config/site-specific/host-L4855NFX
configure:1673: result: no
configure:1726: checking for gcc
configure:1752: result: gcc
configure:1996: checking for C compiler version
configure:1999: gcc --version </dev/null >&5
gcc (GCC) 3.3.1 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2002: $? = 0
configure:2004: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.1 (SuSE Linux)
configure:2007: $? = 0
configure:2009: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2012: $? = 1
configure:2038: checking for C compiler default output
configure:2041: gcc Linux -std=c99 -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wfloat-equal -Wmissing-format-attribute -Wpadded -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wendif-labels conftest.c >&5
gcc: Linux: No such file or directory
configure:2025: warning: function declaration isn't a prototype
configure:2044: $? = 1
configure: failed program was:
#line 2015 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

;
return 0;
}
configure:2071: error: C compiler cannot create executables

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
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=
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=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_prog_ac_ct_CC=gcc
hdf5_cv_host=i686-pc-linux-gnu
lt_cv_sys_path_separator=:

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

#define PACKAGE_NAME "HDF5"
#define PACKAGE_TARNAME "hdf5"
#define PACKAGE_VERSION "1.6.2"
#define PACKAGE_STRING "HDF5 1.6.2"
#define PACKAGE_BUGREPORT "hdfhelp@ncsa.uiuc.edu"
#define HAVE_LARGE_HSIZET 1

configure: exit 77


I noticed this line: "gcc: Linux: No such file or directory"

I don't know what that means or what I am supposed to do. Or am I way off base?

Pls help me


Thanks a bunch in advance.

Justin
 
Old 05-20-2004, 10:37 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 52
Re: checking for C compiler default output... configure: error: C compiler cannot create

Quote:
Originally posted by fiorejm

I noticed this line: "gcc: Linux: No such file or directory"

I don't know what that means or what I am supposed to do. Or am I way off base?
Justin
You're right on base. Why that "Linux" is there will be a mystery that even our ancesters will ponder over.

I'd edit the ./configure script at line 2041 and just take that "Linux" out. Hopefully there are no more. If there are, I don't know what to do.

If you want the Fortran wrapper library, you'll want to run ./configure as follows:

./configure --enable-fortran

Lyle
 
Old 05-21-2004, 08:39 AM   #3
fiorejm
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Angry

I tried commenting out the Linux line.
that error disappeared, but i got a different error.
So i commented that code out and continued like that.

Eventually it ran ./configure "successfully"

I then did make

There were a whole bunch of errors, but they started off like:

make lib
make[1]: Entering directory `/a/users/fiorejm/hdf5-1.6.2'
make[2]: Entering directory `/a/users/fiorejm/hdf5-1.6.2/src'
gcc Linux -std=c99 -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wfloat-equal -Wmissing-format-attribute -Wpadded -Wmissing-noreturn -Wpacked -Wdisabled-optimization -O -fomit-frame-pointer -I. -I. -UH5_DEBUG_API -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_SOURCE -D_BSD_SOURCE -c H5.c
gcc: Linux: No such file or directory
In file included from H5private.h:28,
from H5.c:17:
H5public.h:194:5: #error "nothing appropriate for haddr_t"
In file included from H5.c:17:
H5private.h:346:5: #error "nothing appropriate for int16_t"

It seems to me like the gcc Linux problem is still affecting it.

Anyone have any other ideas?

I really dont know what to do.

I tried ./configure on other code (php4.3) and that worked fine.

So it seems as though it is hdf ./configure related.

Thanks for all your help in advance,

Justin
 
Old 05-21-2004, 10:12 AM   #4
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 52
Sorry, I should have been more clear. I meant to just take out the "Linux", not comment the entire line.

Perhaps you should contact the authors about this problem. You likely aren't the only one having this problem.
Lyle
 
Old 05-21-2004, 10:58 AM   #5
fiorejm
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Smile FIXED

Hey,
There wasn't "LINUX" on that line in configure.

It was a bunch of variables.

So i tried to trace it back to where it was defined, but that didn't help.

BUT, i did fix it.

I did the following:

In ./configure:

Before the CC variable is used the first time
CC="icc"

This overrode whereever it was picking up gcc from and used my intel c compiler.

in fortran/configure

before the F9X variable is used the first time
F9X=ifort

This made it use my intel fortran compiler instead of f90

CONFIGURE SUCCESS!

then i did 'make'

it made and errored out while compiling the tests.

I didn't really care so i did 'make install'

and that installed the library stuff.

Then I copied all that stuff to where i really wanted it to be.

I set up some symlinks and then it worked for me.

I got around the error by using my intel compilers instead of gcc and f90.

Hopefully this resolution will help some lost soles.

I also emailed HDF support.
I got their reply right after I worked out my solution.
Here is their response:


Quote:
It looks like it cannot find the gcc compiler. If you type "gcc" from the command line, does it find it?
Thanks for all your help everyone.

Justin



"And the world resumes its orbit around the sun"
 
Old 09-18-2006, 11:56 PM   #6
varunbharadwaj
LQ Newbie
 
Registered: Sep 2006
Location: bangalore
Posts: 1

Rep: Reputation: 0
can you suggest how to get out of this problem??

hey i am trying to complie the net-snmp source code in solaris platform using gcc......
but when i am trying to use the command ./configure
checking what to build and install... agent apps man local mibs
using default "enterprise.net-snmp"
using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
using default notifications "NET-SNMP-MIB::netSnmpNotifications"
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

and my config.log file looks something like this......
$ ./configure

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

hostname = blr-mgxbuild5
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_117350-12

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = blr-mgxbuild5
Release = 5.8
KernelID = Generic_117350-12
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /router/bin
PATH: /usr/atria/bin
PATH: /usr/cisco/bin
PATH: /usr/cisco/etc
PATH: /users/vbharadw/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/ccs/bin
PATH: /usr/ucb
PATH: .


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

configure:1979: checking what to build and install
configure:1981: result: agent apps man local mibs
configure:2899: result: using default "enterprise.net-snmp"
configure:2941: result: using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
configure:2983: result: using default notifications "NET-SNMP-MIB::netSnmpNotifications"
configure:3104: result: using OS default send buffer size for server sockets
configure:3130: result: using OS default recv buffer size for server sockets
configure:3156: result: using OS default send buffer size for client sockets
configure:3182: result: using OS default recv buffer size for client sockets
configure:3277: checking if I need to feed myself to ksh
configure:3293: result: no
configure:3365: checking for gcc
configure:3394: result: no
configure:3445: checking for cc
configure:3461: found /usr/ucb/cc
configure:3471: result: cc
configure:3635: checking for C compiler version
configure:3638: cc --version </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:3641: $? = 1
configure:3643: cc -v </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:3646: $? = 1
configure:3648: cc -V </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:3651: $? = 1
configure:3674: checking for C compiler default output file name
configure:3677: cc conftest.c >&5
/usr/ucb/cc: language optional software package not installed
configure:3680: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.3.1"
| #define PACKAGE_STRING "Net-SNMP 5.3.1"
| #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
| #define CONFIGURE_OPTIONS ""
| #define SCAPI_AUTHPRIV 1
| #define NO_DUMMY_VALUES 1
| #define OPAQUE_SPECIAL_TYPES 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3719: 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=
ac_cv_env_CFLAGS_value=
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=
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_prog_ac_ct_CC=cc

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

AGENTLIBS=''
AGENT_INCLUDES=''
ALLOCA=''
AUTOCONF=''
AUTOHEADER=''
CC='cc'
CCPATH=''
CFLAGS=''
CONFIGURE_OPTIONS='""'
COPY_PERSISTENT_FILES=''
CPP=''
CPPFLAGS=''
DEFAULT_MIBDIRS=''
DEFAULT_MIBS=''
DEFS=''
DEVFLAGS=''
DLLIBS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EMBEDPERLINSTALL=''
EMBEDPERLUNINSTALL=''
ENV_SEPARATOR=''
EXEEXT=''
EXTRACPPFLAGS=''
FIND=''
GNU_vpath=''
HAVE_DMALLOC_H=''
HELPER_INCLUDES=''
INSTALL_DATA=''
INSTALL_PREFIX=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOLFLAGS=''
LIBTOOL_DEPS=''
LN_S=''
LPSTAT_PATH=''
LTLIBOBJS=''
MAINSUBS=' agent apps man local mibs'
MIBGROUP_INCLUDES=''
MODULE_LIST=''
NON_GNU_VPATH=''
OBJEXT=''
OTHERAGENTLIBLOBJS=''
OTHERAGENTLIBOBJS=''
PACKAGE_BUGREPORT='net-snmp-coders@lists.sourceforge.net'
PACKAGE_NAME='Net-SNMP'
PACKAGE_STRING='Net-SNMP 5.3.1'
PACKAGE_TARNAME='net-snmp'
PACKAGE_VERSION='5.3.1'
PATH_SEPARATOR=':'
PERLARGS=''
PERLINSTALLTARGS=''
PERLLDOPTS=''
PERLPROG=''
PERLTARGS=''
PERLUNINSTALLTARGS=''
PERSISTENT_DIRECTORY=''
PSCMD=''
PSPROG=''
RANLIB=''
RELEASEVERSION=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SNMPCONFPATH=''
SNMPD='snmpd$(EXEEXT)'
SNMPLIBPATH=''
SNMPLIB_INCLUDES=''
SNMPSHAREPATH=''
STRIP=''
TOP_INCLUDES=''
TRAPLIBS='$(TRAPDWITHAGENT)'
UCDPERSISTENT_DIRECTORY=''
UNAMEPROG=''
USETRAPLIBS='$(USEAGENTLIBS)'
VERSION=''
WHOAMI=''
WRAPLIBS=''
ac_ct_CC='cc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
agent_module_list=''
agent_module_list_c=''
agent_module_list_h=''
agent_module_list_lo=''
agent_module_list_o=''
agentgroup_list_lo=''
agentgroup_list_o=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
default_mibs_install=''
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
installucdheaders=''
installucdlibs=''
krb5_config=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mib_module_list=''
mib_module_list_c=''
mib_module_list_h=''
mib_module_list_lo=''
mib_module_list_o=''
mibgroup_list_lo=''
mibgroup_list_o=''
module_list=''
module_list_c=''
module_list_h=''
module_list_lo=''
module_list_o=''
oldincludedir='/usr/include'
other_agentobjs=''
other_lagentobjs=''
other_lobjs_list=''
other_objs_list=''
other_src_list=''
other_trapd_objects=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
security_hdr_list=''
security_lobj_list=''
security_obj_list=''
security_src_list=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
transport_hdr_list=''
transport_lobj_list=''
transport_obj_list=''
transport_src_list=''

## ----------- ##
## confdefs.h. ##
## ----------- ##
mibgroup_list_lo=''
mibgroup_list_o=''
module_list=''
module_list_c=''
module_list_h=''
module_list_lo=''
module_list_o=''
oldincludedir='/usr/include'
other_agentobjs=''
other_lagentobjs=''
other_lobjs_list=''
other_objs_list=''
other_src_list=''
other_trapd_objects=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
security_hdr_list=''
security_lobj_list=''
security_obj_list=''
security_src_list=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
transport_hdr_list=''
transport_lobj_list=''
transport_obj_list=''
transport_src_list=''

## ----------- ##
## confdefs.h. ##
## ----------- ##
mibgroup_list_lo=''
mibgroup_list_o=''
module_list=''
module_list_c=''
module_list_h=''
module_list_lo=''
module_list_o=''
oldincludedir='/usr/include'
other_agentobjs=''
other_lagentobjs=''
other_lobjs_list=''
other_objs_list=''
other_src_list=''
other_trapd_objects=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
security_hdr_list=''
security_lobj_list=''
security_obj_list=''
security_src_list=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
transport_hdr_list=''
transport_lobj_list=''
transport_obj_list=''
transport_src_list=''

## ----------- ##
## confdefs.h. ##
## ----------- ##
#define CONFIGURE_OPTIONS ""
#define NO_DUMMY_VALUES 1
#define OPAQUE_SPECIAL_TYPES 1
#define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
#define PACKAGE_NAME "Net-SNMP"
#define PACKAGE_STRING "Net-SNMP 5.3.1"
#define PACKAGE_TARNAME "net-snmp"
#define PACKAGE_VERSION "5.3.1"
#define SCAPI_AUTHPRIV 1

configure: exit 77
 
Old 11-12-2009, 12:35 PM   #7
nikolocalhost
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Install a gcc

Quote:
Originally Posted by varunbharadwaj View Post
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Looks like you dont have any compiler, open your Package Manager (usually at System->Administration->Package Manger

Then search for "gcc" string at search box (package manager's window top), and select "gcc - GNU compiler" then press the button "Install/Update"

This will install the gcc compiler

Hope this be helpfull
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: C++ compiler cannot create executables dicou Linux - Newbie 15 12-22-2012 01:00 PM
configure: error: C compiler cannot create executables watashiwaotaku7 Linux - General 7 10-22-2009 09:40 AM
configure: error: installation or configuration problem: C++ compiler cannot create e abirami Linux - Software 28 01-23-2008 11:35 AM
configure: error: C compiler cannot create executables strimp099 Linux - Software 2 07-11-2005 07:23 PM
Problem with gcc: configure: error: C compiler cannot create executable abefroman Suse/Novell 4 05-11-2005 06:12 PM


All times are GMT -5. The time now is 04:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration