1. 首页 > 服务器运维

warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d

错误

安装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

解决方法

# yum install gettext-devel

本文由主机测评网发布,不代表主机测评网立场,转载联系作者并注明出处:https://zhuji.jb51.net/yunwei/8156.html

联系我们

在线咨询:点击这里给我发消息

微信号:

工作日:8:30-17:30,节假日休息