Ich habe auf einem Ubuntu Rechner die aktuelle gcc Toolchain 12.2 von
https://developer.arm.com installiert. Der Compiler läuft, aber der gdb
will nicht starten. Zuerst kam die Meldung libcurses.irgendwas fehlt,
daraufhin habe ich nach einigen Hinweisen diverse libcurses installiert.
Nach mehreren Anläufen war diese Fehlermeldung weg, aber jetzt hängt es
an irgendeinem Python Ding.
1 | jojo@hp-keller:~$ arm-none-eabi-gdb
|
2 | Could not find platform independent libraries <prefix>
|
3 | Could not find platform dependent libraries <exec_prefix>
|
4 | Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
|
5 | Python path configuration:
|
6 | PYTHONHOME = (not set)
|
7 | PYTHONPATH = (not set)
|
8 | program name = '/usr/local/bld-tools/bld-tools-virtual-env/bin/python'
|
9 | isolated = 0
|
10 | environment = 1
|
11 | user site = 1
|
12 | import site = 1
|
13 | sys._base_executable = '/usr/local/bld-tools/bld-tools-virtual-env/bin/python'
|
14 | sys.base_prefix = '/usr'
|
15 | sys.base_exec_prefix = '/usr'
|
16 | sys.executable = '/usr/local/bld-tools/bld-tools-virtual-env/bin/python'
|
17 | sys.prefix = '/usr'
|
18 | sys.exec_prefix = '/usr'
|
19 | sys.path = [
|
20 | '/usr/lib/python38.zip',
|
21 | '/usr/lib/python3.8',
|
22 | '/usr/lib/lib-dynload',
|
23 | ]
|
24 | Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
|
25 | Python runtime state: core initialized
|
26 | ModuleNotFoundError: No module named 'encodings'
|
27 |
|
28 | Current thread 0x00007f1e42d77c00 (most recent call first):
|
29 | <no Python frame>
|
dieser /usr/local/bld-tools/ Pfad existiert nicht, python 3.8 auch
nicht. Ist das im arm-eabi-none-gdb eingebrannt oder wo kommt das her?