Results 1 to 2 of 2

Thread: configure: error: C compiler cannot create executables ?

  1. #1
    Junior Member
    Join Date
    Sep 2008
    Posts
    2

    configure: error: C compiler cannot create executables ?

    configure: error: C compiler cannot create executables

    I am running the prior release of the KNOPPIX CD and did the recommended apt-get -f command to resolve a few package issues as receommended by the apt-get command... now I am getting the above message from every source pkg complie. using ./configure. Previous source tarballs (tgz and tar.gz) complied fine...

    1) Have I done something I can't undo?

    2) If no, how do I undo whatever apt-get did ?

    I didnt see an answer to this question in the FAQ.

    Thanks

    ===== Trail of the error =========
    root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install build-essential
    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    build-essential: Depends: libc6-dev but it is not going to be installed or
    libc-dev
    Depends: g++ (>= 4:4.3.1) but it is not going to be installed
    locales: Depends: glibc-2.7-1
    ymessenger: Depends: libgdk-pixbuf2 (>= 0.13.0) but it is not going to be installed
    Depends: libssl0.9.6 but it is not installable
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get -f install
    Reading package lists... Done
    Building dependency tree... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    libc6 libgdk-pixbuf2
    Suggested packages:
    glibc-doc libc6-i686
    The following packages will be REMOVED:
    ymessenger
    The following NEW packages will be installed:
    libgdk-pixbuf2
    The following packages will be upgraded:
    libc6
    1 upgraded, 1 newly installed, 1 to remove and 1063 not upgraded.
    4 not fully installed or removed.
    Need to get 0B/4606kB of archives.
    After unpacking 938kB disk space will be freed.
    Do you want to continue [Y/n]? y
    Preconfiguring packages ...
    (Reading database ... 108834 files and directories currently installed.)
    Removing ymessenger ...
    (Reading database ... 108824 files and directories currently installed.)
    Preparing to replace libc6 2.3.6.ds1-8 (using .../archives/libc6_2.7-13_i386.deb) ...
    Checking for services that may need to be restarted...
    Checking init scripts...
    Matching libraries: /UNIONFS/lib/libc.so.6

    Another copy of the C library was found via /etc/ld.so.conf.
    It is not safe to upgrade the C library in this situation;
    please remove the directory from /etc/ld.so.conf and try again.
    dpkg: error processing /var/cache/apt/archives/libc6_2.7-13_i386.deb (--unpack):
    subprocess pre-installation script returned error exit status 1
    Errors were encountered while processing:
    /var/cache/apt/archives/libc6_2.7-13_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install build-essential
    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    build-essential: Depends: libc6-dev but it is not going to be installed or
    libc-dev
    Depends: g++ (>= 4:4.3.1) but it is not going to be installed
    locales: Depends: glibc-2.7-1
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# ./configure
    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 mawk... mawk
    checking whether make sets $(MAKE)... yes
    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.

    =========================ATTEMPTS TO REPAIR =============
    root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install --fix-broken
    Reading package lists... Done
    Building dependency tree... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    libc6
    Suggested packages:
    glibc-doc libc6-i686
    The following packages will be upgraded:
    libc6
    1 upgraded, 0 newly installed, 0 to remove and 1063 not upgraded.
    3 not fully installed or removed.
    Need to get 0B/4437kB of archives.
    After unpacking 594kB disk space will be freed.
    Do you want to continue [Y/n]? y
    Preconfiguring packages ...
    (Reading database ... 108824 files and directories currently installed.)
    Preparing to replace libc6 2.3.6.ds1-8 (using .../archives/libc6_2.7-13_i386.deb) ...
    Checking for services that may need to be restarted...
    Checking init scripts...
    Matching libraries: /UNIONFS/lib/libc.so.6

    Another copy of the C library was found via /etc/ld.so.conf.
    It is not safe to upgrade the C library in this situation;
    please remove the directory from /etc/ld.so.conf and try again.
    dpkg: error processing /var/cache/apt/archives/libc6_2.7-13_i386.deb (--unpack):
    subprocess pre-installation script returned error exit status 1
    Errors were encountered while processing:
    /var/cache/apt/archives/libc6_2.7-13_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #2
    Junior Member
    Join Date
    Sep 2008
    Posts
    2

    ADDED configure: error: C compiler cannot create executables

    I've added the details of the failed compile which gives the specific details from the ./configure step that failed and the diag output here ...

    knoppix@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5$ cat 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.62. Invocation command line was

    $ ./configure

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

    hostname = Knoppix
    uname -m = i686
    uname -r = 2.6.19
    uname -s = Linux
    uname -v = #7 SMP PREEMPT Sun Dec 17 22:01:07 CET 2006

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

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

    PATH: /home/knoppix/.dist/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/X11R6/bin
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/games
    PATH: /usr/NX/bin
    PATH: .


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

    configure:2037: checking for a BSD-compatible install
    configure:2105: result: /usr/bin/install -c
    configure:2116: checking whether build environment is sane
    configure:2159: result: yes
    configure:2184: checking for a thread-safe mkdir -p
    configure:2223: result: /bin/mkdir -p
    configure:2236: checking for mawk
    configure:2252: found /usr/bin/mawk
    configure:2263: result: mawk
    configure:2274: checking whether make sets $(MAKE)
    configure:2296: result: yes
    configure:3148: checking for gcc
    configure:3164: found /usr/bin/gcc
    configure:3175: result: gcc
    configure:3413: checking for C compiler version
    configure:3421: gcc --version >&5
    gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
    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:3425: $? = 0
    configure:3432: gcc -v >&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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
    Thread model: posix
    gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
    configure:3436: $? = 0
    configure:3443: gcc -V >&5
    gcc: '-V' option must have argument
    configure:3447: $? = 1
    configure:3470: checking for C compiler default output file name
    configure:3492: gcc conftest.c >&5
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    configure:3496: $? = 1
    configure:3534: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "tpop3d"
    | #define VERSION "1.5.5"
    | #define TPOP3D_VERSION "1.5.5"
    | #define AUTH_PAM 1
    | #define MBOX_BSD 1
    | #define WITH_CCLIENT_LOCKING 1
    | #define WITH_DOTFILE_LOCKING 1
    | #define WITH_FCNTL_LOCKING 1
    | #define IGNORE_CCLIENT_METADATA 1
    | #define MASS_HOSTING 1
    | #define SHA1_PASSWORDS 1
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3541: 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_LIBS_set=
    ac_cv_env_LIBS_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_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=mawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes

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

    ACLOCAL='${SHELL} /media/sdd1/tpop3d/tpop3d-1.5.5/config/missing --run aclocal-1.10'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /media/sdd1/tpop3d/tpop3d-1.5.5/config/missing --run tar'
    AUTOCONF='${SHELL} /media/sdd1/tpop3d/tpop3d-1.5.5/config/missing --run autoconf'
    AUTOHEADER='${SHELL} /media/sdd1/tpop3d/tpop3d-1.5.5/config/missing --run autoheader'
    AUTOMAKE='${SHELL} /media/sdd1/tpop3d/tpop3d-1.5.5/config/missing --run automake-1.10'
    AWK='mawk'
    CC='gcc'
    CCDEPMODE=''
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GREP=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /media/sdd1/tpop3d/tpop3d-1.5.5/config/missing --run makeinfo'
    MKDIR_P='/bin/mkdir -p'
    OBJEXT=''
    PACKAGE='tpop3d'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PERL=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    VERSION='1.5.5'
    ac_aux_dir='config'
    ac_ct_CC='gcc'
    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_alias=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host_alias=''
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='$(SHELL) /media/sdd1/tpop3d/tpop3d-1.5.5/config/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

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

    #define PACKAGE_NAME ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define PACKAGE_STRING ""
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE "tpop3d"
    #define VERSION "1.5.5"
    #define TPOP3D_VERSION "1.5.5"
    #define AUTH_PAM 1
    #define MBOX_BSD 1
    #define WITH_CCLIENT_LOCKING 1
    #define WITH_DOTFILE_LOCKING 1
    #define WITH_FCNTL_LOCKING 1
    #define IGNORE_CCLIENT_METADATA 1
    #define MASS_HOSTING 1
    #define SHA1_PASSWORDS 1

    configure: exit 77I

