Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 19:40:39 +0900 (JST)
From:      SAITOU Toshihide <toshi@ruby.ocn.ne.jp>
To:        michel@seliverstoff.fr
Cc:        freebsd-ports@freebsd.org
Subject:   Re: LibSM problem with make configure
Message-ID:  <20090415.194039.07433541.toshi@ruby.ocn.ne.jp>
In-Reply-To: <49C65F17.9020302@seliverstoff.fr>
References:  <49C65F17.9020302@seliverstoff.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <49C65F17.9020302@seliverstoff.fr>
            michel <michel@seliverstoff.fr> writes:
> Hello,
> I'm having problems upgrading LibSM, some problem with aclocal.
> I tried to upgrade portupgrade -f 'autoconf*' 'automake*' but it didn't help
> Thanks for your help,
> Michel
> 
> (FreeBSD 6.2-RELEASE-p12 i386)
> 
> /usr/ports/x11/libSM $ make configure
> ===>   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.

I encountered a same problem and solved by deleting some
obsolete(?) m4 files in the /usr/local/share/aclocal.

I don't know why these m4 files remained during upgrade
process.

----
SAITOU Toshihide



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