Xiaofan Chen
2013-03-26 05:04:08 UTC
I tried to build urjtag under Mac OS X but it failed. I will
try to build urjtag under Linux later to compare the differences.
1) AM_CONFIG_HEADER issue which can be easily solved by
changing to AC_CONFIG_HEADERS as suggested in the error
message. This is because that my Mac OS X Homebrew
build system is using the new automake-1.13.
Ref: http://lists.gnu.org/archive/html/automake/2012-12/msg00038.html
- The following long-obsolete m4 macros have been removed:
AM_CONFIG_HEADER: superseded by AC_CONFIG_HEADERS since July 2002
Error message:
autoreconf: running: aclocal --force -I m4
/usr/local/share/aclocal/log4shib.m4:7: warning: underquoted
definition of AM_PATH_LOG4SHIB
/usr/local/share/aclocal/log4shib.m4:7: run info Automake 'Extending aclocal'
/usr/local/share/aclocal/log4shib.m4:7: or see
http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:99: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/local/Cellar/automake/1.13.1/share/aclocal-1.13/obsolete-err.m4:14:
AM_CONFIG_HEADER is expanded from...
configure.ac:99: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
2) I am not able to understand the following problem. Not
sure if it is a problem under my Mac OS X setup (Homebrew,
Mac OS X 10.7.5).
mymacmini:urjtag xiaofanc$ ./autogen.sh --without-readline
--prefix=/usr/local/Cellar/urjtag/HEAD
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
/usr/local/share/aclocal/log4shib.m4:7: warning: underquoted
definition of AM_PATH_LOG4SHIB
/usr/local/share/aclocal/log4shib.m4:7: run info Automake 'Extending aclocal'
/usr/local/share/aclocal/log4shib.m4:7: or see
http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
Use of uninitialized value $msg in concatenation (.) or string at
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1026.
Use of uninitialized value $stacktrace in pattern match (m//) at
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1026.
unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " '$ac_arg'")
at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line 638
Autom4te::Channels::msg('m4trace: -1-
AS_VAR_APPEND(ac_configure_args, " \'$ac_arg\'")\x{a}', undef,
'warning: ', 'partial', 0) called at
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1026
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
autoreconf failed.
try to build urjtag under Linux later to compare the differences.
1) AM_CONFIG_HEADER issue which can be easily solved by
changing to AC_CONFIG_HEADERS as suggested in the error
message. This is because that my Mac OS X Homebrew
build system is using the new automake-1.13.
Ref: http://lists.gnu.org/archive/html/automake/2012-12/msg00038.html
- The following long-obsolete m4 macros have been removed:
AM_CONFIG_HEADER: superseded by AC_CONFIG_HEADERS since July 2002
Error message:
autoreconf: running: aclocal --force -I m4
/usr/local/share/aclocal/log4shib.m4:7: warning: underquoted
definition of AM_PATH_LOG4SHIB
/usr/local/share/aclocal/log4shib.m4:7: run info Automake 'Extending aclocal'
/usr/local/share/aclocal/log4shib.m4:7: or see
http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:99: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/local/Cellar/automake/1.13.1/share/aclocal-1.13/obsolete-err.m4:14:
AM_CONFIG_HEADER is expanded from...
configure.ac:99: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
2) I am not able to understand the following problem. Not
sure if it is a problem under my Mac OS X setup (Homebrew,
Mac OS X 10.7.5).
mymacmini:urjtag xiaofanc$ ./autogen.sh --without-readline
--prefix=/usr/local/Cellar/urjtag/HEAD
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
/usr/local/share/aclocal/log4shib.m4:7: warning: underquoted
definition of AM_PATH_LOG4SHIB
/usr/local/share/aclocal/log4shib.m4:7: run info Automake 'Extending aclocal'
/usr/local/share/aclocal/log4shib.m4:7: or see
http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
Use of uninitialized value $msg in concatenation (.) or string at
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1026.
Use of uninitialized value $stacktrace in pattern match (m//) at
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1026.
unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " '$ac_arg'")
at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line 638
Autom4te::Channels::msg('m4trace: -1-
AS_VAR_APPEND(ac_configure_args, " \'$ac_arg\'")\x{a}', undef,
'warning: ', 'partial', 0) called at
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1026
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
autoreconf failed.
--
Xiaofan
Xiaofan