Je tente d'installer gtkada à partir des binaires, pas des sources(ça c'est la seconde étape), pour programmer en Ada, et installer un shell qui se nomme SparForte.
Je viens à peine de réinstaller debian j'ai déjà des problèmes ... J'ajoute que j'ai pris la dernière version de GNAT gpl du même site, libre.adacore.com .
mehdi@debian:~/Téléchargements/gtkada/gtkada-gpl-2015-src$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/mehdi/Téléchargements/gtkada/gtkada-gpl-2015-src':
configure: error: C compiler cannot create executables
See `config.log' for more details
mehdi@debian:~/Téléchargements/gtkada/gtkada-gpl-2015-src$ whereis gcc
gcc: /usr/lib/gcc /usr/gnat/bin/gcc
Je vous donne le config.log, en question.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gtkada configure 3.8.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = debian
uname -m = x86_64
uname -r = 4.3.0-1-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.3.5-1 (2016-02-06)
/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/gnat/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1925: checking build system type
configure:1939: result: x86_64-unknown-linux-gnu
configure:1959: checking host system type
configure:1972: result: x86_64-unknown-linux-gnu
configure:1992: checking target system type
configure:2005: result: x86_64-unknown-linux-gnu
configure:2197: checking for gcc
configure:2213: found /usr/gnat/bin/gcc
configure:2224: result: gcc
configure:2453: checking for C compiler version
configure:2462: gcc --version >&5
gcc (GCC) 4.9.3 20150428 (for GNAT GPL 2015 20150428)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
See your AdaCore support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
configure:2473: $? = 0
configure:2462: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../src/configure --enable-languages=ada,c,c++ --enable-_cxa_atexit --enable-threads=posix --with-bugurl=URL:mailto:report@adacore.com --disable-nls --without-libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch --disable-libada --enable-checking=release --disable-libsanitizer --disable-libcc1 --disable-libcilkrts --disable-multilib --with-mpfr=/boron.a/gnatmail/sandbox/gpl-2015/x86_64-linux/mpfr/install --with-gmp=/boron.a/gnatmail/sandbox/gpl-2015/x86_64-linux/gmp/install --with-mpc=/boron.a/gnatmail/sandbox/gpl-2015/x86_64-linux/mpc/install --with-build-time-tools=/boron.a/gnatmail/sandbox/gpl-2015/x86_64-linux/gcc/build/buildtools/bin --prefix=/usr/gnat --build=x86_64-pc-linux-gnu
Thread model: posix
gcc version 4.9.3 20150428 (for GNAT GPL 2015 20150428) (GCC)
configure:2473: $? = 0
configure:2462: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2473: $? = 1
configure:2462: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2473: $? = 1
configure:2493: checking whether the C compiler works
configure:2515: gcc conftest.c >&5
/usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/ld: cannot find crt1.o: No such file or directory
/usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/ld: cannot find crti.o: No such file or directory
/usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/ld: cannot find -lc
/usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:2519: $? = 1
configure:2557: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gtkada"
| #define PACKAGE_TARNAME "gtkada"
| #define PACKAGE_VERSION "3.8.3"
| #define PACKAGE_STRING "gtkada 3.8.3"
| #define PACKAGE_BUGREPORT "report@adacore.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2562: error: in `/home/mehdi/Téléchargements/gtkada/gtkada-gpl-2015-src':
configure:2564: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_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=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=x86_64-unknown-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
BUILD_SHARED='yes'
BUILD_STATIC='yes'
BUILD_TYPE=''
CC='gcc'
CFLAGS=''
CPPFLAGS=''
DEFAULT_LIBRARY_TYPE='static'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
GETTEXT_INTL=''
GL_CFLAGS=''
GL_CFLAGS_GPR=''
GL_LIBS=''
GL_LIBS_GPR=''
GPRBUILD=''
GTK_CFLAGS=''
GTK_CFLAGS_GPR=''
GTK_LIBS=''
GTK_LIBS_GPR=''
GTK_PREFIX=''
HAVE_GETTEXT=''
HAVE_OPENGL=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
NEED_OBJECTIVE_C='no'
OBJC=''
OBJCFLAGS=''
OBJEXT=''
OS_SPECIFIC_LINK_OPTIONS=''
PACKAGE_BUGREPORT='report@adacore.com'
PACKAGE_NAME='gtkada'
PACKAGE_STRING='gtkada 3.8.3'
PACKAGE_TARNAME='gtkada'
PACKAGE_URL=''
PACKAGE_VERSION='3.8.3'
PATH_SEPARATOR=':'
PKG_CONFIG=''
SHELL='/bin/bash'
SO_EXT='.so'
SO_OPTS='-Wl,-soname,'
TARGET=''
TARGET_LFLAGS=''
USE_NLS=''
ac_ct_CC='gcc'
ac_ct_OBJC=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
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='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "gtkada"
#define PACKAGE_TARNAME "gtkada"
#define PACKAGE_VERSION "3.8.3"
#define PACKAGE_STRING "gtkada 3.8.3"
#define PACKAGE_BUGREPORT "report@adacore.com"
#define PACKAGE_URL ""
configure: exit 77