LibSM problem with make configure

michel michel at seliverstoff.fr
Thu Apr 16 01:20:11 UTC 2009


SAITOU Toshihide wrote:
> In message: <49C65F17.9020302 at seliverstoff.fr>
>             michel <michel at 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
>   
Thanks for your help,
I removed these: aalib.m4  audiofile.m4  glib.m4  gtk.m4  header.m4  
make.m4
Now I only have one error.
Michel

$ make configure
===>  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
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.




More information about the freebsd-ports mailing list