[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
aclocal does not add LIBTOOL macros?
From: |
Stephane Bortzmeyer |
Subject: |
aclocal does not add LIBTOOL macros? |
Date: |
Sat, 5 May 2007 13:10:58 +0200 |
User-agent: |
Mutt/1.5.9i |
I always have problems bootstrapping auto* programs. This time,
automake's aclocal apparently does not do what it should.
The program uses libtool:
% grep LIBTOOL configure-common.ac
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
(configure-common.ac is included by configure.ac)
aclocal does not add LIBTOOL macros:
% aclocal
/usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
% grep LIBTOOL aclocal.m4
%
And, of course, autoconf complains:
% autoconf
configure:2125: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:2126: error: possibly undefined macro: AC_PROG_LIBTOOL
I can use libtoolize:
% libtoolize
Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
You should update your `aclocal.m4' by running aclocal.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
but it changes nothing, aclocal still does the wrong thing.
On other machines, I can run aclocal on the same tree and it does
create an aclocal.m4 with LIBTOOL macros. The faulty machine is:
% uname -a
FreeBSD esther.generic-nic.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Jan 30
10:03:08 CET 2007 address@hidden:/usr/obj/usr/src/sys/ESTHER i386
% aclocal --version
aclocal (GNU automake) 1.9.6
Written by Tom Tromey <address@hidden>
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% libtoolize --version
libtoolize (GNU libtool) 1.5.22
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
signature.asc
Description: Digital signature
- aclocal does not add LIBTOOL macros?,
Stephane Bortzmeyer <=