π
<-
Chat plein-écran
[^]

Ndless sdk build_toolchain error

C, C++, ASM...

Ndless sdk build_toolchain error

Message non lude Rankail » 24 Aoû 2021, 20:36

I'm trying to install the ndless-sdk using wsl (ubuntu) on windows 10.
I installed all of the dependencies named here: https://hackspire.org/index.php/C_and_assembly_development_introduction#On_Windows
I don't have a lot of experience with linux so i don't know if i installed them correctly.
When i ran the build_toolchain it looked normal at first but then it didn't work correctly (at least i think so). All the lines start with checking but many end with no. There are also two error lines.
1:
Code: Tout sélectionner
/home/rankail/Ndless/ndless-sdk/toolchain/download/binutils-2.34/missing: 81: makeinfo: not found

2:
Code: Tout sélectionner
./build_toolchain.sh: 88: make: not found

Here is everthing what the console shows (at least the last few lines):
Code: Tout sélectionner
Extracting binutils-2.34.tar.bz2...
Building Binutils...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-none-eabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether to use debuginfod... auto
checking for debuginfod_begin in -ldebuginfod... no
checking whether debuginfod_begin is declared... no
configure: WARNING: debuginfod is missing or unusable; some features may be unavailable.
checking for isl 0.15 or later... no
required isl version is 0.15 or later
*** 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/rankail/Ndless/ndless-sdk/toolchain/download/binutils-2.34/missing: 81: makeinfo: not found
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
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-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 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
./build_toolchain.sh: 88: make: not found


Does someone know what i did wrong?
Avatar de l’utilisateur
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 64%
 
Messages: 21
Inscription: 09 Nov 2019, 18:33
Localisation: Germany, North Rhine-Westfalia
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: 12

Re: Ndless sdk build_toolchain error

Message non lude Ti64CLi++ » 24 Aoû 2021, 20:39

I think you're missing make and makeinfo.
Run the following command : sudo apt install build-essential texinfo ;)
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: Ndless sdk build_toolchain error

Message non lude Rankail » 24 Aoû 2021, 20:44

Thanks for the quick reply. I can only test it tomorrow noon :(
Avatar de l’utilisateur
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 64%
 
Messages: 21
Inscription: 09 Nov 2019, 18:33
Localisation: Germany, North Rhine-Westfalia
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: 12

Re: Ndless sdk build_toolchain error

Message non lude Ti64CLi++ » 24 Aoû 2021, 20:46

No problem. And if you have any other questions, we are here for that :)
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: Ndless sdk build_toolchain error

Message non lude Rankail » 24 Aoû 2021, 20:48

You probably hear from me tomorrow ... Because of another problem. This is my second try on this. The first got farther but had some other problems ... Me not knowing wsl and corrupting it ...
Avatar de l’utilisateur
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 64%
 
Messages: 21
Inscription: 09 Nov 2019, 18:33
Localisation: Germany, North Rhine-Westfalia
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: 12

Re: Ndless sdk build_toolchain error

Message non lude SlyVTT » 25 Aoû 2021, 14:56

Rankail,

I do not know if you finally succeeded in building the toolchain.
Anyhow, it may help others.

The methodology to be used for installing the Ndless SDK / Toolchain is the same for a conventional linux distribution (by instance Ubuntu) and for for a distribution running on WSL.

Assuming you have WSL properly installed and running with a proper Ubuntu install, you can follow the following tutorial for a fully automatized installation (I personally used that procedure once on a normal Linux installation and once with Ubuntu running on WSL (this is my current setup) ):


I made a tutorial on that topic just here viewtopic.php?f=20&t=24557#p258741, but I realize I wrote it in French, so maybe hard to follow for an english spoker.

So let me give you the main points, assuming your Ubuntu distribution is already running with an internet connection.
The background of my tutorial was an installation within a windows computer running Kubuntu through a virtual machine, but I guess it is very similar with Ubuntu.

the easy way is to first install the package python3-dev :

Code: Tout sélectionner
sudo apt install python3-dev


then there is an automatic installer that you can find here : https://github.com/trueToastedCode/Ndle ... -installer consisting in a single python script that:
- downloads and installs all the missing packages
- downloads the SDK
- AND builds and installs the SDK properly.

I recommend putting the .py script directly in your home folder. It will create all the needed subfolders and installs in a clean way.

Just run it with

Code: Tout sélectionner
sudo python ./NdlessSDK_AutoInstall.py





Hope it helps.

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43%
 
Messages: 482
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT

Re: Ndless sdk build_toolchain error

Message non lude Rankail » 25 Aoû 2021, 21:07

Thanks for the reply. Too bad i only saw it now. I've already ran the toolchain (it's been running for 2h because my laptop isn't fast xD). You're correct: I saw your post but didn't understand it correctly and thought it wouldn't work with wsl. If there are some errors i can't fix with the help of this forum i will definitely try it out.
Avatar de l’utilisateur
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 64%
 
Messages: 21
Inscription: 09 Nov 2019, 18:33
Localisation: Germany, North Rhine-Westfalia
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: 12


Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 8 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.
978 utilisateurs:
>966 invités
>7 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)