bug-gnulib
[Top][All Lists]
Advanced

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

Re: how to avoid automake dependency?


From: Sam Steingold
Subject: Re: how to avoid automake dependency?
Date: Mon, 22 Oct 2007 22:00:19 -0400
User-agent: Thunderbird 1.5.0.12 (X11/20070719)

Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Sam Steingold on 10/22/2007 8:29 AM:
I put some gnulib code into my project (in directory gllib) and now I
_sometimes_ (usually it works) get this error:

/space/sbcl-arch/autobench/+clisp/src/build-aux/missing --run
automake-1.9 --gnits  gllib/Makefile
/space/sbcl-arch/autobench/+clisp/src/build-aux/missing: line 54:
automake-1.9: command not found

automake likes recording which release generated a Makefile.in.  Perhaps
all you need is to run 'autoreconf', which will then regenerate all your
Makefile.in from your latest automake version (I'm assuming you have 1.10,
but not 1.9, installed on your PATH).  Once that is done, future gnulib
updates will remember that you used automake 1.10, and no longer insist on
trying automake-1.9.

thanks for your kind reply.
alas, I am using 1.9 (and that's all I have).
my question is rather this:
how do I avoid this target being invoked?
even when automake is available, I still get this error:

cd src; automake gllib/Makefile
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
gllib/Makefile.am:18: Libtool library used but `LIBTOOL' is undefined
gllib/Makefile.am:18:
gllib/Makefile.am:18: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' gllib/Makefile.am:18: to `configure.in' and run `aclocal' and `autoconf' again.
gllib/Makefile.am:33: @LTALLOCA@ used but `LTALLOCA' is undefined
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL

$ grep -nH AM_INIT_AUTOMAKE src/configure.in
src/configure.in:22:AM_INIT_AUTOMAKE
$ ls src/autoconf/aclocal.m4
584 src/autoconf/aclocal.m4
$ grep -nH LIBTOOL src/configure.in
src/configure.in:55:AC_LIBTOOL_WIN32_DLL
src/configure.in:56:AC_PROG_LIBTOOL

I am confused.

Sam.





reply via email to

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