我正在尝试为以下项目构建crosstool-ng:https://gitlab.eurecom.fr/snippets/23
但是,在安装跨gdb时,构建crosstool-ng似乎失败。
我尝试更新并重新安装python-dev,python,python3
以下是错误消息的摘要:
[INFO ] Installing cross-gdb
[EXTRA] Configuring cross gdb
[EXTRA] Building cross gdb
[ERROR] configure: error: failure running python-config --includes
[ERROR] make[2]: *** [Makefile:8763: configure-gdb] Error 1
[ERROR] make[1]: *** [Makefile:850: 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@376]
[ERROR] >> called from: do_gdb_backend[scripts/build/debug/300-gdb.sh@281]
[ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@59]
[ERROR] >> called from: do_debug[scripts/build/debug.sh@35]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@696]
[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] >> https://crosstool-ng.github.io/docs/known-issues/
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 53:55.58)
[53:56] / make: *** [ct-ng:261: build] Fehler 2