首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >rst2man:配置:错误: rst2man是必需的

rst2man:配置:错误: rst2man是必需的
EN

Ask Ubuntu用户
提问于 2022-09-29 15:34:13
回答 1查看 2.8K关注 0票数 1

我正在尝试使用以下步骤从远程安装最新版本的BlueZ (https://git.kernel.org/pub/scm/bluetooth/bluez.git):

代码语言:javascript
复制
./bootstrap
./configure --disable-dependency-tracking
make

但是,配置过程失败的原因如下:

代码语言:javascript
复制
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,但这对我来说总是失败的,因为我有以下几点:

代码语言:javascript
复制
$ 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-泛型)。

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2022-10-06 20:48:28

对我来说

代码语言:javascript
复制
sudo apt -y install python3-docutils

似乎工作在Debian /Linux 11 (斗牛眼)上。

票数 4
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1432962

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档