This is the old SliTaz forum - Please use the main forum.slitaz.org

gcc funktioniert nicht.
  • linuxdummilinuxdummi September 2010
    Hallo, bin neu hier. Ich wollte mir das Programm gtkdiskfree aus Quellen kompilieren, da dieses in den Slitaz-Paketquellen nicht vorhanden ist. Also erstmal gcc und so weiter aus den Slitaz-Quellen installiert. Hier mal die Ausgabe des XTerm:
    ~/gtkdiskfree-1.6.5$ ./configure
    loading cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... yes
    checking for working aclocal... found
    checking for working autoconf... found
    checking for working automake... found
    checking for working autoheader... found
    checking for working makeinfo... found
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... no
    configure: error: installation or configuration problem: C compiler cannot create executables. Habe ich was falsch gemacht, oder muß man gcc noch irgendwie konfigurieren? Slitaz-Version ist Slitaz 3.0 stable, gcc ist gcc4.4.1. Hoffe auf Hilfe.

  • minilinminilin September 2010
    Hast Du es als root ausgeführt?

    Gruß minilin
  • linuxdummilinuxdummi September 2010
    Ja habe ich auch, das selbe Ergebnis. Normalerweise fürt man ./configure, make als normaler User aus und make install dann als root.
    Inzwischen funktioniert gcc, habe noch ein paar Pakete mit Endung .dev installiert. Habe ein bisschen in der Dokumentation gestöbert. Aber es fehlt noch eine gtk.config. Hier noch mal eine Terminalausgabe: ~/gtkdiskfree-1.6.5$ ./configure
    loading cache ./config.cache
    checking for a BSD compatible install... (cached) /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... (cached) yes
    checking for working aclocal... found
    checking for working autoconf... found
    checking for working automake... found
    checking for working autoheader... found
    checking for working makeinfo... found
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for strerror in -lcposix... (cached) no
    checking for a BSD compatible install... /usr/bin/install -c
    checking for gnome-config... (cached) no
    GNOME icon and menu entry will NOT be installed
    checking how to run the C preprocessor... (cached) gcc -E
    checking host system type... i686-pc-linux-gnu
    checking for ranlib... (cached) ranlib
    checking for ANSI C header files... (cached) yes
    checking for working const... (cached) yes
    checking for inline... (cached) inline
    checking for off_t... (cached) yes
    checking for size_t... (cached) yes
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for getpagesize... (cached) yes
    checking for working mmap... (cached) no
    checking whether we are using the GNU C Library 2.1 or newer... (cached) yes
    checking for argz.h... (cached) yes
    checking for limits.h... (cached) yes
    checking for locale.h... (cached) yes
    checking for nl_types.h... (cached) yes
    checking for malloc.h... (cached) yes
    checking for stddef.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... (cached) yes
    checking for feof_unlocked... (cached) yes
    checking for fgets_unlocked... (cached) yes
    checking for getcwd... (cached) yes
    checking for getegid... (cached) yes
    checking for geteuid... (cached) yes
    checking for getgid... (cached) yes
    checking for getuid... (cached) yes
    checking for mempcpy... (cached) yes
    checking for munmap... (cached) yes
    checking for putenv... (cached) yes
    checking for setenv... (cached) yes
    checking for setlocale... (cached) yes
    checking for stpcpy... (cached) yes
    checking for strchr... (cached) yes
    checking for strcasecmp... (cached) yes
    checking for strdup... (cached) yes
    checking for strtoul... (cached) yes
    checking for tsearch... (cached) yes
    checking for __argz_count... (cached) yes
    checking for __argz_stringify... (cached) yes
    checking for __argz_next... (cached) yes
    checking for iconv... (cached) yes
    checking for iconv declaration... (cached)
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for nl_langinfo and CODESET... (cached) yes
    checking for LC_MESSAGES... (cached) yes
    checking whether NLS is requested... yes
    checking whether included gettext is requested... no
    checking for libintl.h... (cached) yes
    checking for GNU gettext in libc... (cached) yes
    checking for dcgettext... (cached) yes
    checking for msgfmt... (cached) no
    checking for xgettext... (cached) :
    checking for bison... no
    checking for catalogs to be installed... fr ru
    checking for gtk-config... (cached) no
    checking for GTK - version >= 1.2.0... no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    *** full path to gtk-config.
    creating ./config.status
    creating Makefile
    creating intl/Makefile
    creating po/Makefile.in
    creating src/Makefile
    creating src/icons/Makefile
    creating config.h
    config.h is unchanged
    creating po/POTFILES
    creating po/Makefile
    Abgesehen davon habe ich gtkdiskfree auf andere Art installiert: gtkdistfree als Deb runtergeladen mit Tazpkg konvertiert und installiert, geht auch.
    Trotzdem danke noch mal.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social