Code:
song@song-virtual-machine:~$ sudo apt install automake
[sudo] song 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
automake 已经是最新版 (1:1.16.5-1.3)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
song@song-virtual-machine:~$ cd linuxcnc-dev/src
song@song-virtual-machine:~/linuxcnc-dev/src$ ./autogen.sh
song@song-virtual-machine:~/linuxcnc-dev/src$ ./configure --with-realtime=uspace --disable-build-documentation-translation --enable-non-distributable
checking for c++... c++
checking whether the C++ compiler works... yes
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
Yes I also installed "automake"
But the error still exists
Thank you very much for your reply, it seems that I can only live bookworm version