Date: Thu, 16 Apr 2009 10:13:29 -0400 From: michel <michel@seliverstoff.fr> To: freebsd-questions@freebsd.org Subject: Re: LibSM: You should recreate aclocal.m4 Message-ID: <49E73D09.50400@seliverstoff.fr> In-Reply-To: <49BE4751.6090700@seliverstoff.fr> References: <49BE4751.6090700@seliverstoff.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E73D09.50400>