解决manjaro中安装goldendict-git 时Can't exec "aclocal": 没有那个文件或目录

在安装goldendict-git 时,刚开始,非常顺利

yay -S goldendict-git 
:: 正在检查冲突...
:: 正在检查内部冲突...
[Aur:1] goldendict-git-1:1.5.0rc2.r521.g99982a1c-2
[Aur Make:2] libeb-4.4.3-10 qt5-webkit-5.212.0alpha4-18

:: 安装后删除生成依赖? [y/N] N
3 libeb (构建文件已存在)
2 qt5-webkit (构建文件已存在)
1 goldendict-git (构建文件已存在)
==> 清理哪些软件包的构建?==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==> N
:: PKGBUILD 是最新的,跳过 (3/0): libeb, qt5-webkit, goldendict-git
3 libeb (构建文件已存在)
2 qt5-webkit (构建文件已存在)
1 goldendict-git (构建文件已存在)
==> 显示哪些差异?==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==> N
:: (1/3) 正在解析 SRCINFO: libeb
:: (2/3) 正在解析 SRCINFO: qt5-webkit
:: (3/3) 正在解析 SRCINFO: goldendict-git
==> 正在创建软件包:qt5-webkit 5.212.0alpha4-18 (2022年12月25日 星期日 21时08分24秒)
==> 获取源代码...
-> 找到 qtwebkit-5.212.0-alpha4.tar.xz
-> 找到 icu68.patch
-> 找到 glib-2.68.patch
-> 找到 qt5-webkit-python-3.9.patch
-> 找到 qt5-webkit-bison-3.7.patch
==> 正在验证 source 文件,使用sha256sums...
qtwebkit-5.212.0-alpha4.tar.xz ... 通过 icu68.patch ... 通过 glib-2.68.patch ... 通过 qt5-webkit-python-3.9.patch ... 通过 qt5-webkit-bison-3.7.patch ... 通过==> 正在创建软件包:libeb 4.4.3-10 (2022年12月25日 星期日 21时08分24秒)
==> 获取源代码...
-> 找到 libeb-4.4.3.tar.bz2
-> 找到 libeb-4.4.3-14-010_debian.patch
==> 正在验证 source 文件,使用sha256sums...
libeb-4.4.3.tar.bz2 ... ==> 正在创建软件包:goldendict-git 1:1.5.0rc2.r521.g99982a1c-2 (2022年12月25日 星期日 21时08分24秒)
==> 获取源代码...
通过 libeb-4.4.3-14-010_debian.patch ... 通过 -> 正在升级 goldendict-git git 仓库...
致命错误:无法访问 'https://github.com/goldendict/goldendict.git/':HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
==> 警告: 升级 goldendict-git git 仓库失败==> 正在验证 source 文件,使用b2sums...
goldendict-git ... 已跳过==> 正在创建软件包:libeb 4.4.3-10 (2022年12月25日 星期日 21时10分27秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系==> 获取源代码...
-> 找到 libeb-4.4.3.tar.bz2
-> 找到 libeb-4.4.3-14-010_debian.patch
==> 正在验证 source 文件,使用sha256sums...
libeb-4.4.3.tar.bz2 ... 通过 libeb-4.4.3-14-010_debian.patch ... 通过==> 正在删除现存的 $srcdir/ 目录...
==> 正在释放源码...
-> 正在解压缩 libeb-4.4.3.tar.bz2,使用 bsdtar
==> 正在开始 prepare()...
-> [patch] Applying libeb-4.4.3-14-010_debian.patch...
patching file ChangeLog
patching file README
patching file eb/bitmap.c
patching file eb/multiplex.c
patching file eb/urlparts.c
patching file eb/zio.c
patching file ebinfo/ebinfo.c
patching file libebutils/makedir.h
-> Removing link configuration for unused libraries
-> [autoupdate] Refreshing configure.ac...
aclocal.m4:16: warning: this file was generated for autoconf 2.63.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
aclocal.m4:16: warning: this file was generated for autoconf 2.63.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
-> [autoreconf] Refreshing make configuration scripts...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
Can't exec "aclocal": 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 274.
autoreconf: error: aclocal failed with exit status: 2
==> 错误: 在 prepare() 中发生一个错误。 正在放弃...
-> 生成时出错: libeb

解决办法:

sudo pacman -S automake

posted @ 2022-12-25 21:21  叕叒双又  阅读(921)  评论(0编辑  收藏  举报