[Gluster-devel] automake
Ian Latter
ian.latter at midnightcode.org
Thu May 10 22:25:02 UTC 2012
Thanks Avati,
Yes, when I said that I hadn't use "configure" I meant
"autotools" (though I didn't know it :) I think almost
every project I download and build from scratch uses
configure .. the last time I looked at the autotools was
a few years ago now, maybe its time for a re-look ..
my libraries are getting big enough to warrant it I
suppose.
Hadn't seen autogen before .. thanks for your help.
Cheers,
----- Original Message -----
>From: "Anand Avati" <anand.avati at gmail.com>
>To: "Ian Latter" <ian.latter at midnightcode.org>
>Subject: Re: [Gluster-devel] automake
>Date: Tue, 08 May 2012 23:08:41 -0700
>
> 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
> code
> configure.ac is the "source" to discover the build system
and accept user
> parameters
> 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 :)
>
> Avati
>
> 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
> >
>
--
Ian Latter
Late night coder ..
http://midnightcode.org/
More information about the Gluster-devel
mailing list