Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: python is missing or unusable #407

Open
Golovkov opened this issue Nov 11, 2020 · 3 comments
Open

error: python is missing or unusable #407

Golovkov opened this issue Nov 11, 2020 · 3 comments

Comments

@Golovkov
Copy link

Golovkov commented Nov 11, 2020

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
Copy link
Author

Golovkov commented Nov 11, 2020

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

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

@maximkulkin
Copy link
Owner

maximkulkin commented Nov 11, 2020

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).

@AchimPieters
Copy link

maybe this will help: installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants