From owner-freebsd-questions@FreeBSD.ORG Thu Apr 16 14:13:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD8391065687 for ; Thu, 16 Apr 2009 14:13:44 +0000 (UTC) (envelope-from michel@seliverstoff.fr) Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 7CCB38FC13 for ; Thu, 16 Apr 2009 14:13:44 +0000 (UTC) (envelope-from michel@seliverstoff.fr) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA02.westchester.pa.mail.comcast.net with comcast id gARp1b00C0xGWP852EDMXE; Thu, 16 Apr 2009 14:13:21 +0000 Received: from freebsd.leplacard.net ([69.248.48.27]) by OMTA12.westchester.pa.mail.comcast.net with comcast id gEDh1b00V0bC0bH3YEDh3Z; Thu, 16 Apr 2009 14:13:42 +0000 Received: from freebsd.leplacard.net (localhost [127.0.0.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by freebsd.leplacard.net (Postfix) with ESMTPS id 6DC3CC3B3B for ; Thu, 16 Apr 2009 10:13:40 -0400 (EDT) Received: by freebsd.leplacard.net (Postfix, from userid 58) id 13D4AC3B3D; Thu, 16 Apr 2009 10:13:40 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on freebsd.leplacard.net X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL, BAYES_00, LOCAL_AUTH_RCVD, MR_NOT_ATTRIBUTED_IP, UNPARSEABLE_RELAY, WEIRD_PORT autolearn=ham version=3.2.5 Received: from freebsd.leplacard.net (freebsd.leplacard.net) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hidden) by freebsd.leplacard.net (Postfix) with ESMTPSA id 18B14C3B3B for ; Thu, 16 Apr 2009 10:13:36 -0400 (EDT) Message-ID: <49E73D09.50400@seliverstoff.fr> Date: Thu, 16 Apr 2009 10:13:29 -0400 From: michel User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <49BE4751.6090700@seliverstoff.fr> In-Reply-To: <49BE4751.6090700@seliverstoff.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: LibSM: You should recreate aclocal.m4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 14:13:45 -0000 michel wrote: > Hello, > I'm having problems upgrading LibSM.. I'm getting "You should recreate > aclocal.m4". > I tried to run aclocal in work/libSM-1.1.0 but it didn't really help. > Thanks for your help > Michel > > FreeBSD 6.2-RELEASE-p12 i386 > > ---> Upgrading 'libSM-1.1.0,1' to 'libSM-1.1.0_1,1' (x11/libSM) > ---> Building '/usr/ports/x11/libSM' > ===> Cleaning for libSM-1.1.0_1,1 > ===> Extracting for libSM-1.1.0_1,1 > => MD5 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. > => SHA256 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. > ===> Patching for libSM-1.1.0_1,1 > ===> Applying FreeBSD patches for libSM-1.1.0_1,1 > ===> libSM-1.1.0_1,1 depends on file: > /usr/local/share/aclocal/xorg-macros.m4 - found > ===> libSM-1.1.0_1,1 depends on file: > /usr/local/libdata/pkgconfig/xtrans.pc - found > ===> libSM-1.1.0_1,1 depends on file: > /usr/local/libdata/pkgconfig/ice.pc - found > ===> libSM-1.1.0_1,1 depends on file: > /usr/local/libdata/pkgconfig/xproto.pc - found > ===> libSM-1.1.0_1,1 depends on file: /usr/local/bin/automake-1.10 - > found > ===> libSM-1.1.0_1,1 depends on file: /usr/local/bin/autoconf-2.62 - > found > ===> libSM-1.1.0_1,1 depends on file: /usr/local/bin/libtool - found > ===> libSM-1.1.0_1,1 depends on executable: pkg-config - found > ===> Configuring for libSM-1.1.0_1,1 > /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of > AM_PATH_GTK > /usr/local/share/aclocal/gtk.m4:7: run info '(automake)Extending > aclocal' > /usr/local/share/aclocal/gtk.m4:7: or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal > configure.ac:15: warning: do not use m4_patsubst: use patsubst or > m4_bpatsubst > ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... > /usr/local/share/aclocal/header.m4:12: AM_CONFIG_HEADER is expanded > from... > configure.ac:15: the top level > configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp > /usr/local/share/aclocal/header.m4:58: _AM_DIRNAME is expanded from... > ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded > from... > configure.ac:57: the top level > configure.ac:15: warning: do not use m4_patsubst: use patsubst or > m4_bpatsubst > ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... > aclocal.m4:279: AM_CONFIG_HEADER is expanded from... > configure.ac:15: the top level > configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp > aclocal.m4:325: _AM_DIRNAME is expanded from... > ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded > from... > configure.ac:57: the top level > configure.ac:15: warning: do not use m4_patsubst: use patsubst or > m4_bpatsubst > ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... > aclocal.m4:279: AM_CONFIG_HEADER is expanded from... > configure.ac:15: the top level > configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp > aclocal.m4:325: _AM_DIRNAME is expanded from... > ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded > from... > configure.ac:57: the top level > configure.ac:15: warning: do not use m4_patsubst: use patsubst or > m4_bpatsubst > ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... > aclocal.m4:279: AM_CONFIG_HEADER is expanded from... > configure.ac:15: the top level > configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp > aclocal.m4:325: _AM_DIRNAME is expanded from... > ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded > from... > configure.ac:57: the top level > configure.ac:11: your implementation of AM_INIT_AUTOMAKE comes from an > configure.ac:11: old Automake version. You should recreate aclocal.m4 > configure.ac:11: with aclocal and run automake again. > /usr/local/share/automake-1.10/am/depend2.am: am__fastdepCC does not > appear in AM_CONDITIONAL > /usr/local/share/automake-1.10/am/depend2.am: The usual way to > define `am__fastdepCC' is to add `AC_PROG_CC' > /usr/local/share/automake-1.10/am/depend2.am: to `configure.ac' and > run `aclocal' and `autoconf' again. > *** Error code 63 > > Stop in /usr/ports/x11/libSM. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20090316-95249-1itn24r-0 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=libSM-1.1.0,1 UPGRADE_PORT_VER=1.1.0,1 make > ** Fix the problem and try again. > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! x11/libSM (libSM-1.1.0,1) (unknown build error) > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" The problem has been solved thanks to SAITOU Toshihide. I had very old m4 files in my /usr/local/share/aclocal. I removed these that dated from last year or earlier and it worked like a charm.