[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: got the libtool error when compiling application
From: |
Ralf Wildenhues |
Subject: |
Re: got the libtool error when compiling application |
Date: |
Mon, 5 Nov 2007 18:09:02 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-04) |
Hello Amit,
* amit pansuria wrote on Mon, Nov 05, 2007 at 11:49:24AM CET:
> i m using RHEL 4 with kdevelope 3.1.1 and when i run aclocal i got the
> following error
>
> d '/root/cti' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f
> Makefile.cvs
> aclocal
> aclocal:configure.in:8: warning: macro `AM_PROG_LIBTOOL' not found in library
[...]
> configure.in:8: error: possibly undefined macro: AM_PROG_LIBTOOL If
> this token and others are legitimate, please use m4_pattern_allow. See
> the Autoconf documentation.
You need both:
- run `libtoolize --copy' once, to get ltmain.sh.
- ensure aclocal finds the libtool macros. They are in libtool.m4 and
if needed ltdl.m4. These files should either be part of your package,
or installed in a location aclocal searches; typically, the latter is
$prefix/share/aclocal, if $prefix is the --prefix where Automake was
installed. Most likely /usr/share/aclocal/.
Cheers,
Ralf