+ Responder ao Tópico



  1. #1
    ricardopaiva
    Visitante

    Padrão Compilar programa <<Erro>>

    Olá, estou tentando instalar o kamix, e esta dando o seguinte erro:

    [[email protected] kamix]# ./configure
    checking build system type... i686-pc-linux-gnulibc1
    checking host system type... i686-pc-linux-gnulibc1
    checking target system type... i686-pc-linux-gnulibc1
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for -p flag to install... yes
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    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.
    [[email protected] kamix]#

    Já instalei o pacote g++ e também não funcionou.

    Ricardo de Paiva Silva
    [email protected]

  2. #2

    Padrão Compilar programa <<Erro>>

    Posta o config.log ae.

    falows



  3. #3
    Visitante

    Padrão Compilar programa <<Erro>>

    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 = starfleet.localdomain
    uname -m = i686
    uname -r = 2.6.5-63077cl
    uname -s = Linux
    uname -v = #1 Thu Jun 17 21:29:07 BRT 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: /usr/lib/kde3/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /bin
    PATH: /usr/bin
    PATH: /usr/X11R6/bin
    PATH: /usr/local/bin
    PATH: /usr/bin/X11
    PATH: /usr/games
    PATH: /usr/lib/java2/bin
    PATH: /usr/lib/java2/jre/bin
    PATH: /usr/lib/qt3/bin


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

    configure:1545: checking build system type
    configure:1563: result: i686-pc-linux-gnulibc1
    configure:1571: checking host system type
    configure:1585: result: i686-pc-linux-gnulibc1
    configure:1593: checking target system type
    configure:1607: result: i686-pc-linux-gnulibc1
    configure:1654: checking for a BSD-compatible install
    configure:1709: result: /usr/bin/install -c
    configure:1724: checking for -p flag to install
    configure:1737: result: yes
    configure:1748: checking whether build environment is sane
    configure:1791: result: yes
    configure:1811: checking for gawk
    configure:1827: found /bin/gawk
    configure:1837: result: gawk
    configure:1847: checking whether make sets $(MAKE)
    configure:1867: result: yes
    configure:2073: checking for style of include used by make
    configure:2101: result: GNU
    configure:2248: checking for gcc
    configure:2264: found /usr/bin/gcc
    configure:2274: result: gcc
    configure:2518: checking for C compiler version
    configure:2521: gcc --version </dev/null >&5
    gcc (GCC) 3.3.3 (release)
    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:2524: $? = 0
    configure:2526: gcc -v </dev/null >&5
    Reading specs from /usr/lib/gcc-lib/i386-conectiva-linux/3.3.3/specs
    Configured with: ../configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --enable-shared --disable-checking --enable-long-long --enable-__cxa_atexit --enable-threads=posix --disable-libunwind-exceptions --enable-libgcj --enable-languages=c,c++,f77,objc,java --with-system-zlib --host=i386-conectiva-linux --target=i386-conectiva-linux --with-gxx_include_dir=/usr/include/c++/3.3.3
    Thread model: posix
    gcc version 3.3.3 (release)
    configure:2529: $? = 0
    configure:2531: gcc -V </dev/null >&5
    gcc: `-V' option must have argument
    configure:2534: $? = 1
    configure:2557: checking for C compiler default output file name
    configure:2560: gcc conftest.c >&5
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    configure:2563: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "kamix"
    | #define VERSION "3.1.0"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2602: error: C compiler cannot create executables
    See `config.log' for more details.

    ## ---------------- ##
    ## 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_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_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_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
    ac_cv_target=i686-pc-linux-gnulibc1
    ac_cv_target_alias=i686-pc-linux-gnulibc1

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

    ACLOCAL='${SHELL} /programas/kamix/admin/missing --run aclocal-1.6'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /programas/kamix/admin/missing --run tar'
    ARTSCCONFIG=''
    ARTSKDE=''
    AUTOCONF='${SHELL} /programas/kamix/admin/missing --run autoconf'
    AUTODIRS=''
    AUTOHEADER='${SHELL} /programas/kamix/admin/missing --run autoheader'
    AUTOMAKE='${SHELL} /programas/kamix/admin/missing --run automake-1.6'
    AWK='gawk'
    BROCKENBORING=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS=' '
    CONF_FILES=' $(top_srcdir)/configure.in.in'
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    DCOPIDL2CPP=''
    DCOPIDL=''
    DCOP_DEPENDENCIES=''
    DEFS=''
    DEPDIR='.deps'
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    FRAMEWORK_COREAUDIO=''
    GMSGFMT=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    KDECONFIG=''
    KDE_EXTRA_RPATH=''
    KDE_INCLUDES=''
    KDE_LDFLAGS=''
    KDE_MT_LDFLAGS=''
    KDE_MT_LIBS=''
    KDE_NO_UNDEFINED=''
    KDE_PLUGIN=''
    KDE_RPATH=''
    KDE_USE_CLOSURE_FALSE=''
    KDE_USE_CLOSURE_TRUE=''
    KDE_USE_FINAL_FALSE=''
    KDE_USE_FINAL_TRUE=''
    KDE_USE_NMCHECK_FALSE=''
    KDE_USE_NMCHECK_TRUE=''
    KDE_XSL_STYLESHEET=''
    LDFLAGS=''
    LIBCOMPAT=''
    LIBCRYPT=''
    LIBDL=''
    LIBJPEG=''
    LIBOBJS=''
    LIBPNG=''
    LIBPTHREAD=''
    LIBRESOLV=''
    LIBS=''
    LIBSM=''
    LIBSOCKET=''
    LIBTOOL=''
    LIBUCB=''
    LIBUTIL=''
    LIBZ=''
    LIB_KAB=''
    LIB_KABC=''
    LIB_KDECORE=''
    LIB_KDEPRINT=''
    LIB_KDEUI=''
    LIB_KFILE=''
    LIB_KFM=''
    LIB_KHTML=''
    LIB_KIO=''
    LIB_KPARTS=''
    LIB_KSPELL=''
    LIB_KSYCOCA=''
    LIB_POLL=''
    LIB_QPE=''
    LIB_QT=''
    LIB_SMB=''
    LIB_X11=''
    LIB_XEXT=''
    LIB_XRENDER=''
    LN_S=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /programas/kamix/admin/missing --run makeinfo'
    MCOPIDL=''
    MEINPROC=''
    MOC=''
    MSGFMT=''
    NOOPT_CFLAGS=''
    NOOPT_CXXFLAGS=''
    OBJEXT=''
    PACKAGE='kamix'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    QTE_NORTTI=''
    QT_INCLUDES=''
    QT_LDFLAGS=''
    RANLIB=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    TOPSUBDIRS=''
    UIC=''
    UIC_TR=''
    USER_INCLUDES=''
    USER_LDFLAGS=''
    USE_EXCEPTIONS=''
    USE_RTTI=''
    USE_THREADS=''
    VERSION='3.1.0'
    WOVERLOADED_VIRTUAL=''
    XGETTEXT=''
    X_EXTRA_LIBS=''
    X_INCLUDES=''
    X_LDFLAGS=''
    X_PRE_LIBS=''
    X_RPATH=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    all_includes=''
    all_libraries=''
    am__include='include'
    am__quote=''
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnulibc1'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnulibc1'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i686-pc-linux-gnulibc1'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnulibc1'
    host_vendor='pc'
    include_ARTS_FALSE=''
    include_ARTS_TRUE=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/programas/kamix/admin/install-sh'
    kde_appsdir=''
    kde_bindir=''
    kde_confdir=''
    kde_datadir=''
    kde_htmldir=''
    kde_icondir=''
    kde_includes=''
    kde_libraries=''
    kde_libs_htmldir=''
    kde_libs_prefix=''
    kde_locale=''
    kde_mimedir=''
    kde_moduledir=''
    kde_qtver=''
    kde_servicesdir=''
    kde_servicetypesdir=''
    kde_sounddir=''
    kde_styledir=''
    kde_templatesdir=''
    kde_wallpaperdir=''
    kde_widgetdir=''
    kdeinitdir=''
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    oldincludedir='/usr/include'
    prefix='/usr/lib/kde3'
    program_transform_name='s,x,x,'
    qt_includes=''
    qt_libraries=''
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i686-pc-linux-gnulibc1'
    target_alias=''
    target_cpu='i686'
    target_os='linux-gnulibc1'
    target_vendor='pc'
    x_includes='NONE'
    x_libraries='NONE'
    xdg_appsdir=''
    xdg_directorydir=''

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

    #define PACKAGE "kamix"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "3.1.0"

    configure: exit 77

  4. #4

    Padrão Compilar programa <<Erro>>

    /usr/bin/ld
    ve se tem esse arquivo ae no seu comp e se o path ta certo.


    falows



  5. #5
    Visitante

    Padrão Compilar programa <<Erro>>

    Olá.
    Eu tenho esse arquivo sim, e está na pasta citada.

  6. #6

    Padrão Compilar programa <<Erro>>

    crt1.o

    e esse tem??

    falows??

    PS: tem gcc na sua maquina??



  7. #7
    Visitante

    Padrão Compilar programa <<Erro>>

    O arquivo crt1.o eu não encontrei.
    Eu tenho o GCC instalado.

  8. #8
    nafre
    Visitante

    Padrão Compilar programa <<Erro>>

    Acho que o erro esta na configuração das variaveis do teu gcc de uma olhada no hellp do kamix para ver se ele passa alguma especificação para ser dada na hora da compilação...



  9. #9
    Visitante

    Padrão Compilar programa <<Erro>>

    Só que também fui tentar instalar o lmule, e também deu erro, mas agora foi no compilador C++

    [[email protected] lmule-1.3.1]# ./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 for g++... g++
    checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
    See `config.log' for more details.
    [[email protected] lmule-1.3.1]#

  10. #10
    Visitante

    Padrão Compilar programa <<Erro>>

    Eu instalei o pacote task-c++-delevel e passou esse erro, só que agora aparece outro erro:

    configure: error: libexpat not found

    Eu rpcurei pelo arquivo

    [[email protected] /]# locate libexpat
    /usr/lib/libexpat.so.0
    /usr/lib/libexpat.so.0.5.0
    [[email protected] /]#

    Ricardo de Paiva Silva
    [email protected]



  11. #11

    Padrão Compilar programa <<Erro>>

    Vc precisa instalar os pacotes glibc-devel e task-c-devel...

  12. #12
    Visitante

    Padrão Compilar programa <<Erro>>

    Olá.
    Ambos os pacotes já estavam instalados.



  13. #13
    Visitante

    Padrão Compilar programa <<Erro>>

    E quando tento instalar o kamix aparece esse erro.

    checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!