automake
[Top][All Lists]
Advanced

[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 18:47:37 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 ThunderBrowse/3.3.2

On 11/26/2010 06:37 PM, Stefano Lattarini wrote:
On Friday 26 November 2010, xufeng zhang wrote:
On 11/26/2010 06:39 AM, Stefano Lattarini wrote:

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,

More or less; the point is that the Makefile, in order to rebuild
aclocal.m4, wants to use the very version of the aclocal script
provided by the automake tarball you're using; but since you haven't
build that script yet (by running ./configure&&  make after unpacking
the tarball), the rebuilding of aclocal.m4 fails.

but if aclocal file exist and then modify tar.m4,
automake compile can be successful.

Yes, that was my point (sorry if I didn't manage to make that clear
enough).  As Dave pointed out in a previous mail, you should:

  1.  Unpack tar
  2.  configure
  3.  make  # this will build ./aclocal and ./automake

  Assuming success so far, then proceed to:

  4.  patch tar.m4
  5.  make  # this will use the ./aclocal and ./automake build previously
Seems it can only use this workaround, if I am building a file system containing automake,
then it shouldn't be this way, because it should execute serially.
Thanks for all your help.

Thanks,
Xufeng Zhang
Regards,
   Stefano




reply via email to

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