首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Squid源代码目录重命名在执行清理时出现"aclocal-1.14“丢失错误

Squid源代码目录重命名在执行清理时出现"aclocal-1.14“丢失错误
EN

Stack Overflow用户
提问于 2015-05-28 14:34:36
回答 1查看 474关注 0票数 0

我有一个squid源代码目录,它可以很好地用于./configure && make clean,如下所示

代码语言:javascript
复制
cd /opt/squid-3.5.4
./configure && make clean

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

代码语言:javascript
复制
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

机器详细信息:

代码语言:javascript
复制
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)

附言:在谷歌搜索之后,我试着做了下面的事情

代码语言:javascript
复制
cd /opt/squid-3.5.4_BKUP
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
autoreconf -ivf

但没那么走运。

EN

回答 1

Stack Overflow用户

发布于 2015-05-28 15:16:07

看起来我不得不这样做:

代码语言:javascript
复制
cd /opt/squid-3.5.4_BKUP/libltdl/
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30498891

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档