[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is that a way to modify tar.m4?

From: xufeng zhang
Subject: Re: Is that a way to modify tar.m4?
Date: Fri, 26 Nov 2010 10:22:23 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100512 Thunderbird/3.0.5 ThunderBrowse/3.3.2

On 11/26/2010 06:39 AM, Stefano Lattarini wrote:
On Wednesday 24 November 2010, xufeng zhang wrote:

I want to modify m4/tar.m4 in automake-1.11.1, however, after I made the
change, build automake failed, here is the build error:
   Compiling:  automake
CDPATH="${ZSH_VERSION+.}:"&&  cd .&&
--acdir=m4 -I m4
No such file or directory
Makefile:337: *** [aclocal.m4] Error 127

Could you please show the *exact* sequence of commands that caused
this error?  Also, are you building from an automake tarball, or
from a cloned git repository?

I know it is caused by the timestamp mess up,
It's not a mess-up: automake's own aclocal.m4 uses the contents of tar.m4,
and so, when tar.m4 is modified, the automake build system wants to rebuild
aclocal.m4 too.  That's absolutely correct.

so I want to know if there is a way to do this?
Just a hunch: have you built the automake and aclocal scripts *before*
modifying tar.m4?  If you haven't, well, you should build them first,
because the Automake build system uses the very automake and aclocal
scripts it ships, so you must be sure to build them before hacking any
other part of automake.
Oh, I miss something, the point is automake can't create aclocal after
modify tar.m4, but if aclocal file exist and then modify tar.m4, automake compile
can be successful.

Xufeng Zhang
Xufeng Zhang


reply via email to

[Prev in Thread] Current Thread [Next in Thread]