misc/81558: AC_PROG_LIBTOOL macro is not available to automake

Markus Hoenicka markus.hoenicka at mhoenicka.de
Fri May 27 07:20:02 PDT 2005


>Number:         81558
>Category:       misc
>Synopsis:       AC_PROG_LIBTOOL macro is not available to automake
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 27 14:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Markus Hoenicka
>Release:        5.4-RELEASE
>Organization:
>Environment:
FreeBSD yeti.mininet 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed May 25 23:01:46 CEST 2005     markus at yeti.mininet:/usr/src/sys/i386/compile/YETI  i386
>Description:
If configure.in calls the AC_PROG_LIBTOOL macro, the command sequence
libtoolize15 --force --copy
aclocal19 --force
autoheader259
automake19 --add-missing --force-missing
autoconf259

fails to build a usable configure script. The error message indicates that the AC_PROG_LIBTOOL and AC_PROG_LD macros cannot be expanded:

configure.in:27: error: possibly undefined macro: AC_PROG_LD
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:29: error: possibly undefined macro: AC_PROG_LIBTOOL

In order to exclude version problems of the autotools, I've removed libtool13 which was installed as a dependency. The system was otherwise a fresh install and had installed only the autotools versions mentioned above.

>How-To-Repeat:
I've noticed this problem while trying to build the current cvs version of libdbi (http://refdb.sourceforge.net/projects/libdbi)

Please note that in the current cvs version the ./autogen.sh file must be edited to use the appropriate autotools version, as indicated above. Or just run the commands listed in the full description.
>Fix:
root at yeti:/usr/local/share/aclocal19# ln -s ../aclocal/libtool15.m4 libtool15.m4
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list