gpt4 book ai didi

linux - Squid 源代码目录重命名在 make clean 期间出现 "aclocal-1.14"丢失错误

转载 作者:太空宇宙 更新时间:2023-11-04 03:39:04 33 4
gpt4 key购买 nike

我有一个鱿鱼源代码目录,它适用于 ./configure && make clean 如下

cd /opt/squid-3.5.4
./configure && make clean

现在,当我创建目录的副本并尝试执行 ./configure && make clean 时,我收到错误

cp -r /opt/squid-3.5.4 /opt/squid-3.5.4_BKUP
cd /opt/squid-3.5.4_BKUP
./configure && make clean
.....
.....
.....
make[2]: Leaving directory `/opt/squid-3.5.4_BKUP/lib'
make[1]: Leaving directory `/opt/squid-3.5.4_BKUP/lib'
Making clean in libltdl
make[1]: Entering directory `/opt/squid-3.5.4_BKUP/libltdl'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /opt/squid-3.5.4_BKUP/libltdl/config/missing aclocal-1.14 -I m4
/opt/squid-3.5.4_BKUP/libltdl/config/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[1]: *** [aclocal.m4] Error 127
make[1]: Leaving directory `/opt/squid-3.5.4_BKUP/libltdl'
make: *** [clean-recursive] Error 1

机器详细信息:

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
aclocal --version
aclocal (GNU automake) 1.11.1

它说 aclocal-1.14 丢失,但在目录 /opt/squid-3.5.4 中它可以与当前 aclocal 版本正常工作。

有人可以告诉我如何在重命名的目录中构建(/make)

PS:经过一些谷歌搜索后,我尝试执行以下操作

cd /opt/squid-3.5.4_BKUP
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
autoreconf -ivf

但运气不好。

最佳答案

看起来我必须这样做:

cd /opt/squid-3.5.4_BKUP/libltdl/
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in

关于linux - Squid 源代码目录重命名在 make clean 期间出现 "aclocal-1.14"丢失错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30498891/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com