Menu

v1.12 configure error in Ubuntu 7.10

Help
2008-02-11
2013-04-22
  • Eduardo Montoya

    Eduardo Montoya - 2008-02-11

    Hi, I just downloaded Cppunit 1.12 and when trying to execute the configure script got this error:

    $ ./configure checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.

    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 configure, which was
    generated by GNU Autoconf 2.59.  Invocation command line was

      $ ./configure

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

    hostname = Eduardo-Ubuntu
    uname -m = i686
    uname -r = 2.6.22-14-generic
    uname -s = Linux
    uname -v = #1 SMP Fri Feb 1 04:59:50 UTC 2008

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

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

    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/games

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

    configure:1579: checking for a BSD-compatible install
    configure:1634: result: /usr/bin/install -c
    configure:1645: checking whether build environment is sane
    configure:1688: result: yes
    configure:1753: checking for gawk
    configure:1769: found /usr/bin/gawk
    configure:1779: result: gawk
    configure:1789: checking whether make sets $(MAKE)
    configure:1809: result: yes
    configure:1982: checking whether make sets $(MAKE)
    configure:2002: result: yes
    configure:2024: checking for a BSD-compatible install
    configure:2079: result: /usr/bin/install -c
    configure:2142: checking for gcc
    configure:2168: result: gcc
    configure:2412: checking for C compiler version
    configure:2415: gcc --version </dev/null >&5
    gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
    Copyright (C) 2006 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:2418: $? = 0
    configure:2420: gcc -v </dev/null >&5
    Using built-in specs.
    Target: i486-linux-gnu
    Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
    Thread model: posix
    gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
    configure:2423: $? = 0
    configure:2425: gcc -V </dev/null >&5
    gcc: '-V' option must have argument
    configure:2428: $? = 1
    configure:2451: checking for C compiler default output file name
    configure:2454: gcc    conftest.c  >&5
    conftest.c:1: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    For Debian GNU/Linux specific bug reporting instructions,
    see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
    configure:2457: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "cppunit"
    | #define VERSION "1.12.0"
    | /* end confdefs.h.  */
    |
    | int
    | main ()
    | {
    |
    |   ;
    |   return 0;
    | }
    configure:2496: error: C compiler cannot create executables
    See `config.log' for more details.

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

    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_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_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_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes

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

    ACLOCAL='${SHELL} /home/edmont/Desktop/cppunit-1.12.0/config/missing --run aclocal-1.9'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/edmont/Desktop/cppunit-1.12.0/config/missing --run tar'
    AR=''
    AS=''
    AUTOCONF='${SHELL} /home/edmont/Desktop/cppunit-1.12.0/config/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/edmont/Desktop/cppunit-1.12.0/config/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/edmont/Desktop/cppunit-1.12.0/config/missing --run automake-1.9'
    AWK='gawk'
    CC='gcc'
    CCDEPMODE=''
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    CPPUNIT_BINARY_AGE='0'
    CPPUNIT_INTERFACE_AGE='0'
    CPPUNIT_MAJOR_VERSION='1'
    CPPUNIT_MICRO_VERSION='0'
    CPPUNIT_MINOR_VERSION='12'
    CPPUNIT_VERSION='1.12.0'
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    DLLTOOL=''
    DOC_FALSE=''
    DOC_TRUE=''
    DOT=''
    DOXYGEN=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    F77=''
    FFLAGS=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    LDFLAGS=''
    LIBADD_DL=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S=''
    LTLIBOBJS=''
    LT_AGE='0'
    LT_CURRENT='0'
    LT_RELEASE='1.12'
    LT_REVISION='0'
    MAKEINFO='${SHELL} /home/edmont/Desktop/cppunit-1.12.0/config/missing --run makeinfo'
    OBJDUMP=''
    OBJEXT=''
    PACKAGE='cppunit'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    RANLIB=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    VERSION='1.12.0'
    ac_ct_AR=''
    ac_ct_AS=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_DLLTOOL=''
    ac_ct_F77=''
    ac_ct_OBJDUMP=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build=''
    build_alias=''
    build_cpu=''
    build_os=''
    build_vendor=''
    datadir='${prefix}/share'
    enable_dot=''
    enable_html_docs=''
    enable_latex_docs=''
    exec_prefix='NONE'
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/home/edmont/Desktop/cppunit-1.12.0/config/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='mkdir -p --'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

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

    #define PACKAGE "cppunit"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "1.12.0"

    configure: exit 77

    Any idea of what is the problem? Thanks.

     
    • Eduardo Montoya

      Eduardo Montoya - 2008-02-11

      Ok, I tried the same with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) in another machine and got a similar problem, but worked fine after apt-geting libc6-dev. Now I don't know if the problem has to do with the compiler version or with the hardware. The problematic machine is an iMac (Late 2006) with Ubuntu 7.10 and libc6-dev installed.

       
    • Eduardo Montoya

      Eduardo Montoya - 2008-02-11

      sudo apt-get install libc6-dev-amd64

      :)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.