esp-homekit-demo icon indicating copy to clipboard operation
esp-homekit-demo copied to clipboard

error: python is missing or unusable

Open Golovkov opened this issue 4 years ago • 3 comments

good afternoon! when executing the command docker build . -f esp-sdk-dockerfile -t esp-sdk ran into error:

[ERROR] configure: error: python is missing or unusable [ERROR] make[4]: *** [configure-gdb] Error 1 [ERROR] make[3]: *** [all] Error 2 [ERROR] - [ERROR] >> [ERROR] >> Build failed in step 'Installing cross-gdb' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] [ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@120] [ERROR] >> called from: do_debug[scripts/build/debug.sh@35] [ERROR] >> called from: main[scripts/crosstool-NG.sh@646] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> 'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6/B - Known issues.txt' [ERROR] / [ERROR] (elapsed: 876:12.45) [876:14] / ct-ng:152: recipe for target 'build' failed #9 5.260 make[2]: *** [build] Error 2 #9 5.260 make[2]: Leaving directory '/build/esp-open-sdk/crosstool-NG' #9 5.260 ../Makefile:135: recipe for target '_toolchain' failed #9 5.260 make[1]: *** [_toolchain] Error 2 #9 5.260 make[1]: Leaving directory '/build/esp-open-sdk/crosstool-NG' #9 5.260 Makefile:130: recipe for target 'crosstool-NG/.built' failed #9 5.260 make: *** [crosstool-NG/.built] Error 2


Please tell me how you can solve it?

Golovkov avatar Nov 11 '20 17:11 Golovkov

solution with brew install python-dev does not work and will throw an error

No available formula or cask with the name "python-dev".

Golovkov avatar Nov 11 '20 17:11 Golovkov

Not sure how this has happened, python and python-dev are installed a few steps above in that Dockerfile (assuming you're using Dockerfile from step 2 on the wiki).

maximkulkin avatar Nov 11 '20 20:11 maximkulkin

maybe this will help: installation

AchimPieters avatar Feb 04 '21 13:02 AchimPieters