Newsgroup: it.comp.os.linux.iniziare
Titolo: GCC non trovato

Ciao a tutti.Nella necessita'di installare su puppylinux gnumeric con
una versione superiore alla 1.6,ma con l'impossibilita'di trovare i
pacchetti sia in formato .pet che da gslapt,ho scaricato i
tar.gz.Volevo compilarli,ma ottengo il seguente risultato:
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for intltool >= 0.29... 0.35.0 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... iconv
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Ora,guardando con google,mi sembra di aver capito che non trova il
compilatore,infatti se provo dal terminale a dare gcc ottengo command
not found;eppure da gslapt io lo vedo installato!,potete aiutarmi?
ciao..
Ah,ho anche provato con tgz2pet a convertire l'archivio in .pet,ci
riesco,l'installazione va a buon fine ma poi si avvia sempre la
vecchia versione del programma.
Grazie in anticipo per le eventuali risposte,buona giornata a tutti.

superato il primo problema..ora me ne si presenta un altro:
configure: error: C compiler cannot create executables.
A sto punto non ho idea di che libreria manchi...

toro79 wrote:

C'è il config.log con i dettagli.

questo il config.log,ma sinceramente da solo non so risolvere..credo
che tutto stia in quel "gcc: error trying to exec 'as': execvp: No
such file or directory",ma non so cosa posso fare.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gnumeric configure 1.8.0, which was
generated by GNU Autoconf 2.61.  Invocation command line was
  $ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = puppypc
