链接到之前:使用 pkg-config 宏 PKG_CHECK_MODULES 失败
这不能解决我的解决方案。我确实安装了 pkg-config。当我输入时aclocal --print
,它给出的第一件事是main::scan_file() called too early to check prototype at /usr/local/bin/aclocal line 618
。它也在./bootstrap
. 然后它给出了目录/usr/local/share/aclocal
由于某种原因,宏仍然不起作用。我在 Artix linux(类似 Arch 的发行版)上,使用 automake 1.16.2-3 和 pkg-conf 1.7.3-1。./configure、config.log 和 ./bootstrap 的输出为: https ://pastebin.com/NY1GgtFF ( configure
)、 https ://pastebin.com/iDAUXRv3 ( config.log
) 和https://pastebin.com/aRVw00Ex ( bootstrap
)
无论如何,宏扩展都会失败。你有什么想法?我将如何设置 m4_pattern_allow 标志?此错误发生在 openbox 和 lxterminal 上。我还没有尝试过遇到此错误的任何其他程序,但我认为它发生在哪个程序上并不重要
我真的希望我提供了足够的信息,这是我的第一篇文章,所以我希望我做的一切都是正确的