π
<-
Chat plein-écran
[^]

Installation du SDK Ndless

C, C++, ASM...

Re: Installation du SDK Ndless

Message non lude Ti64CLi++ » 09 Aoû 2017, 18:17

Après avoir exécuté dos2unix nspire-gcc j'ai retenté un make et voilà ce que ça m'a donné:
Code: Tout sélectionner
$ make
make -C ndless-sdk
make[1] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk »
make -C libsyscalls
make[2] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libsyscalls »
make[2]: rien à faire pour « all ».
make[2] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libsyscalls »
make -C libndls
make[2] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libndls »
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c wait_key_pressed.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c any_key_pressed.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c file_each.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c on_key_pressed.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c ngc.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c lcd_incolor.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c usbd_set_protocol.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c locate.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c assert_ndless_rev.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c touchpad.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c clrscr.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c set_cpu_speed.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c hwtype.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c _scrsize.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c wait_no_key_pressed.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c lcd_ingray.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c show_2numeric_input.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c show_1numeric_input.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c config.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c lcd_isincolor.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c sleep.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c _show_msgbox.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -marm -c idle.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c isKeyPressed.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c enable_relative_paths.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -marm -c clear_cache.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c _is_touchpad.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c show_msg_user_input.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c usbd_set_idle.c
nspire-gcc -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -c refresh_osscr.c
nspire-g++ -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -std=c++11 -c lcd_blit.cpp
/cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/bin/nspire-g++: ligne 3: $'\r' : commande introuvable
/cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/bin/nspire-g++: ligne 6: $'\r' : commande introuvable
dirname: opérande manquant
Saisissez « dirname --help » pour plus d'informations.
/cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/bin/nspire-g++: ligne 11: $'}\r' : commande introuvable
/cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/bin/nspire-g++: ligne 12: $'\r' : commande introuvable
/cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/bin/nspire-g++: ligne 21: erreur de syntaxe : fin de fichier prématurée
make[2]: *** [Makefile:21: lcd_blit.o] Error 2
make[2] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libndls »
make[1]: *** [Makefile:14: build-libndls] Error 2
make[1] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk »
make: *** [Makefile:19: build-ndless-sdk] Error 2
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Installation du SDK Ndless

Message non lude Adriweb » 09 Aoû 2017, 18:18

