[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib and automake
From: |
John W. Eaton |
Subject: |
Re: gnulib and automake |
Date: |
Wed, 28 Oct 2009 15:58:28 -0400 |
On 28-Oct-2009, Rik wrote:
| When running autogen.sh I get
|
| calling libtoolize...
| Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
|
| and a little further down
|
| calling automake...
| libcruft/Makefile.am:26: Libtool library used but `LIBTOOL' is undefined
| libcruft/Makefile.am:26: The usual way to define `LIBTOOL' is to add
| `AC_PROG_LIBTOOL'
| libcruft/Makefile.am:26: to `configure.ac' and run `aclocal' and
| `autoconf' again.
| libcruft/Makefile.am:26: If `AC_PROG_LIBTOOL' is in `configure.ac',
| make sure
| libcruft/Makefile.am:26: its definition is in aclocal's search path.
| liboctave/Makefile.am:26: Libtool library used but `LIBTOOL' is undefined
| liboctave/Makefile.am:26: The usual way to define `LIBTOOL' is to add
| `AC_PROG_LIBTOOL'
| liboctave/Makefile.am:26: to `configure.ac' and run `aclocal' and
| `autoconf' again.
| liboctave/Makefile.am:26: If `AC_PROG_LIBTOOL' is in `configure.ac',
| make sure
| liboctave/Makefile.am:26: its definition is in aclocal's search path.
| src/Makefile.am:26: Libtool library used but `LIBTOOL' is undefined
| src/Makefile.am:26: The usual way to define `LIBTOOL' is to add
| `AC_PROG_LIBTOOL'
| src/Makefile.am:26: to `configure.ac' and run `aclocal' and `autoconf'
| again.
| src/Makefile.am:26: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
| src/Makefile.am:26: its definition is in aclocal's search path.
|
| autogen.sh appears to succeed, but the next step of configure fails with
|
| ./configure: line 16887: syntax error near unexpected token `disable-static'
| ./configure: line 16887: `LT_INIT(disable-static)'
|
| Adding AC_PROG_LIBTOOL to configure.ac silenced the warnings but did not
| fix the issue with configure.
|
| System is Linux Kubuntu 8.04.
It runs cleanly for me.
| automake-1.10
Given what Søren Hauberg said earlier, this version is apparently too
old. You need 1.11. I already added a requirement for 1.11 in
configure.ac.
| libtool-1.5.26
I also have
$ libtool --version
ltmain.sh (GNU libtool) 2.2.6
Written by Gordon Matzigkeit <address@hidden>, 1996
so maybe 1.5.26 is also too old? For now, I've added
LT_PREREQ([2.2.6])
to configure.ac since that version is known to work, but could relax
that a bit if someone with an older version of libtool confirms that
it works without problems.
jwe
- Re: gnulib and automake, (continued)
- Re: gnulib and automake, John W. Eaton, 2009/10/31
- Re: gnulib and automake, Benjamin Lindner, 2009/10/31
- Re: gnulib and automake, John W. Eaton, 2009/10/31
- Re: gnulib and automake, Benjamin Lindner, 2009/10/31
- Re: gnulib and automake, John W. Eaton, 2009/10/31
- Re: gnulib and automake, Benjamin Lindner, 2009/10/31
- Re: gnulib and automake, John W. Eaton, 2009/10/31
- Re: gnulib and automake, Benjamin Lindner, 2009/10/31
Re: gnulib and automake, John W. Eaton, 2009/10/30
Re: gnulib and automake, Rik, 2009/10/28
- Re: gnulib and automake,
John W. Eaton <=