From owner-freebsd-ports Thu Apr 4 11:40:32 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 38CE837B41D for ; Thu, 4 Apr 2002 11:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34Je1F28992; Thu, 4 Apr 2002 11:40:01 -0800 (PST) (envelope-from gnats) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by hub.freebsd.org (Postfix) with ESMTP id A971637B41B for ; Thu, 4 Apr 2002 11:31:46 -0800 (PST) Received: (from lev@localhost) by ftp.translate.ru (8.11.6/8.11.2) id g34JVja18466; Thu, 4 Apr 2002 23:31:45 +0400 (MSD) (envelope-from lev) Message-Id: <200204041931.g34JVja18466@ftp.translate.ru> Date: Thu, 4 Apr 2002 23:31:45 +0400 (MSD) From: "Lev A. Serebryakov" Reply-To: "Lev A. Serebryakov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36766: Incompatibility between autoconf, automake and libtool Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36766 >Category: ports >Synopsis: Incompatibility between autoconf, automake and libtool >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 04 11:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Lev A. Serebryakov >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD freebsd.sereb.net 4.4-STABLE FreeBSD 4.4-STABLE #1: Sat Dec 8 13:48:40 MSK 2001 root@freebsd.sereb.net:/usr/obj/usr/src/sys/LEVMAIL i386 Ports collection: 5 Apr 2001 >Description: When devel/libtool port are installed, it put aclocal-related files to `${PREFIX}/share/aclocal/libtool.m4'. But it is directory for automake-1.5 port. And autoconf-2.53 & automake-1.5 ports IS NOT COMPATIBLE with libtool-1.3.6: %cat configure.in AC_INIT(src/test.c) AM_INIT_AUTOMAKE([test], [0.1]) AC_PROG_CC AC_PROG_LIBTOOL AM_CONFIG_HEADER(config.h) AC_OUTPUT([Makefile src/Makefile]) % %cat Makefile.am SUBDIRS = src % %libtoolize -f -c && aclocal && autoheader && automake -ac && autoconf configure.in:6: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.in:8: warning: do not use m4_regexp: use regexp or m4_bregexp % %./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc checking build system type... i386-unknown-freebsdelf4.4 checking host system type... i386-unknown-freebsdelf4.4 checking for ranlib... ranlib checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes loading cache /dev/null within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed % When I try to use OLD automake, aclocal and autoconf it COULD NOT find libtool.m4 and AC_PROG_LIBTOOL, because libtool.m4 is in `${PREFIX}/share/aclocal/libtool.m4', not in `${PREFIX}/share/automake14/aclocal/libtool.m4': %libtoolize -f -c && aclocal14 && autoheader213 && automake14 -a -c && autoconf213 %libtoolize -f -c && aclocal14 && autoheader213 && automake14 -a -c && autoconf213 You should update your `aclocal.m4' by running aclocal. autoconf: Undefined macros: configure.in:4:AC_PROG_LIBTOOL % This situation could be fixed by copying ${PREFIX}/share/automake14/aclocal/* into ${PREFIX}/share/automake14/aclocal/, but it is not good solution, IMHO. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message