#261: buildconf fails with recent automake
---------------------+--------------------
Reporter: Quintus | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.4.3
Component: misc | Version: 1.4.2
Keywords: | Blocked By:
Blocks: |
---------------------+--------------------
Hi there,
Running ''buildconf'' from the current 1.4.3 release tarball with a recent
automake installed fails like this:
{{{
% ./buildconf
configure.ac:5: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded
from...
configure.ac:5: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
configure.ac:19: error: version mismatch. This is Automake 1.13.1,
configure.ac:19: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:19: comes from Automake 1.11.6. You should recreate
configure.ac:19: aclocal.m4 with aclocal and run automake again.
configure.ac:19: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and
will soon be removed.
configure.ac:19: You should use the Autoconf-provided 'AC_PROG_MKDIR_P'
macro instead,
configure.ac:19: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your
Makefile.am files.
parallel-tests: installing './test-driver'
}}}
Automake version:
{{{
% automake --version
automake (GNU automake) 1.13.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey_at_redhat.com>
and Alexandre Duret-Lutz <adl_at_gnu.org>.
}}}
This patch fixes the problem for now:
{{{
--- configure.ac.orig 2013-03-21 09:29:34.706685956 +0100
+++ configure.ac 2013-03-21 09:29:43.136685885 +0100
@@ -2,7 +2,7 @@
AC_INIT(libssh2, [-], libssh2-devel_at_cool.haxx.se)
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src])
-AM_CONFIG_HEADER([src/libssh2_config.h example/libssh2_config.h])
+AC_CONFIG_HEADER([src/libssh2_config.h example/libssh2_config.h])
AM_MAINTAINER_MODE
dnl SED is needed by some of the tools
}}}
OS is Arch Linux 64 bits.
Vale.
-- Ticket URL: <https://trac.libssh2.org/ticket/261> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2013-03-21