squid源代码目录重命名给出" aclocal-1.14" make clean期间遗漏错误

时间:2015-05-28 06:34:36

标签: linux directory makefile rename squid

我有一个squid源代码dir,适用于./configure && make clean,如下所示

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

现在当我创建dir&的副本时尝试./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中,它适用于当前的地方版本。

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

PS:经过一些谷歌搜索,我尝试过以下

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

但没有运气。

1 个答案:

答案 0 :(得分:0)

看起来像我必须这样做:

Webview