Date: Sun, 09 Oct 2005 11:13:23 +0100 From: Brian Candler <B.Candler@pobox.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87162: devel/libtool15 installs aclocal files in wrong place? Message-ID: <E1EOYBH-0002nH-Vy@billdog.local.linnet.org> Resent-Message-ID: <200510091350.j99DoG4L062174@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87162 >Category: ports >Synopsis: devel/libtool15 installs aclocal files in wrong place? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 09 13:50:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD XXXX 5.4-STABLE FreeBSD 5.4-STABLE #3: Fri May 13 10:01:59 BST 2005 root@XXXX:/usr/obj/usr/src/sys/BILLDOG i386 >Description: devel/libtool15 installs its aclocal files under /usr/local/share/aclocal instead of /usr/local/share/aclocal19 As a result, they can't be found when they're needed. >How-To-Repeat: # cd /usr/ports/devel/autoconf259 # make all install # cd /usr/ports/devel/automake19 # make all install # cd /usr/ports/devel/libtool15 # make all install # pkg_info -L libtool-1.5\* ... notice: /usr/local/share/aclocal/libtool15.m4 /usr/local/share/aclocal/ltdl15.m4 Now try to build a package which requires libtool (this example is the 'bdbobj' subdirectory of the 'courier-imap' package) [brian@billdog bdbobj]$ libtoolize15 --force You should add the contents of `/usr/local/share/aclocal/libtool15.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `..'. [brian@billdog bdbobj]$ aclocal19 /usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK [brian@billdog bdbobj]$ autoheader259 [brian@billdog bdbobj]$ autoconf259 configure.in:19: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. [brian@billdog bdbobj]$ automake19 --foreign --add-missing Makefile.am:14: Libtool library used but `LIBTOOL' is undefined Makefile.am:14: Makefile.am:14: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:14: to `configure.in' and run `aclocal' and `autoconf' again. [brian@billdog bdbobj]$ Note the warning from configure.in:19 (the AC_PROG_LIBTOOL macro remains in the 'configure' output, unexpanded), and that automake fails, returning with a non-zero exit code. >Fix: Workaround: # cd /usr/local/share/aclocal19 # ln -s ../aclocal/libtool15.m4 . # ln -s ../aclocal/ltdl15.m4 . Running the same test as above then gives: [brian@billdog bdbobj]$ libtoolize15 --force You should add the contents of `/usr/local/share/aclocal/libtool15.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `..'. [brian@billdog bdbobj]$ aclocal19 /usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK [brian@billdog bdbobj]$ autoheader259 [brian@billdog bdbobj]$ autoconf259 [brian@billdog bdbobj]$ automake19 --foreign --add-missing [brian@billdog bdbobj]$ I don't know enough about the autoconf tools to suggest the right solution; maybe libtool15 could install its files under /usr/local/share/aclocal19, but then libtool15 would be tied to this particular version of automake. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EOYBH-0002nH-Vy>