「sni-proxy」warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’dエラー対策

1.エラー現象:

sni-proxyをインストール途中でautoconf.shを実行する、エラーが次の通り表示される
[root@gu1234 sniproxy-master]
# ./autogen.sh
configure.ac:18: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from…
/usr/share/aclocal/pkg.m4:102: PKG_CHECK_MODULES is expanded from…
configure.ac:18: the top level
configure.ac:18: warning: AC_LIB_PROG_LD is m4_require’d but not m4_defun’d
m4/lib-link.m4:125: AC_LIB_RPATH is expanded from…
configure.ac:18: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from…
configure.ac:29: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
configure.ac:29: the top level
configure.ac:29: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:46: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from…
configure.ac:46: the top level
configure.ac:46: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:53: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
configure.ac:53: the top level
configure.ac:53: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:18: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from…
aclocal.m4:123: PKG_CHECK_MODULES is expanded from…
configure.ac:18: the top level
configure.ac:18: warning: AC_LIB_PROG_LD is m4_require’d but not m4_defun’d
m4/lib-link.m4:125: AC_LIB_RPATH is expanded from…
configure.ac:18: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from…
configure.ac:29: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
configure.ac:29: the top level
configure.ac:29: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:46: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from…
configure.ac:46: the top level
configure.ac:46: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:53: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
configure.ac:53: the top level
configure.ac:53: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:18: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from…
aclocal.m4:123: PKG_CHECK_MODULES is expanded from…
configure.ac:18: the top level
configure.ac:18: warning: AC_LIB_PROG_LD is m4_require’d but not m4_defun’d
m4/lib-link.m4:125: AC_LIB_RPATH is expanded from…
configure.ac:18: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from…
configure.ac:29: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
configure.ac:29: the top level
configure.ac:29: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:46: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from…
configure.ac:46: the top level
configure.ac:46: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure.ac:53: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
configure.ac:53: the top level
configure.ac:53: warning: AC_LIB_PREPARE_MULTILIB is m4_require’d but not m4_defun’d
configure:4008: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:4009: error: possibly undefined macro: AC_LIB_PROG_LD
configure:4127: error: possibly undefined macro: AC_LIB_PREPARE_MULTILIB
configure:4202: error: possibly undefined macro: AC_LIB_WITH_FINAL_PREFIX
autoreconf: /usr/bin/autoconf failed with exit status: 1

2.解決対策

# yum install gettext-devel

 

 

Server

Posted by arkgame