我正在尝试使用以下步骤从远程( https://git.kernel.org/pub/scm/bluetooth/bluez.git )安装最新版本的 BlueZ :-
./bootstrap
./configure --disable-dependency-tracking
make
Run Code Online (Sandbox Code Playgroud)
但是,配置过程失败并出现以下情况:-
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.
Run Code Online (Sandbox Code Playgroud)
在网上快速搜索后,我发现为了满足这个要求,我必须安装 python-docutils,但这对我来说总是失败,如下所示
$ 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
Run Code Online (Sandbox Code Playgroud)
我按照此链接中的说明进行操作,但仍然没有运气,我总是收到上述错误消息。知道如何安装 python-docutils 或 rst2man 吗?
我使用的是 Ubuntu 22.04.1 LTS(Linux 5.15.0-48-generic)。
小智 6
为我
sudo apt -y install python3-docutils
Run Code Online (Sandbox Code Playgroud)
似乎可以在 Debian GNU/Linux 11(牛眼)上运行。
归档时间: |
|
查看次数: |
5417 次 |
最近记录: |