- Posts: 91
- Thank you received: 0
Build master fails
1 year 10 months ago #316032
by looping
Build master fails was created by looping
Hello
I have not been working on linuxcnc for a while now (2.10.0-pre0-3309-gfd6a133f8b), but this week, after a git pull, I can't build anymore :
I'm on Debian 10.13 .
sudo apt update and sudo apt upgrade done.
dpkg-checkbuilddeps return si empty.
Any ideas ?
I have not been working on linuxcnc for a while now (2.10.0-pre0-3309-gfd6a133f8b), but this week, after a git pull, I can't build anymore :
Code:
....
Done reading realtime dependencies
Compiling hal/components/panelui.c
hal/components/panelui.c: In function ‘main’:
hal/components/panelui.c:210:5: error: unknown type name ‘PyConfig’; did you mean ‘PyContext’?
PyConfig config;
^~~~~~~~
PyContext
hal/components/panelui.c:211:5: error: implicit declaration of function ‘PyConfig_InitPythonConfig’ [-Werror=implicit-function-declaration]
PyConfig_InitPythonConfig(&config);
^~~~~~~~~~~~~~~~~~~~~~~~~
hal/components/panelui.c:214:5: error: implicit declaration of function ‘PyConfig_SetString’; did you mean ‘PyErr_SetString’? [-Werror=implicit-function-declaration]
PyConfig_SetString(&config, &config.program_name, wname);
^~~~~~~~~~~~~~~~~~
PyErr_SetString
hal/components/panelui.c:214:40: error: request for member ‘program_name’ in something not a structure or union
PyConfig_SetString(&config, &config.program_name, wname);
^
cc1: some warnings being treated as errors
make: *** [Makefile:279: objects/hal/components/panelui.o] Error 1
I'm on Debian 10.13 .
sudo apt update and sudo apt upgrade done.
dpkg-checkbuilddeps return si empty.
Any ideas ?
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
1 year 10 months ago #316035
by tommylight
Replied by tommylight on topic Build master fails
Probably due to different Python requirements it wont worn on Debian 10, but should work on Debian 12.
Try compiling the 2.9 branch, that should still work on Debian 10.
Try compiling the 2.9 branch, that should still work on Debian 10.
Please Log in to join the conversation.
1 year 10 months ago #316049
by Grotius
Replied by Grotius on topic Build master fails
Hi Tommy,
Yes, python related.
PyConfig_InitPythonConfig and PyConfig_SetString, are part of Python's new initialization APIs introduced in Python 3.8.
Try:
sudo apt-get update
sudo apt-get install python3 python3-dev python3-pip python3-venv
Yes, python related.
PyConfig_InitPythonConfig and PyConfig_SetString, are part of Python's new initialization APIs introduced in Python 3.8.
Try:
sudo apt-get update
sudo apt-get install python3 python3-dev python3-pip python3-venv
Please Log in to join the conversation.
1 year 10 months ago #316050
by rodw
Replied by rodw on topic Build master fails
I think it will be difficult to meet all dependencies on Debian 10. Upgrade to Debian 12 Bookworm
Please Log in to join the conversation.
Time to create page: 0.156 seconds
