Problems running ESP IDF
Posted: Fri May 03, 2019 6:11 am
Hello,
I am trying to run ESP-IDF on Arch Linux. I followed all the steps on the Getting Started guide (replacing python with python2.7 where necessary), but when I try to run make menuconfig on Hello World example I get
Then I discovered that Arch AUR also has packages for esp-idf and esp-idf-git. I tried these, too (setting the IDF_PATH variable accordingly) and there I get another error with make menuconfig:
So any help with either of these problems will be greatly appreciated.
Thanks in advance,
Jan
I am trying to run ESP-IDF on Arch Linux. I followed all the steps on the Getting Started guide (replacing python with python2.7 where necessary), but when I try to run make menuconfig on Hello World example I get
At the same time pip2 reports that the versions installed are fine, e.g.The following Python requirements are not satisfied:
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
I must say I am quite confused, why can't make menuconfig find these modules?$ pip2 list | grep cryptography
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
cryptography 2.6.1
Then I discovered that Arch AUR also has packages for esp-idf and esp-idf-git. I tried these, too (setting the IDF_PATH variable accordingly) and there I get another error with make menuconfig:
I tried googling for this, and a similar problem was reported at https://stackoverflow.com/questions/514 ... atal-error, but the solution was "do not run something with sudo" that I am not able to translate to Arch environment -- to install a system package I have to do it with sudo.make[1]: Entering directory '/opt/esp-idf-sdk/tools/kconfig'
cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /opt/esp-idf-sdk/tools/kconfig/mconf.c -o mconf.o
/opt/esp-idf-sdk/tools/kconfig/mconf.c:1053:1: fatal error: opening dependency file mconf.d: Permission denied
}
^
compilation terminated.
So any help with either of these problems will be greatly appreciated.
Thanks in advance,
Jan