Página 3 de 4 PrimeiroPrimeiro 1234 ÚltimoÚltimo
+ Responder ao Tópico



  1. checking for C compiler default output... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    configure failed for srclib/apr
    Então, veja o config.log, talvez te ajude, se não conseguir resolver, cola aí pra galera.

  2. #12
    Alkaponi
    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.57. Invocation command line was

    $ ./configure

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

    hostname = debian
    uname -m = i686
    uname -r = 2.4.18-bf2.4
    uname -s = Linux
    uname -v = #1 Son Apr 14 09:53:28 CEST 2002

    /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: /sbin
    PATH: /usr/sbin
    PATH: /bin
    PATH: /usr/bin
    PATH: /usr/X11R6/bin
    PATH: /usr/local/bin


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

    configure:1584: checking for chosen layout
    configure:1586: result: Apache
    configure:2379: checking for working mkdir -p
    configure:2395: result: yes
    configure:2412: checking build system type
    configure:2430: result: i686-pc-linux-gnulibc1
    configure:2438: checking host system type
    configure:2452: result: i686-pc-linux-gnulibc1
    configure:2460: checking target system type
    configure:2474: result: i686-pc-linux-gnulibc1
    configure:2503: checking for APR
    configure:2563: result: reconfig

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

    ac_cv_build=i686-pc-linux-gnulibc1
    ac_cv_build_alias=i686-pc-linux-gnulibc1
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    debian:~/downloads/apache/httpd-2.0.52# cat config.log |more
    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.57. Invocation command line was

    $ ./configure --prefix=/usr/local/apache

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

    hostname = debian
    uname -m = i686
    uname -r = 2.4.18-bf2.4
    uname -s = Linux
    uname -v = #1 Son Apr 14 09:53:28 CEST 2002

    /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: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/bin/X11


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

    configure:1584: checking for chosen layout
    configure:1586: result: Apache
    configure:2379: checking for working mkdir -p
    configure:2395: result: yes
    configure:2412: checking build system type
    configure:2430: result: i686-pc-linux-gnulibc1
    configure:2438: checking host system type
    configure:2452: result: i686-pc-linux-gnulibc1
    configure:2460: checking target system type
    configure:2474: result: i686-pc-linux-gnulibc1
    configure:2503: checking for APR
    configure:2563: result: reconfig

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

    ac_cv_build=i686-pc-linux-gnulibc1
    ac_cv_build_alias=i686-pc-linux-gnulibc1
    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-gnulibc1
    ac_cv_host_alias=i686-pc-linux-gnulibc1
    ac_cv_mkdir_p=yes
    ac_cv_target=i686-pc-linux-gnulibc1
    ac_cv_target_alias=i686-pc-linux-gnulibc1

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

    APACHECTL_ULIMIT=''
    APR_BINDIR=''
    APR_INCLUDEDIR=''
    APU_BINDIR=''
    APU_INCLUDEDIR=''
    AP_BUILD_SRCLIB_DIRS=''
    AP_CLEAN_SRCLIB_DIRS=''
    AP_LIBS=''
    AP_SIG_GRACEFUL=''
    AP_SIG_GRACEFUL_SHORT=''
    AP_SIG_GRACEFUL_STRING=''
    AWK=''
    BUILTIN_LIBS=''
    CC=''
    CFLAGS=''
    CORE_IMPLIB=''
    CORE_IMPLIB_FILE=''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXFLAGS=''
    DEFS=''
    DSO_MODULES=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    EXTRA_CFLAGS=''
    EXTRA_CPPFLAGS=''
    EXTRA_CXXFLAGS=''
    EXTRA_INCLUDES=''
    EXTRA_LDFLAGS=''
    EXTRA_LIBS=''
    HTTPD_LDFLAGS=''
    INCLUDES=''
    INSTALL_DATA=''
    INSTALL_PROGRAM=''
    INSTALL_PROG_FLAGS=''
    INSTALL_SCRIPT=''
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S=''
    LTCFLAGS=''
    LTFLAGS=''
    LTLIBOBJS=''
    LT_LDFLAGS=''
    MK_IMPLIB=''
    MODULE_CLEANDIRS=''
    MODULE_DIRS=''
    MPM_LIB=''
    MPM_NAME=''
    MPM_SUBDIR_NAME=''
    NOTEST_CFLAGS=''
    NOTEST_CPPFLAGS=''
    NOTEST_CXXFLAGS=''
    NOTEST_LDFLAGS=''
    NOTEST_LIBS=''
    OBJEXT=''
    OS=''
    OS_DIR=''
    OS_SPECIFIC_VARS=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PORT=''
    POST_SHARED_CMDS=''
    PRE_SHARED_CMDS=''
    RANLIB=''
    RM=''
    SHELL='/bin/sh'
    SHLIBPATH_VAR=''
    SHLTCFLAGS=''
    SH_LDFLAGS=''
    SH_LIBS=''
    SH_LIBTOOL=''
    UTIL_LDFLAGS=''
    ab_LTFLAGS=''
    abs_srcdir=''
    ac_ct_CC=''
    ac_ct_RANLIB=''
    ap_make_delimiter=''
    ap_make_include=''
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnulibc1'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnulibc1'
    build_vendor='pc'
    cgidir='${datadir}/cgi-bin'
    checkgid_LTFLAGS=''
    datadir='${prefix}'
    errordir='${datadir}/error'
    exec_prefix='${prefix}'
    exp_bindir='/usr/local/apache/bin'
    exp_cgidir='/usr/local/apache/cgi-bin'
    exp_datadir='/usr/local/apache'
    exp_errordir='/usr/local/apache/error'
    exp_exec_prefix='/usr/local/apache'
    exp_htdocsdir='/usr/local/apache/htdocs'
    exp_iconsdir='/usr/local/apache/icons'
    exp_includedir='/usr/local/apache/include'
    exp_installbuilddir='/usr/local/apache/build'
    exp_libdir='/usr/local/apache/lib'
    exp_libexecdir='/usr/local/apache/modules'
    exp_localstatedir='/usr/local/apache'
    exp_logfiledir='/usr/local/apache/logs'
    exp_mandir='/usr/local/apache/man'
    exp_manualdir='/usr/local/apache/manual'
    exp_proxycachedir='/usr/local/apache/proxy'
    exp_runtimedir='/usr/local/apache/logs'
    exp_sbindir='/usr/local/apache/bin'
    exp_sysconfdir='/usr/local/apache/conf'
    host='i686-pc-linux-gnulibc1'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnulibc1'
    host_vendor='pc'
    htdbm_LTFLAGS=''
    htdigest_LTFLAGS=''
    htdocsdir='${datadir}/htdocs'
    htpasswd_LTFLAGS=''
    iconsdir='${datadir}/icons'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    installbuilddir='${datadir}/build'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/modules'
    localstatedir='${prefix}'
    logfiledir='${localstatedir}/logs'
    logresolve_LTFLAGS=''
    mandir='${prefix}/man'
    manualdir='${datadir}/manual'
    nonssl_listen_stmt_1=''
    nonssl_listen_stmt_2=''
    oldincludedir='/usr/include'
    other_targets=''
    perlbin=''
    prefix='/usr/local/apache'
    progname=''
    program_transform_name='s,x,x,'
    proxycachedir='${localstatedir}/proxy'
    rel_bindir='bin'
    rel_cgidir='cgi-bin'
    rel_datadir=''
    rel_errordir='error'
    rel_exec_prefix=''
    rel_htdocsdir='htdocs'
    rel_iconsdir='icons'
    rel_includedir='include'
    rel_installbuilddir='build'
    rel_libdir='lib'
    rel_libexecdir='modules'
    rel_localstatedir=''
    rel_logfiledir='logs'
    rel_mandir='man'
    rel_manualdir='manual'
    rel_proxycachedir='proxy'
    rel_runtimedir='logs'
    rel_sbindir='bin'
    rel_sysconfdir='conf'
    rotatelogs_LTFLAGS=''
    runtimedir='${localstatedir}/logs'
    sbindir='${exec_prefix}/bin'
    shared_build=''
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/conf'
    target='i686-pc-linux-gnulibc1'
    target_alias=''
    target_cpu='i686'
    target_os='linux-gnulibc1'
    target_vendor='pc'

    configure: exit 1



  3. dá um:

    which cc gcc

    tem os 2 compiladores ?
    se tiver o cc também, tenta isto:

    # CC=gcc
    # ./configure

    Assim ele vai executar o gcc ao invez do cc.. talvez resolva.
    Posta o resultado ai..

    Abraços

  4. #14
    Alkaponi
    which cc gcc
    /usr/bin/cc
    /usr/bin/gcc

    CC=gcc
    ./configure

    o mesmo erro



  5. Bom, realmente não sei como resolver da "maneira fácil".
    Você consegue compilar outros programas normalmente ?
    Se quiser testar rapidamente, crie um arquivo qualquer e salve isto nele:
    Código :
    #include <stdio.h>
    int main(void)
    {
        printf("funcionou");
        return 0;
    }

    Agora tente compilar "gcc -o teste teste.c".

    Se não funcionar, reinstale o GCC..






Tópicos Similares

  1. VPN + Compilação
    Por calthc no fórum Servidores de Rede
    Respostas: 1
    Último Post: 10-06-2003, 08:43
  2. Compilação!!!!!!!!!
    Por mmacoli no fórum Servidores de Rede
    Respostas: 1
    Último Post: 24-05-2003, 07:37
  3. compilação de driver da avaya em redhat8
    Por lestat no fórum Redes
    Respostas: 2
    Último Post: 09-04-2003, 16:31
  4. compilação do apache
    Por falf no fórum Servidores de Rede
    Respostas: 8
    Último Post: 26-12-2002, 14:09
  5. Compilação do ARC COMPRESS?
    Por marcfee no fórum Servidores de Rede
    Respostas: 3
    Último Post: 20-12-2002, 15:55

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L