Tente le dos2unix sur tout ndless-sdk/bin/* carrément.
Ca a marché pour les autres dossiers, donc faut le faire la aussi.

En l'occurence c'est sur nspire-g++ que ca bloque.
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.2%
 
Messages: 14616
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Installation du SDK Ndless

Message non lude Ti64CLi++ » 09 Aoû 2017, 18:19

C'est ce que j'étais en train de faire :)
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Installation du SDK Ndless

Message non lude Ti64CLi++ » 09 Aoû 2017, 18:23

Après avoir fait un dos2unix sur tout le dossier, puis relancé make j'ai toujours une erreur:
Code: Tout sélectionner
$ make
make -C ndless-sdk
make[1] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk »
make -C libsyscalls
make[2] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libsyscalls »
make[2]: rien à faire pour « all ».
make[2] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libsyscalls »
make -C libndls
make[2] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libndls »
nspire-g++ -O2 -funroll-loops -nostdlib -Wall -Werror -Wextra -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -std=c++11 -c lcd_blit.cpp
"/cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/toolchain/install/bin/arm-none-eabi-ar" rcs ../lib/libndls.a any_key_pressed.o file_each.o on_key_pressed.o wait_key_pressed.o ngc.o lcd_incolor.o _show_msgbox.o usbd_set_protocol.o assert_ndless_rev.o touchpad.o clrscr.o set_cpu_speed.o hwtype.o locate.o wait_no_key_pressed.o lcd_ingray.o _scrsize.o show_2numeric_input.o show_1numeric_input.o lcd_isincolor.o sleep.o idle.o isKeyPressed.o enable_relative_paths.o clear_cache.o _is_touchpad.o config.o show_msg_user_input.o usbd_set_idle.o refresh_osscr.o lcd_blit.o
make[2] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/libndls »
make -C thirdparty
make[2] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty »
make -C nspire-io lib
make[3] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty/nspire-io »
nspire-gcc -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c common/util.c -o common/util.o
nspire-gcc -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c common/console.c -o common/console.o
nspire-gcc -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c common/cursor.c -o common/cursor.o
nspire-gcc -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c common/queue.c -o common/queue.o
nspire-gcc -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c arch-nspire/nspire.c -o arch-nspire/nspire.o
nspire-gcc -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c arch-nspire/nspire-uart.c -o arch-nspire/nspire-uart.o
nspire-g++ -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c common/cpp/console.cpp -o common/cpp/console.o
nspire-g++ -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c common/cpp/file.cpp -o common/cpp/file.o
nspire-g++ -Wall -W -marm -O3 -DNSPIREIO_BUILD -Wall -Werror -Wextra -D OLD_SCREEN_API -c common/cpp/uart.cpp -o common/cpp/uart.o
mkdir -p lib
"/cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/toolchain/install/bin/arm-none-eabi-ar" rcs "lib/libnspireio.a" common/util.o common/console.o common/cursor.o common/queue.o arch-nspire/nspire.o arch-nspire/nspire-uart.o common/cpp/console.o common/cpp/file.o common/cpp/uart.o
make[3] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty/nspire-io »
make ../lib/libnspireio.a ../include/nspireio2.h  ../include/nspireio/platform.h  ../include/nspireio/nspireio.h  ../include/nspireio/console.hpp  ../include/nspireio/queue.h  ../include/nspireio/file.hpp  ../include/nspireio/platform-nspire.h  ../include/nspireio/uart.hpp  ../include/nspireio/ios_base.hpp  ../include/nspireio/ios_base.ipp  ../include/nspireio/platform-prizm.h
make[3] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty »
cp nspire-io/lib/libnspireio.a ../lib/libnspireio.a
mkdir -p ../include/nspireio
cp nspire-io/include/nspireio2.h ../include/nspireio2.h
cp nspire-io/include/nspireio/platform.h ../include/nspireio/platform.h
cp nspire-io/include/nspireio/nspireio.h ../include/nspireio/nspireio.h
cp nspire-io/include/nspireio/console.hpp ../include/nspireio/console.hpp
cp nspire-io/include/nspireio/queue.h ../include/nspireio/queue.h
cp nspire-io/include/nspireio/file.hpp ../include/nspireio/file.hpp
cp nspire-io/include/nspireio/platform-nspire.h ../include/nspireio/platform-nspire.h
cp nspire-io/include/nspireio/uart.hpp ../include/nspireio/uart.hpp
cp nspire-io/include/nspireio/ios_base.hpp ../include/nspireio/ios_base.hpp
cp nspire-io/include/nspireio/ios_base.ipp ../include/nspireio/ios_base.ipp
cp nspire-io/include/nspireio/platform-prizm.h ../include/nspireio/platform-prizm.h
make[3] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty »
cd zlib && (make libz.a || (CC=nspire-gcc CHOST=arm-none-eabi CFLAGS="-O3 -c" ./configure --static && make libz.a))
make[3] : on entre dans le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty/zlib »
make[3]: *** Aucune règle pour fabriquer la cible « libz.a ». Arrêt.
make[3] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty/zlib »
./configure: ligne 11: $'\r' : commande introuvable
./configure: ligne 15: $'\r' : commande introuvable
./configure: ligne 20: $'\r' : commande introuvable
./configure: ligne 96: erreur de syntaxe près du symbole inattendu « $'\r' »
'/configure: ligne 96: `leave()
make[2]: *** [Makefile:35: zlib] Error 2
make[2] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk/thirdparty »
make[1]: *** [Makefile:14: build-thirdparty] Error 2
make[1] : on quitte le répertoire « /cygdrive/c/Users/Utilisateur/Desktop/Elie/cygwin/Ndless/ndless-sdk »
make: *** [Makefile:19: build-ndless-sdk] Error 2
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Installation du SDK Ndless

Message non lude Adriweb » 09 Aoû 2017, 18:26

Pareil qu'avant, sauf qu'il faut faire le dos2unix dans Ndless/ndless-sdk/thirdparty (et sous-dossiers, sans doute). Ici on voit que le problème touche le fichier configure.
T'as pas besoin de moi pour lire ça à la ligne 50 de ton copier/coller :P
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.2%
 
Messages: 14616
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Installation du SDK Ndless

Message non lude Ti64CLi++ » 09 Aoû 2017, 18:31

Ok, je tente ça après le repas. Merci de ton aide jusque là Adriweb
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Installation du SDK Ndless

Message non lude Ti64CLi++ » 11 Sep 2017, 21:30

Bon, desormais, je tente de l'installer sur un ordi en Irlande, Win10 *64
Voila les erreurs que ca retourne, apres avoir reussi a telecharger BINUTILS, GCC et il me semble que c'est a la fin du telechargement de NEWLIB

C'est pour les lignes 58 a 61 de build_toolchain.sh que j'ai l'erreur, mais je ne sais pas exactement a quel ligne:
Code: Tout sélectionner
#!/bin/sh
# Written by Uwe Hermann <uwe@hermann-uwe.de>, released as public domain.
# Edited by Travis Wiens ( http://blog.nutaksas.com/2009/05/installing-gnuarm-arm-toolchain-on.html )
# Edited by Lionel Debroux for newer gcc/binutils/newlib/gdb versions and nspire-gcc.
# Edited by Legimet for elf2flt and newer gcc/binutils/newlib/gdb versions.
# Edited by Levak to update elf2flt url
# Edited by Fabian Vogt to use the local (patched) version of elf2flt, newlib, GDB with python

# IMPORTANT NOTE: in order to compile GCC, you need the GMP (libgmp-dev), MPFR (libmpfr-dev) and MPC (libmpc-dev) development libraries.
#    For example, if you have installed them yourself in ${PREFIX}, you'll have to add --with-gmp=${PREFIX} --with-mpfr=${PREFIX} --with-mpc=${PREFIX}.
# IMPORTANT NOTE #2: GDB needs some python includes for python support.
#    If you don't have them and you don't need python support, remove the --with-python from OPTIONS_GDB below.

TARGET=arm-none-eabi
PREFIX="${PWD}/install" # or the directory where the toolchain should be installed in
PARALLEL="-j4" # or "-j<number of build jobs>"

BINUTILS=binutils-2.28 # http://www.gnu.org/software/binutils/
GCC=gcc-7.2.0 # http://gcc.gnu.org/
NEWLIB=newlib-2.4.0 # http://sourceware.org/newlib/
GDB=gdb-8.0 # http://www.gnu.org/software/gdb/

# For newlib
export CFLAGS_FOR_TARGET="-DHAVE_RENAME -DMALLOC_PROVIDED -DABORT_PROVIDED -DNO_FORK -mcpu=arm926ej-s -ffunction-sections -Ofast -funroll-loops"
export CXXFLAGS_FOR_TARGET="-DHAVE_RENAME -DMALLOC_PROVIDED -DABORT_PROVIDED -DNO_FORK -mcpu=arm926ej-s -ffunction-sections -Ofast -funroll-loops"
export PATH="${PREFIX}/bin:${PATH}"

OPTIONS_BINUTILS="--target=${TARGET} --prefix=${PREFIX} --enable-interwork --enable-multilib --with-system-zlib --with-gnu-as --with-gnu-ld --disable-nls --with-float=soft --disable-werror"
OPTIONS_GCC="--target=${TARGET} --prefix=${PREFIX} --enable-interwork --enable-multilib --enable-languages="c,c++" --with-system-zlib --with-newlib --with-headers=../${NEWLIB}/newlib/libc/include --disable-threads --disable-tls --disable-shared --with-gnu-as --with-gnu-ld --with-float=soft --disable-werror --disable-libstdcxx-verbose"
OPTIONS_NEWLIB="--target=${TARGET} --prefix=${PREFIX} --enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld --disable-newlib-may-supply-syscalls --disable-newlib-supplied-syscalls --with-float=soft --disable-werror --disable-nls --enable-newlib-io-float"
OPTIONS_GDB="--target=${TARGET} --prefix=${PREFIX} --enable-interwork --enable-multilib --disable-werror"

# When building gcc with clang, the maximum amount of nested brackets has to be increased
if (gcc -v 2>&1 | grep clang > /dev/null); then
    export CXXFLAGS="-fbracket-depth=512 -O2"
fi

echo "Building and installing to '${PREFIX}'..."

SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"

mkdir -p "${PREFIX}"

# Section 0: prerequisites
echo 'int main() {return 0;}' > test.c
error=0
if ! gcc -lgmp       test.c -o test; then error=1; echo 'GMP (gmp-devel/libgmp-dev) dependency seems to be missing!'; fi
if ! gcc -lmpfr      test.c -o test; then error=1; echo 'MPFR (mpfr-devel/libmpfr-dev) dependency seems to be missing!'; fi
if ! gcc -lmpc       test.c -o test; then error=1; echo 'MPC (mpc-devel/libmpc-dev) dependency seems to be missing!'; fi
if ! gcc -lz         test.c -o test; then error=1; echo 'zlib (zlib-devel/zlib1g-dev) dependency seems to be missing!'; fi
#if ! gcc -lpython2.7 test.c -o test; then error=1; echo 'libpython2.7 (python-devel/python2.7-dev) dependency seems to be missing!'; fi
rm -f test test.c
[ $error -eq 1 ] && exit 1

mkdir -p build download

if [ ! -f .downloaded ]; then
   wget -c http://ftp.gnu.org/gnu/binutils/${BINUTILS}.tar.bz2 -O download/${BINUTILS}.tar.bz2 && tar xvjf download/${BINUTILS}.tar.bz2 && \
   wget -c ftp://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.xz      -O download/${GCC}.tar.xz       && tar xvJf download/${GCC}.tar.xz && \
   wget -c ftp://sourceware.org/pub/newlib/${NEWLIB}.tar.gz    -O download/${NEWLIB}.tar.gz    && tar xvzf download/${NEWLIB}.tar.gz && \
   wget -c ftp://ftp.gnu.org/gnu/gdb/${GDB}.tar.xz             -O download/${GDB}.tar.xz       && tar xvJf download/${GDB}.tar.xz && \
   touch .downloaded
   if [ $? -ne 0 ]; then
      echo "Download failed!"
      exit 1
   fi
fi

# Section 1: GNU Binutils.
echo "Building Binutils..."
[ -f .built_binutils ] || (cd build && rm -rf ./* && ../${BINUTILS}/configure ${OPTIONS_BINUTILS} && make $PARALLEL all && make install && cd .. && rm -rf build/* && touch .built_binutils) || exit 1;

# Section 2: GCC, step 1.
echo "Building GCC (step 1)..."
[ -f .built_gcc_step1 ] || (cd build && rm -rf ./* && ../${GCC}/configure ${OPTIONS_GCC} && make $PARALLEL all-gcc && make install-gcc && cd .. && rm -rf build/* && touch .built_gcc_step1) || exit 1;

# Section 3: Newlib.
echo "Building Newlib..."
[ -f .built_newlib ] || (cd build && rm -rf ./* && ../${NEWLIB}/configure ${OPTIONS_NEWLIB} && make $PARALLEL && make install && cd .. && rm -rf build/* && touch .built_newlib) || exit 1;
# Workaround for newlib bug
rm -f "${PREFIX}/arm-none-eabi/sys-include/newlib.h"

# Section 4: GCC, step 2. Yes, this is necessary.
echo "Building GCC (step 2)..."
[ -f .built_gcc_step2 ] || (cd build && ../${GCC}/configure ${OPTIONS_GCC} && make $PARALLEL && make install && cd .. && rm -rf build/* && touch .built_gcc_step2) || exit 1

# Section 5: GDB.
echo "Building GDB..."
[ -f .built_gdb ] || (cd build && rm -rf ./* && ../${GDB}/configure ${OPTIONS_GDB} && make $PARALLEL && make install && cd .. && rm -rf build/* && touch .built_gdb) || exit 1;

echo "Done!"
echo "Don't forget to add '${PREFIX}/bin' to your \$PATH along with $SCRIPTPATH/../bin."


Code: Tout sélectionner
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-none-eabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... no, using cp
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking to see if cat works as expected... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for isl 0.16, 0.15, or deprecated 0.14... no
recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated
checking for isl 0.16 or 0.15... no
*** This configuration is not supported in the following subdirectories:
     zlib
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG...
checking for --enable-vtable-verify... no
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... no
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... no
/home/CaitrionaHeneghan/Ndless/ndless-sdk/toolchain/binutils-2.28/missing: line 81: makeinfo: command not found
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... dlltool
checking for ld... (cached) /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld.exe
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... windres
checking for windmc... windmc
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for arm-none-eabi-cc... no
checking for arm-none-eabi-gcc... no
checking for arm-none-eabi-c++... no
checking for arm-none-eabi-g++... no
checking for arm-none-eabi-cxx... no
checking for arm-none-eabi-gxx... no
checking for arm-none-eabi-gcc... no
checking for arm-none-eabi-gcj... no
checking for arm-none-eabi-gfortran... no
checking for arm-none-eabi-gccgo... no
checking for arm-none-eabi-ar... no
checking for arm-none-eabi-as... no
checking for arm-none-eabi-dlltool... no
checking for arm-none-eabi-ld... no
checking for arm-none-eabi-lipo... no
checking for arm-none-eabi-nm... no
checking for arm-none-eabi-objcopy... no
checking for arm-none-eabi-objdump... no
checking for arm-none-eabi-ranlib... no
checking for arm-none-eabi-readelf... no
checking for arm-none-eabi-strip... no
checking for arm-none-eabi-windres... no
checking for arm-none-eabi-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objcopy... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
make: *** No rule to make target 'all'.  Stop.


J'ai l'impression que c'est la config du PC qui n'est pas accepte :(
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Installation du SDK Ndless

Message non lude Ti64CLi++ » 23 Sep 2017, 12:39

Nouvelle erreur a la fin de Buil GCC (step2):
Show/Hide spoilerAfficher/Masquer le spoiler
Code: Tout sélectionner
[...]
=== configuring in build-gnulib (/home/neuronix/Ndless/ndless-sdk/toolchain/build/gdb/build-gnulib)
configure: running /bin/bash ../../../gdb-8.0/gdb/gnulib/configure --disable-option-checking '--prefix=/home/neuronix/Ndless/ndless-sdk/toolchain/install'  '--enable-interwork' '--enable-multilib' '--disable-werror' '--with-python' '--program-transform-name=s&^&arm-none-eabi-&' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--target=arm-none-eabi' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'target_alias=arm-none-eabi' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=-static-libstdc++ -static-libgcc ' 'CXX=g++' 'CXXFLAGS=-g -O2' 'MAKEINFO=/home/neuronix/Ndless/ndless-sdk/toolchain/gdb-8.0/missing makeinfo --split-size=5000000' 'YACC=/home/neuronix/Ndless/ndless-sdk/toolchain/gdb-8.0/missing bison -y' --cache-file=./config.cache --srcdir=../../../gdb-8.0/gdb/gnulib
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for x86_64-pc-linux-gnu-ar... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for x86_64-pc-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking target system type... arm-none-eabi
checking for working alloca.h... yes
checking for alloca... yes
checking for canonicalize_file_name... yes
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for btowc... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... yes
checking for gettimeofday... yes
checking for symlink... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for link... yes
checking for iswcntrl... yes
checking whether // is distinct from /... no
checking whether realpath works... yes
checking for sys/param.h... yes
checking for dirent.h... yes
checking for wctype.h... yes
checking for sys/time.h... yes
checking for sys/socket.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking for math.h... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking for features.h... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking for mbstate_t... yes
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... yes
checking whether long double and double are the same... no
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether gettimeofday is declared without a macro... yes
checking whether limits.h has ULLONG_WIDTH etc.... no
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking whether imaxabs is declared without a macro... yes
checking whether imaxdiv is declared without a macro... yes
checking whether strtoimax is declared without a macro... yes
checking whether strtoumax is declared without a macro... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking where to find the exponent in a 'double'... word 1 bit 20
checking whether byte ordering is bigendian... no
checking for nl_langinfo and CODESET... yes
checking for working fcntl.h... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking whether lstat correctly handles trailing slash... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... none
checking for a french Unicode locale... none
checking for a traditional french locale... none
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for sigset_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking whether ffsl is declared without a macro... yes
checking whether ffsll is declared without a macro... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether strstr works... yes
checking whether strtok_r is declared... (cached) yes
checking whether stat file-mode macros are broken... no
checking for mode_t... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for struct timespec in <time.h>... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for wint_t... yes
checking for alloca as a compiler built-in... yes
checking whether alphasort is declared without a macro... yes
checking whether closedir is declared without a macro... yes
checking whether dirfd is declared without a macro... yes
checking whether fdopendir is declared without a macro... yes
checking whether opendir is declared without a macro... yes
checking whether readdir is declared without a macro... yes
checking whether rewinddir is declared without a macro... yes
checking whether scandir is declared without a macro... yes
checking for dirfd... yes
checking whether dirfd is declared... (cached) yes
checking whether dirfd is a macro... no
checking whether // is distinct from /... (cached) no
checking for flexible array member... yes
checking whether conversion from 'int' to 'long double' works... yes
checking for working GNU fnmatch... yes
checking whether frexp works... yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... yes
checking whether frexpl works... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether acosf is declared without a macro... yes
checking whether acosl is declared without a macro... yes
checking whether asinf is declared without a macro... yes
checking whether asinl is declared without a macro... yes
checking whether atanf is declared without a macro... yes
checking whether atanl is declared without a macro... yes
checking whether cbrt is declared without a macro... yes
checking whether cbrtf is declared without a macro... yes
checking whether cbrtl is declared without a macro... yes
checking whether ceilf is declared without a macro... yes
checking whether ceill is declared without a macro... yes
checking whether copysign is declared without a macro... yes
checking whether copysignf is declared without a macro... yes
checking whether copysignl is declared without a macro... yes
checking whether cosf is declared without a macro... yes
checking whether cosl is declared without a macro... yes
checking whether coshf is declared without a macro... yes
checking whether expf is declared without a macro... yes
checking whether expl is declared without a macro... yes
checking whether exp2 is declared without a macro... yes
checking whether exp2f is declared without a macro... yes
checking whether exp2l is declared without a macro... yes
checking whether expm1 is declared without a macro... yes
checking whether expm1f is declared without a macro... yes
checking whether expm1l is declared without a macro... yes
checking whether fabsf is declared without a macro... yes
checking whether fabsl is declared without a macro... yes
checking whether floorf is declared without a macro... yes
checking whether floorl is declared without a macro... yes
checking whether fma is declared without a macro... yes
checking whether fmaf is declared without a macro... yes
checking whether fmal is declared without a macro... yes
checking whether fmod is declared without a macro... yes
checking whether fmodf is declared without a macro... yes
checking whether fmodl is declared without a macro... yes
checking whether frexpf is declared without a macro... yes
checking whether frexpl is declared without a macro... yes
checking whether hypotf is declared without a macro... yes
checking whether hypotl is declared without a macro... yes
checking whether ilogb is declared without a macro... yes
checking whether ilogbf is declared without a macro... yes
checking whether ilogbl is declared without a macro... yes
checking whether ldexpf is declared without a macro... yes
checking whether ldexpl is declared without a macro... yes
checking whether log is declared without a macro... yes
checking whether logf is declared without a macro... yes
checking whether logl is declared without a macro... yes
checking whether log10 is declared without a macro... yes
checking whether log10f is declared without a macro... yes
checking whether log10l is declared without a macro... yes
checking whether log1p is declared without a macro... yes
checking whether log1pf is declared without a macro... yes
checking whether log1pl is declared without a macro... yes
checking whether log2 is declared without a macro... yes
checking whether log2f is declared without a macro... yes
checking whether log2l is declared without a macro... yes
checking whether logb is declared without a macro... yes
checking whether logbf is declared without a macro... yes
checking whether logbl is declared without a macro... yes
checking whether modf is declared without a macro... yes
checking whether modff is declared without a macro... yes
checking whether modfl is declared without a macro... yes
checking whether powf is declared without a macro... yes
checking whether remainder is declared without a macro... yes
checking whether remainderf is declared without a macro... yes
checking whether remainderl is declared without a macro... yes
checking whether rint is declared without a macro... yes
checking whether rintf is declared without a macro... yes
checking whether rintl is declared without a macro... yes
checking whether round is declared without a macro... yes
checking whether roundf is declared without a macro... yes
checking whether roundl is declared without a macro... yes
checking whether sinf is declared without a macro... yes
checking whether sinl is declared without a macro... yes
checking whether sinhf is declared without a macro... yes
checking whether sqrtf is declared without a macro... yes
checking whether sqrtl is declared without a macro... yes
checking whether tanf is declared without a macro... yes
checking whether tanl is declared without a macro... yes
checking whether tanhf is declared without a macro... yes
checking whether trunc is declared without a macro... yes
checking whether truncf is declared without a macro... yes
checking whether truncl is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL pwc argument... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... guessing yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... no
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbsrtowcs works... guessing yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking for rawmemchr... yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking whether rename honors trailing slash on destination... no
checking whether rename honors trailing slash on source... yes
checking whether rename manages hard links correctly... yes
checking whether rename manages existing destinations correctly... yes
checking whether rmdir works... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking whether pthread_sigmask is declared without a macro... yes
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking whether dprintf is declared without a macro... yes
checking whether fpurge is declared without a macro... no
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... yes
checking whether getline is declared without a macro... yes
checking whether gets is declared without a macro... no
checking whether pclose is declared without a macro... yes
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... yes
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... yes
checking whether vsnprintf is declared without a macro... yes
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... yes
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether initstate is declared without a macro... yes
checking whether initstate_r is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether posix_openpt is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether ptsname_r is declared without a macro... yes
checking whether qsort_r is declared without a macro... yes
checking whether random is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether secure_getenv is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether setstate is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether srandom is declared without a macro... yes
checking whether srandom_r is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking for strchrnul... yes
checking whether strchrnul works... yes
checking whether strstr works in linear time... yes
checking whether strstr works... (cached) yes
checking for strtok_r... yes
checking whether strtok_r works... yes
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... yes
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... yes
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fdatasync is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether group_member is declared without a macro... yes
checking whether isatty is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sethostname is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether wmemchr is declared without a macro... yes
checking whether wmemcmp is declared without a macro... yes
checking whether wmemcpy is declared without a macro... yes
checking whether wmemmove is declared without a macro... yes
checking whether wmemset is declared without a macro... yes
checking whether wcslen is declared without a macro... yes
checking whether wcsnlen is declared without a macro... yes
checking whether wcscpy is declared without a macro... yes
checking whether wcpcpy is declared without a macro... yes
checking whether wcsncpy is declared without a macro... yes
checking whether wcpncpy is declared without a macro... yes
checking whether wcscat is declared without a macro... yes
checking whether wcsncat is declared without a macro... yes
checking whether wcscmp is declared without a macro... yes
checking whether wcsncmp is declared without a macro... yes
checking whether wcscasecmp is declared without a macro... yes
checking whether wcsncasecmp is declared without a macro... yes
checking whether wcscoll is declared without a macro... yes
checking whether wcsxfrm is declared without a macro... yes
checking whether wcsdup is declared without a macro... yes
checking whether wcschr is declared without a macro... yes
checking whether wcsrchr is declared without a macro... yes
checking whether wcscspn is declared without a macro... yes
checking whether wcsspn is declared without a macro... yes
checking whether wcspbrk is declared without a macro... yes
checking whether wcsstr is declared without a macro... yes
checking whether wcstok is declared without a macro... yes
checking whether wcswidth is declared without a macro... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype is declared without a macro... yes
checking whether iswctype is declared without a macro... yes
checking whether wctrans is declared without a macro... yes
checking whether towctrans is declared without a macro... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-ranlib... ranlib
checking for x86_64-pc-linux-gnu-ar... (cached) ar
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
checking whether NLS is requested... yes
checking for catalogs to be installed...
checking whether /home/neuronix/Ndless/ndless-sdk/toolchain/gdb-8.0/missing makeinfo --split-size=5000000 supports @click... no
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... yes
checking for _mcleanup... yes
checking for _etext... yes
checking for etext... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-ranlib... ranlib
checking for bison... /home/neuronix/Ndless/ndless-sdk/toolchain/gdb-8.0/missing bison -y
checking for x86_64-pc-linux-gnu-ar... ar
checking for x86_64-pc-linux-gnu-dlltool... dlltool
checking for x86_64-pc-linux-gnu-windres... windres
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing kinfo_getvmmap... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
checking size of unsigned long long... 8
checking size of unsigned long... 8
checking size of unsigned __int128... 16
checking for library containing dlopen... (cached) -ldl
checking whether to use expat... auto
checking for libexpat... yes
checking how to link with libexpat... -lexpat
checking for XML_StopParser... yes
checking whether to use python... yes
checking for python... missing
checking for python2.7... no
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
configure: error: python is missing or unusable
Makefile:9095: recipe for target 'configure-gdb' failed
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory '/home/neuronix/Ndless/ndless-sdk/toolchain/build'
Makefile:848: recipe for target 'all' failed
make: *** [all] Error 2
neuronix@LAPTOP-8NUBRTR0:~/Ndless/ndless-sdk/toolchain$


Je ne sais pas a quoi c'est du. Donc si quelqu'un trouve la reponse, merci de repondre a ce topic :D
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Installation du SDK Ndless

Message non lude Lionel Debroux » 23 Sep 2017, 12:59

python is missing or unusable

est clair: il faut installer une des distributions Python 2.7 pour Windows, ou bien si tu l'as déjà fait, faire en sorte que l'exécutable `python` fourni par cette distribution soit dans le PATH (puisque ça n'a manifestement pas été fait automatiquement) :)

Autre possibilité pour un Win 10 x64: installer le SDK Ndless dans une instance de distro Linux, intégrée à Windows, grâce à Windows Subsystem for Linux (WSL).
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: Installation du SDK Ndless

Message non lude Ti64CLi++ » 23 Sep 2017, 13:05

Mais je suis justement sous Windows 10 *64 avec le sous-systeme Linux. J'ai pourtant bien fait in sudo apt-get install libpython2.7-dev
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

PrécédenteSuivante

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 26 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1309 utilisateurs:
>1285 invités
>19 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)