Visualizzazione dei risultati da 1 a 8 su 8
  1. #1

    non riesco a installare software non pacchettizzato.

    Sto provando a installare alcuni programmi non pacchettizzati che ho trovato su di una rivista Linux. Avvio tutta la procedura solita dalla shell scompattando gli archivi e cominciando col comando./configure. Dopo che il sistema ha dato inizio alla configurazione immancabilmente mi dice questo: error: C compiler cannot create executables. Questo è il risultato di uno degli ultimi tentativi che ho fatto per installare un programma: (comunque anche con altri software il riusultato è stato simile)

    root@Phobos:~/gnome-commander-1.2.2# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for GDU_MODULE_VERSION_CHECK... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    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.
    root@Phobos:~/gnome-commander-1.2.2#

    Ho sentito che potrebbe trattarsi di un problema con il codice sorgente di alcune librerie che sono necessarie durante la creazione dell'eseguibile. E' così? In che modo si potrebbe ovviare?

    Ciao e grazie in anticipo a tutti!!
    Nico

  2. #2
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    a parte gawk sembrerebbe tutto in regola, prova a controllare il config.log (così come suggerito) e vediamo se ci sono maggiori informazioni.

    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  3. #3

    config.log

    ecco qui il risultato del file config.log. A dire la verità non è che ci capisca poi molto:

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

    It was created by gnome-commander configure 1.2.2, which was
    generated by GNU Autoconf 2.59. Invocation command line was

    $ ./configure

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

    hostname = Phobos
    uname -m = i686
    uname -r = 2.6.17-10-generic
    uname -s = Linux
    uname -v = #2 SMP Fri Oct 13 18:45:35 UTC 2006

    /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
    PATH: /usr/games


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

    configure:1626: checking for a BSD-compatible install
    configure:1681: result: /usr/bin/install -c
    configure:1692: checking whether build environment is sane
    configure:1735: result: yes
    configure:1800: checking for gawk
    configure:1829: result: no
    configure:1800: checking for mawk
    configure:1816: found /usr/bin/mawk
    configure:1826: result: mawk
    configure:1836: checking whether make sets $(MAKE)
    configure:1856: result: yes
    configure:2073: checking for pkg-config
    configure:2091: found /usr/bin/pkg-config
    configure:2103: result: /usr/bin/pkg-config
    configure:2118: checking pkg-config is at least version 0.9.0
    configure:2121: result: yes
    configure:2139: checking for GDU_MODULE_VERSION_CHECK
    configure:2147: $PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $GDU_REQUIRED_VERSION"
    configure:2150: $? = 0
    configure:2165: $PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $GDU_REQUIRED_VERSION"
    configure:2168: $? = 0
    configure:2244: result: yes
    configure:2303: checking whether to enable maintainer-specific portions of Makefiles
    configure:2312: result: no
    configure:2376: checking for gcc
    configure:2392: found /usr/bin/gcc
    configure:2402: result: gcc
    configure:2646: checking for C compiler version
    configure:2649: gcc --version </dev/null >&5
    gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
    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:2652: $? = 0
    configure:2654: 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 --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.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
    configure:2657: $? = 0
    configure:2659: gcc -V </dev/null >&5
    gcc: '-V' option must have argument
    configure:2662: $? = 1
    configure:2685: checking for C compiler default output file name
    configure:2688: gcc conftest.c >&5
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    configure:2691: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME "gnome-commander"
    | #define PACKAGE_TARNAME "gnome-commander"
    | #define PACKAGE_VERSION "1.2.2"
    | #define PACKAGE_STRING "gnome-commander 1.2.2"
    | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-commander"
    | #define PACKAGE "gnome-commander"
    | #define VERSION "1.2.2"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2730: 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_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_EXIF_CFLAGS_set=
    ac_cv_env_EXIF_CFLAGS_value=
    ac_cv_env_EXIF_LIBS_set=
    ac_cv_env_EXIF_LIBS_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_value=
    ac_cv_env_GDU_MODULE_VERSION_CHECK_CFLAGS_set=
    ac_cv_env_GDU_MODULE_VERSION_CHECK_CFLAGS_value=
    ac_cv_env_GDU_MODULE_VERSION_CHECK_LIBS_set=
    ac_cv_env_GDU_MODULE_VERSION_CHECK_LIBS_value=
    ac_cv_env_IPTCDATA_CFLAGS_set=
    ac_cv_env_IPTCDATA_CFLAGS_value=
    ac_cv_env_IPTCDATA_LIBS_set=
    ac_cv_env_IPTCDATA_LIBS_value=
    ac_cv_env_LCMS_CFLAGS_set=
    ac_cv_env_LCMS_CFLAGS_value=
    ac_cv_env_LCMS_LIBS_set=
    ac_cv_env_LCMS_LIBS_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_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_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=mawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    pkg_cv_GDU_MODULE_VERSION_CHECK_CFLAGS=' '
    pkg_cv_GDU_MODULE_VERSION_CHECK_LIBS=' '

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

    ACLOCAL='${SHELL} /home/nico/gnome-commander-1.2.2/missing --run aclocal-1.9'
    ACLOCAL_AMFLAGS=''
    ALL_LINGUAS=''
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/nico/gnome-commander-1.2.2/missing --run tar'
    AR=''
    AUTOCONF='${SHELL} /home/nico/gnome-commander-1.2.2/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/nico/gnome-commander-1.2.2/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/nico/gnome-commander-1.2.2/missing --run automake-1.9'
    AWK='mawk'
    CATALOGS=''
    CATOBJEXT=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    CYGPATH_W='echo'
    DATADIRNAME=''
    DEFS=''
    DEPDIR=''
    DOC_USER_FORMATS=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_LCMS_FALSE=''
    ENABLE_LCMS_TRUE=''
    ENABLE_SK_FALSE='#'
    ENABLE_SK_TRUE=''
    EXEEXT=''
    EXIF_CFLAGS=''
    EXIF_LIBS=''
    F77=''
    FFLAGS=''
    GDU_MODULE_VERSION_CHECK_CFLAGS=' '
    GDU_MODULE_VERSION_CHECK_LIBS=' '
    GETTEXT_PACKAGE=''
    GLIB_CFLAGS=''
    GLIB_LIBS=''
    GLIB_PREFIX=''
    GLIB_VERSION=''
    GMODULE_AVAIL=''
    GMOFILES=''
    GMSGFMT=''
    GNOMEUI_CFLAGS=''
    GNOMEUI_LIBS=''
    GNOMEUI_PREFIX=''
    GNOMEUI_VERSION=''
    GNOMEVFS_CFLAGS=''
    GNOMEVFS_LIBS=''
    GNOMEVFS_PREFIX=''
    GNOMEVFS_VERSION=''
    GNOME_CFLAGS=''
    GNOME_LIBS=''
    GNOME_PREFIX=''
    GNOME_VERSION=''
    GTK_CFLAGS=''
    GTK_LIBS=''
    GTK_PREFIX=''
    GTK_VERSION=''
    HAVE_CHM_FALSE=''
    HAVE_CHM_TRUE=''
    HELP_DIR='${datadir}/gnome/help'
    ID3LIB_REQ=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    INSTOBJEXT=''
    INTLLIBS=''
    INTLTOOL_CAVES_RULE=''
    INTLTOOL_DESKTOP_RULE=''
    INTLTOOL_DIRECTORY_RULE=''
    INTLTOOL_EXTRACT=''
    INTLTOOL_ICONV=''
    INTLTOOL_KBD_RULE=''
    INTLTOOL_KEYS_RULE=''
    INTLTOOL_MERGE=''
    INTLTOOL_MSGFMT=''
    INTLTOOL_MSGMERGE=''
    INTLTOOL_OAF_RULE=''
    INTLTOOL_PERL=''
    INTLTOOL_PONG_RULE=''
    INTLTOOL_PROP_RULE=''
    INTLTOOL_SCHEMAS_RULE=''
    INTLTOOL_SERVER_RULE=''
    INTLTOOL_SERVICE_RULE=''
    INTLTOOL_SHEET_RULE=''
    INTLTOOL_SOUNDLIST_RULE=''
    INTLTOOL_THEME_RULE=''
    INTLTOOL_UI_RULE=''
    INTLTOOL_UPDATE=''
    INTLTOOL_XAM_RULE=''
    INTLTOOL_XGETTEXT=''
    INTLTOOL_XML_NOMERGE_RULE=''
    INTLTOOL_XML_RULE=''
    IPTCDATA_CFLAGS=''
    IPTCDATA_LIBS=''
    LCMS_CFLAGS=''
    LCMS_LIBS=''
    LDFLAGS=''
    LEX=''
    LEXLIB=''
    LEX_OUTPUT_ROOT=''
    LIBEXIF_REQ=''
    LIBIPTCDATA_REQ=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S=''
    LTLIBOBJS=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /home/nico/gnome-commander-1.2.2/missing --run makeinfo'
    MKINSTALLDIRS=''
    MSGFMT=''
    OBJEXT=''
    OMF_DIR='${datadir}/omf'
    PACKAGE='gnome-commander'
    PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-commander'
    PACKAGE_NAME='gnome-commander'
    PACKAGE_STRING='gnome-commander 1.2.2'
    PACKAGE_TARNAME='gnome-commander'
    PACKAGE_VERSION='1.2.2'
    PATH_SEPARATOR=':'
    PKG_CONFIG='/usr/bin/pkg-config'
    PLUGIN_LIBTOOL_FLAGS=''
    POFILES=''
    POSUB=''
    PO_IN_DATADIR_FALSE=''
    PO_IN_DATADIR_TRUE=''
    PREFIX=''
    RANLIB=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/bash'
    STRIP=''
    USE_NLS=''
    VERSION='1.2.2'
    XGETTEXT=''
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_F77=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    ac_pt_PKG_CONFIG='/usr/bin/pkg-config'
    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'
    exec_prefix='NONE'
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/home/nico/gnome-commander-1.2.2/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 "gnome-commander"
    #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-commander"
    #define PACKAGE_NAME "gnome-commander"
    #define PACKAGE_STRING "gnome-commander 1.2.2"
    #define PACKAGE_TARNAME "gnome-commander"
    #define PACKAGE_VERSION "1.2.2"
    #define VERSION "1.2.2"

    configure: exit 77
    Nico

  4. #4
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    il problema o, quello più evidente, potrebbe essere questo:

    /usr/bin/ld: crt1.o: No such file: No such file or directory

    controlla di avere installato il pacchetto libc6-dev

    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  5. #5
    scusa se approfitto della tua gentilezza ma il pacchetto libc6-dev non ce l'ho proprio ne installato e nemmeno lo trovo sul synaptic! Come potrei fare a trovarlo?


    Nico

  6. #6
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    ho trovato Questo vedi se ti può essere utile.

    controlla anche l'installazione del pacchetto glibc-devel

    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  7. #7
    come non detto!!!!
    Sono riuscito a combinare trovando le librerie necessarie e.............avevi perfettamente ragione, dopo aver installato il pacchetto libc6-dev funziona a meraviglia!!!!!

    Grazie e alla prossima
    Nico

  8. #8
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    lieto che tu sia riuscito a risolvere

    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.