我正在尝试使用以下步骤从远程安装最新版本的BlueZ (https://git.kernel.org/pub/scm/bluetooth/bluez.git):
./bootstrap
./configure --disable-dependency-tracking
make但是,配置过程失败的原因如下:
checking systemd user unit dir... /usr/lib/systemd/user
checking for rst2man... no
checking for rst2man.py... no
configure: error: rst2man is required
make: *** No targets specified and no makefile found. Stop.在网上快速搜索之后,我发现为了满足这一需求,我必须安装python,但这对我来说总是失败的,因为我有以下几点:
$ sudo apt -y install python-docutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-docutils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-docutils' has no installation candidate我遵循了此链接中的说明,但仍然没有运气,我总是收到上面的错误消息。知道如何安装或rst2man吗?
我使用的是Ubuntu22.04.1LTS(Linux5.15.0-48-泛型)。
发布于 2022-10-06 20:48:28
对我来说
sudo apt -y install python3-docutils似乎工作在Debian /Linux 11 (斗牛眼)上。
https://askubuntu.com/questions/1432962
复制相似问题