uname -m = i686
uname -r = 2.6.21.7
uname -s = Linux
uname -v = #1 Sun Sep 9 02:29:54 GMT-8 2007
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /usr/lib/qt/bin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/X11R7/bin
PATH: /root/my-applications/bin
PATH: /opt/gcc34/bin
PATH: /usr/lib/qt/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2245: checking for a BSD-compatible install
configure:2301: result: /usr/bin/ginstall -c
configure:2312: checking whether build environment is sane
configure:2355: result: yes
configure:2383: checking for a thread-safe mkdir -p
configure:2422: result: ./install-sh -c -d
configure:2435: checking for gawk
configure:2451: found /bin/gawk
configure:2462: result: gawk
configure:2473: checking whether make sets $(MAKE)
configure:2498: result: no
configure:2701: checking whether to enable maintainer-specific
portions of Makefiles
configure:2710: result: no
configure:2763: checking for style of include used by make
configure:2791: result: none
configure:2861: checking for gcc
configure:2877: found /usr/bin/gcc
configure:2888: result: gcc
configure:3126: checking for C compiler version
configure:3133: gcc --version >&5
gcc (GCC) 4.2.3
Copyright (C) 2007 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:3136: $? = 0
configure:3143: gcc -v >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.3/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.2.3/configure --prefix=/usr --enable-shared
--enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --
with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-
linux
Thread model: posix
gcc version 4.2.3
configure:3146: $? = 0
configure:3153: gcc -V >&5
gcc: '-V' option must have argument
configure:3156: $? = 1
configure:3179: checking for C compiler default output file name
configure:3206: gcc    conftest.c  >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:3209: $? = 1
configure:3247: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "gnumeric"
| #define PACKAGE_TARNAME "gnumeric"
| #define PACKAGE_VERSION "1.8.0"
| #define PACKAGE_STRING "gnumeric 1.8.0"
| #define PACKAGE_BUGREPORT "
http://bugzilla.gnome.org/enter_bug.cgi
?
product=gnumeric"
| #define PACKAGE "gnumeric"
| #define VERSION "1.8.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3254: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CORBA_LIBS_CFLAGS_set=
ac_cv_env_CORBA_LIBS_CFLAGS_value=
ac_cv_env_CORBA_LIBS_LIBS_set=
ac_cv_env_CORBA_LIBS_LIBS_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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_GB_CFLAGS_set=
ac_cv_env_GB_CFLAGS_value=
ac_cv_env_GB_LIBS_set=
ac_cv_env_GB_LIBS_value=
ac_cv_env_GDA_CFLAGS_set=
ac_cv_env_GDA_CFLAGS_value=
ac_cv_env_GDA_LIBS_set=
ac_cv_env_GDA_LIBS_value=
ac_cv_env_GDK_PIXBUF_CSOURCE_set=
ac_cv_env_GDK_PIXBUF_CSOURCE_value=
ac_cv_env_GLIB_GENMARSHAL_set=
ac_cv_env_GLIB_GENMARSHAL_value=
ac_cv_env_GNOMEDB_CFLAGS_set=
ac_cv_env_GNOMEDB_CFLAGS_value=
ac_cv_env_GNOMEDB_LIBS_set=
ac_cv_env_GNOMEDB_LIBS_value=
ac_cv_env_GNOME_CFLAGS_set=
ac_cv_env_GNOME_CFLAGS_value=
ac_cv_env_GNOME_LIBS_set=
ac_cv_env_GNOME_LIBS_value=
ac_cv_env_GNUMERIC_CFLAGS_set=
ac_cv_env_GNUMERIC_CFLAGS_value=
ac_cv_env_GNUMERIC_LIBS_set=
ac_cv_env_GNUMERIC_LIBS_value=
ac_cv_env_GTK_CFLAGS_set=
ac_cv_env_GTK_CFLAGS_value=
ac_cv_env_GTK_LIBS_set=
ac_cv_env_GTK_LIBS_value=
ac_cv_env_HILDON_CFLAGS_set=
ac_cv_env_HILDON_CFLAGS_value=
ac_cv_env_HILDON_LIBS_set=
ac_cv_env_HILDON_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBSPREADSHEET_CFLAGS_set=
ac_cv_env_LIBSPREADSHEET_CFLAGS_value=
ac_cv_env_LIBSPREADSHEET_LIBS_set=
ac_cv_env_LIBSPREADSHEET_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PARADOX_CFLAGS_set=
ac_cv_env_PARADOX_CFLAGS_value=
ac_cv_env_PARADOX_LIBS_set=
ac_cv_env_PARADOX_LIBS_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PSICONV_CONFIG_set=
ac_cv_env_PSICONV_CONFIG_value=
ac_cv_env_PYGOBJECT_CFLAGS_set=
ac_cv_env_PYGOBJECT_CFLAGS_value=
ac_cv_env_PYGOBJECT_LIBS_set=
ac_cv_env_PYGOBJECT_LIBS_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /root/my-applications/gnumeric/gnumeric-1.8.0/
missing --run aclocal-1.10'
ACLOCAL_AMFLAGS=''
ALL_LINGUAS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/my-applications/gnumeric/gnumeric-1.8.0/missing
--run tar'
AR=''
AUTOCONF='${SHELL} /root/my-applications/gnumeric/gnumeric-1.8.0/
missing --run autoconf'
AUTOHEADER='${SHELL} /root/my-applications/gnumeric/gnumeric-1.8.0/
missing --run autoheader'
AUTOMAKE='${SHELL} /root/my-applications/gnumeric/gnumeric-1.8.0/
missing --run automake-1.10'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CORBA_LIBS_CFLAGS=''
CORBA_LIBS_LIBS=''
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DBCONTEXT=''
DBLATEX=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_PDFDOCS_FALSE=''
ENABLE_PDFDOCS_TRUE=''
ENABLE_PDF_VIA_DBCONTEXT_FALSE=''
ENABLE_PDF_VIA_DBCONTEXT_TRUE=''
ENABLE_PDF_VIA_DBLATEX_FALSE=''
ENABLE_PDF_VIA_DBLATEX_TRUE=''
ENABLE_SOLVER_FALSE=''
ENABLE_SOLVER_TRUE=''
ENABLE_SSCONVERT_FALSE=''
ENABLE_SSCONVERT_TRUE=''
ENABLE_SSINDEX_FALSE=''
ENABLE_SSINDEX_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GB_CFLAGS=''
GB_LIBS=''
GCONFTOOL=''
GCONF_SCHEMAS_INSTALL_FALSE=''
GCONF_SCHEMAS_INSTALL_TRUE=''
GCONF_SCHEMA_CONFIG_SOURCE=''
GCONF_SCHEMA_FILE_DIR=''
GDA_CFLAGS=''
GDA_LIBS=''
GDK_PIXBUF_CSOURCE=''
GETTEXT_PACKAGE=''
GLIB_GENMARSHAL=''
GMOFILES=''
GMSGFMT=''
GNM_PY_CFLAGS=''
GNM_PY_LDFLAGS=''
GNM_PY_LIBADD=''
GNOMEDB_CFLAGS=''
GNOMEDB_LIBS=''
GNOME_CFLAGS=''
GNOME_LIBS=''
GNUMERIC_API_VER='1.8'
GNUMERIC_CFLAGS=''
GNUMERIC_LIBS=''
GNUMERIC_PLUGIN_LDFLAGS=''
GOFFICE_PLUGINS_DIR=''
GOFFICE_VERSION=''
GREP=''
GTK_CFLAGS=''
GTK_LIBS=''
GUILE_INCS=''
GUILE_LIBS=''
HILDON_CFLAGS=''
HILDON_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
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_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBGOFFICE=''
LIBOBJS=''
LIBS=''
LIBSPREADSHEET_CFLAGS=''
LIBSPREADSHEET_LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/my-applications/gnumeric/gnumeric-1.8.0/
missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
OBJEXT=''
ORBIT_IDL=''
PACKAGE='gnumeric'
PACKAGE_BUGREPORT='
http://bugzilla.gnome.org/enter_bug.cgi
?
product=gnumeric'
PACKAGE_NAME='gnumeric'
PACKAGE_STRING='gnumeric 1.8.0'
PACKAGE_TARNAME='gnumeric'
PACKAGE_VERSION='1.8.0'
PARADOX_CFLAGS=''
PARADOX_LIBS=''
PATH_SEPARATOR=':'
PERL=''
PERL_CC=''
PERL_CCCDLFLAGS=''
PERL_CCOPTS=''
PERL_LD=''
PERL_LDDLFLAGS=''
PERL_LDOPTS=''
PKG_CONFIG=''
PLUGIN_LIST=''
PLUGIN_LIST_GIVEN_FALSE=''
PLUGIN_LIST_GIVEN_TRUE=''
POFILES=''
POFILES_FULL=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PSICONV_CFLAGS=''
PSICONV_CONFIG=''
PSICONV_LIBS=''
PYGOBJECT_CFLAGS=''
PYGOBJECT_LIBS=''
PYTHON=''
RANLIB=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
USE_HILDON_FALSE=''
USE_HILDON_TRUE=''
USE_NLS=''
VERSION='1.8.0'
VERSION_IFACE='108'
VERSION_INFO='108:0:0'
WARN_CFLAGS=''
WINDRES=''
WITH_CORBA_FALSE=''
WITH_CORBA_TRUE=''
WITH_GB_FALSE=''
WITH_GB_TRUE=''
WITH_GDA_FALSE=''
WITH_GDA_TRUE=''
WITH_GNOMEDB_FALSE=''
WITH_GNOMEDB_TRUE=''
WITH_GNOME_FALSE=''
WITH_GNOME_TRUE=''
WITH_GTK_FALSE=''
WITH_GTK_TRUE=''
WITH_PARADOX_FALSE=''
WITH_PARADOX_TRUE=''
WITH_PERL_FALSE=''
WITH_PERL_TRUE=''
WITH_PSICONV_FALSE=''
WITH_PSICONV_TRUE=''
WITH_PYTHON_FALSE=''
WITH_PYTHON_TRUE=''
WITH_WIN32_FALSE=''
WITH_WIN32_TRUE=''
XGETTEXT=''
YACC=''
YFLAGS=''
Z_CPPFLAGS=''
Z_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='#'
am__isrc=''
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='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gnumeric_datadir=''
gnumeric_icondir=''
gnumeric_libdir=''
gnumeric_localedir=''
gnumeric_plugindir=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /root/my-applications/gnumeric/gnumeric-1.8.0/
install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
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 "gnumeric"
#define PACKAGE_TARNAME "gnumeric"
#define PACKAGE_VERSION "1.8.0"
#define PACKAGE_STRING "gnumeric 1.8.0"
#define PACKAGE_BUGREPORT "
http://bugzilla.gnome.org/enter_bug.cgi
?
product=gnumeric"
#define PACKAGE "gnumeric"
#define VERSION "1.8.0"
configure: exit 77

 writes:

Hai pasticciato con i flag?
-- 
      Daniele Giglio      Dona i tuoi cicli di clock alla ricerca!
      email in ROT13      
http://boinc.berkeley.edu/
 
qtv...@vby.vg
                          --------------------
 Legge di Aragon:
 	Funzione propria del genio e' fornire idee ai cretini vent'anni dopo.

 such file or directory",ma non so cosa posso fare.
Ti mancano le binutils. Occhio che devi installare quelle compatibili con il
compilatore che usi.
BTW, compilare gnumeric non credo sia una passeggiata, mi sa che si porta
dietro un bel po' di dipendenze...
-- 
Ciao.
Alessandro 
"Ubuntu" - an African word, meaning "Slackware is too hard for me".

su un forum mi hanno consigliato di installare devx.301.sfs,che
dovrebbe risolvere il problema..boh

 dovrebbe risolvere il problema..boh
Le prime voci di 
www.google.com
 invece dicono che manca qualche parte del
compilatore, da me:
libgcc-4.1.2-12
gcc-4.1.2-12
gcc-c++-4.1.2-12
libgcc-4.1.2-12
libstdc++-devel-4.1.2-12
libstdc++-4.1.2-12
cpp-4.1.2-12