Hello,

* kknd1233 wrote on Wed, Jan 05, 2011 at 12:14:20AM CET:
> And then when I run the command 'autoreconf --install', it said an error
> message like
> "
> lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
> lib/Makefile.am:1:   The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> lib/Makefile.am:1:   to `configure.ac' and run `aclocal' and `autoconf'
> again.
> lib/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
> lib/Makefile.am:1:   its definition is in aclocal's search path.
> "

(LT_INIT is a synonym of AC_PROG_LIBTOOL.)

I presume your Automake and your Libtool are not installed below the
same prefix, thus aclocal doesn't find the Libtool macros to install.
One solution is to install both below the same prefix; or write a
dirlist file in $automake_prefix/share/aclocal with a line containing
$libtool_prefix/share/aclocal.

Or the error has a different reason, in which case please post output of
  autoreconf --verbose --install

Hope that helps.

Cheers,
Ralf

_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to