Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 14:16:57 GMT
From:      Markus Hoenicka <markus.hoenicka@mhoenicka.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/81558: AC_PROG_LIBTOOL macro is not available to automake
Message-ID:  <200505271416.j4REGvgk055824@www.freebsd.org>
Resent-Message-ID: <200505271420.j4REK1hV027732@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@yeti:/usr/local/share/aclocal19# ln -s ../aclocal/libtool15.m4 libtool15.m4
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505271416.j4REGvgk055824>