正在检查所需的 M4 宏... yelp.m4 未找到

Lin*_*eak 4 compiling macro m4

我使用的是 Linux Mint 18 Cinnamon 64 位。

我正准备从源代码编译file-roller被称为GNOME 的存档管理器

但是在运行时:

./autogen.sh
Run Code Online (Sandbox Code Playgroud)

缺少以下 M4 宏:

Checking for required M4 macros...
yelp.m4 not found
***Error***: some autoconf macros required to build Package
were not found in your aclocal path, or some forbidden
macros were found.  Perhaps you need to adjust your
ACLOCAL_PATH?
Run Code Online (Sandbox Code Playgroud)

Ste*_*itt 7

您可以使用apt-file此功能,而不必知道 M4 文件的去向:

apt-file search yelp.m4
Run Code Online (Sandbox Code Playgroud)

即使没有yelp-tools安装包 ( ),它也会告诉您特定文件的位置。

yelp-tools: /usr/share/aclocal/yelp.m4
Run Code Online (Sandbox Code Playgroud)

这告诉您安装yelp-tools应该允许构建进一步进行。

或者,您可以检查in Debian的构建依赖项file-roller:它也列出yelp-tools了您需要的所有其他软件包。

在 Linux Mint 18apt-file上没有预装,但很容易安装:

sudo apt-get install apt-file
Run Code Online (Sandbox Code Playgroud)

安装后,您需要使用以下内容更新其数据库:

sudo apt-file update
Run Code Online (Sandbox Code Playgroud)