modular build: AM_PROG_LIBTOOL AC_PROG_LIBTOOL problems

Yotam Medini yotam.medini at gmail.com
Sat Apr 8 13:55:12 PDT 2006


The problems below were solved by using libtool-1.5 from
http://xorg-annarchy.freedesktop.org/releases/current/src/extras//
Note that with libtool-1.5.6 (on my Ubuntu 5.10) the problem exists.

Now I am facing the next build problem:

./configure: line 18616: syntax error near unexpected token `XAU,'
./configure: line 18616: `PKG_CHECK_MODULES(XAU, xproto)'

-- yotam

On 4/7/06, Yotam Medini <yotam.medini at gmail.com> wrote:
> ...
> ------------------------------------------------------------------------
> autoreconf: running: aclocal -I /home/yotam/xorg/modular/share/aclocal  --output=aclocal.m4t
> autoreconf: `aclocal.m4' is updated
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/bin/autoconf
> configure.ac:36: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:37: error: possibly undefined macro: AM_PROG_LIBTOOL
> autoreconf: /usr/bin/autoconf failed with exit status: 1
>
> ------------------------------------------------------------------------
>
> autoreconf: running: aclocal -I /home/yotam/xorg/modular/share/aclocal  --output=aclocal.m4t
> autoreconf: `aclocal.m4' is unchanged
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/bin/autoconf
> autoreconf: running: /usr/bin/autoheader
> autoreconf: running: automake --add-missing --copy
> configure.ac: installing `./mkinstalldirs'
> Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
> Makefile.am:1:
> Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
> Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
> autoreconf: automake failed with exit status: 1
> ------------------------------------------------------------------------
>
> Any hint?
> thanks -- yotam
>


More information about the xorg-modular mailing list