[OpenAFS] Unable to build user-space RPMs from source RPM (RHEL3, 1.40)

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 24 Apr 2006 14:30:55 -0400


On Friday, April 21, 2006 03:06:41 PM -0400 Derek Atkins <warlord@MIT.EDU> 
wrote:

> Quoting Drew Leske <dleske@uvic.ca>:
>
>>>>  Can't exec "aclocal": No such file or directory at
>>>>  /usr/share/autoconf/Autom4te/General.pm line 498, <GEN0> line 259.
>>>
>>> Um, the error is right here in front of your face.  Can't exec aclocal.
>>> Perhaps you don't have aclocal installed?
>>
>> I guess I don't know enough about autoconf and automake.  I thought this
>> was part of autoconf ('ac'local)--and I have autoconf installed.
>
> Nope.  aclocal is part of automake.  Don't ask me why..

It's that way for historical reasons.  Before automake, there was no large 
repository of macros which didn't come with autoconf.  Macros that _did_ 
come with autoconf would be found in its own libraries, and aclocal.m4 was 
maintained by hand, strictly for "local" (per-package) macros.  With the 
introduction of automake, there was a need for a way to collect "local" 
macros and whatever automake macros one used, and so aclocal was invented 
and shipped with automake.  It's been that way ever since.

You need to declare build dependencies on autoconf and automake.


-- Jeff