Similar Threads

  1. No $QTDIR variable, configure error
    By transistortoaster in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-04-2009, 12:50 PM
  2. Compiler Question
    By AlphaXero in forum General Support
    Replies: 0
    Last Post: 07-31-2008, 07:43 PM
  3. Replies: 1
    Last Post: 11-15-2004, 07:58 PM
  4. cant create user / getting error
    By stillstanding in forum General Support
    Replies: 4
    Last Post: 04-23-2004, 09:39 PM
  5. CC-Compiler & apt-get
    By Ralf79 in forum General Support
    Replies: 0
    Last Post: 11-26-2003, 09:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Yealink T48S VoIP/SIP Phone, 2 x Gigabit Ports PoE 7

Yealink T48S VoIP/SIP Phone, 2 x Gigabit Ports PoE 7" Color SIP-T48S | TESTED

$34.95



SIM Bank 32 SIM Card Slots Ethernet SIM Server for GoIP picture

SIM Bank 32 SIM Card Slots Ethernet SIM Server for GoIP

$400.00



Poly CCX 400 Desktop Business Media Phone VoIP 2200-49700-019 picture

Poly CCX 400 Desktop Business Media Phone VoIP 2200-49700-019

$49.99



Grandstream VoIP Phone Adapter ATA 1-Line Black Ethernet (RJ-45) Micro USB picture

Grandstream VoIP Phone Adapter ATA 1-Line Black Ethernet (RJ-45) Micro USB

$27.07



Yealink SIP-T33G IP Phone 4-LineSpeakerphone VoIP Desk Phone Black w/ Power Sply picture

Yealink SIP-T33G IP Phone 4-LineSpeakerphone VoIP Desk Phone Black w/ Power Sply

$25.00



Grandstream HT701 1-Port FXS Analog Telephone Adapter ATA VoIP Gateway -Free S/H picture

Grandstream HT701 1-Port FXS Analog Telephone Adapter ATA VoIP Gateway -Free S/H

$19.99



Yealink SIP-T48S Ultra-Elegant Gigabit IP Phone 16-Line 7in VoIP Phone  picture

Yealink SIP-T48S Ultra-Elegant Gigabit IP Phone 16-Line 7in VoIP Phone

$89.00



Grandstream WP810 Portable Cordless Wi-Fi IP Phone picture

Grandstream WP810 Portable Cordless Wi-Fi IP Phone

$49.28



Lot Of 5 Poly Edge E550 82M91AA IP Desktop Phone PoE New In Box picture

Lot Of 5 Poly Edge E550 82M91AA IP Desktop Phone PoE New In Box

$1500.00



YEALINK  W60B DECT VoIP BASE STATION VOIP SIP FOR UP TO 8 HANDSETS + OEM ADPTR picture

YEALINK W60B DECT VoIP BASE STATION VOIP SIP FOR UP TO 8 HANDSETS + OEM ADPTR

$50.00