[Top][All Lists]

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

Re: help a newbie?

From: Bob Proulx
Subject: Re: help a newbie?
Date: Mon, 15 Jan 2007 17:06:49 -0700
User-agent: Mutt/1.5.9i

Nick Rizzolo wrote:
> A quick search of Google and this mailing list's archives couldn't
> help me, so hopefully someone on this list can.  I'm new to autotools,
> and I'm trying to follow the tutorial at
> which seems to be very up-to-date.  It includes a Hello World example
> that is also given in the automake manual at

I am sure that you have the following from those tutorials in your file:

  AM_INIT_AUTOMAKE([-Wall -Werror foreign])

> option `-Wall' not recognized
> option `-Wall' not recognized
> autoreconf: automake failed with exit status: 1

This means that automake did not recognize the -Wall option and

> automake (GNU automake) 1.6.3

The current automake-1.10 will recognize that option okay.  Get the
latest version of automake and install it.

> autoconf (GNU Autoconf) 2.57

Repeat with the process to get the current autoconf-2.61.

But wait!  Autoconf heavily depends upon m4 and the new autoconf
requires at least m4-1.4.8.

And at after that you will probably need a current gettext-1.16.1 too.

So this is the complete list as I know it.  Update these and make sure
you have m4-1.4.8 available before building autoconf or the resulting
autoconf will not work right.  (Unfortunately it will still pass all
of the tests though.)


The autoconf and automake programs are developer tools.  When you make
a distribution of your project everything will be self-contained.  A
downstream builder building your project will not need to have those
versions installed.  They will simply run ./configure and use the
bundled files.

Hope that helps.

reply via email to

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