Re: automake

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

 



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@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxx
https://lists.nongnu.org/mailman/listinfo/gluster-devel


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux