mengstr / cpm8266

Z80-CP/M2.2 emulation on ESP8266 NONOS SDK + the NoSDK from cnlohr
MIT License
122 stars 24 forks source link

Error 2 on while make of esp-open-sdk #25

Open guidol70 opened 5 years ago

guidol70 commented 5 years ago

In different Linux (armbian/devuan) systems I do get a error 2 after: git clone --recursive https://github.com/pfalcon/esp-open-sdk.git cd esp-open-sdk make

showing Now configured for "xtensa-lx106-elf" make[2]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird verlassen sed -r -i.org s%CT_PREFIX_DIR=.*%CT_PREFIX_DIR="/home/guido/esp-open-sdk/xtensa-lx106-elf"% .config sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config cat ../crosstool-config-overrides >> .config ./ct-ng build make[2]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird betreten [ERROR] You must NOT be root to run crosstool-NG [00:00] / ct-ng:152: die Regel für Ziel „build“ scheiterte make[2]: *** [build] Fehler 1 make[2]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird verlassen ../Makefile:133: die Regel für Ziel „_toolchain“ scheiterte make[1]: *** [_toolchain] Fehler 2 make[1]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird verlassen Makefile:129: die Regel für Ziel „/home/guido/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc“ scheiterte make: *** [/home/guido/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Fehler 2

Any idea? Thanks in advance! :)

drawkula commented 5 years ago

[ERROR] You must NOT be root to run crosstool-NG

guidol70 commented 5 years ago

but I did get the same error when I do try it after "su guido" - so that the comman will run under my user. Or should I completly logout and logon as "guido"-user and retry?