[Gluster-devel] automake

Anand Avati anand.avati at gmail.com
Wed May 9 06:08:41 UTC 2012

You might want to read autobook for the general theory behind autotools.
Here's a quick summary -

aclocal prepares the running of autotools.
autoheader prepares autotools to generate a config.h to be consumed by C
configure.ac is the "source" to discover the build system and accept user
autoconf converts configure.ac to configure
Makefile.am is the "source" to define what is to be built and how.
automake converts Makefile.am to Makefile.in

till here everything is scripted in ./autogen.sh

running configure creates Makefile out of Makefile.in

now run make :)


On Tue, May 8, 2012 at 10:35 PM, Ian Latter <ian.latter at midnightcode.org>wrote:

> Hello,
>  I have built a new module and I can't seem to
> get the changed makefiles to be built.  I have not
> used "configure" in any of my projects and I'm
> not seeing an answer from my google searches.
>  The error that I get is during the "make" where
> glusterfs-3.2.6/missing errors at line 52
> "automake-1.9: command not found".
>  This is a newer RedHat environment and it has
> automake 1.11 .. if I cp 1.11 to 1.9 I get other
> errors ... libtool is reporting that the automake
> version is 1.11.1.  I believe that it is getting the
> 1.9 version from Gluster ...
>  How do I get a new Makefile.am and Makefile.in
> to work in this structure?
> Cheers,
> --
> Ian Latter
> Late night coder ..
> http://midnightcode.org/
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120508/0bf1e1b2/attachment-0003.html>

More information about the Gluster-devel mailing list