Subject: [libssh2] #261: buildconf fails with recent automake

[libssh2] #261: buildconf fails with recent automake

From: libssh2 Trac <>
Date: Thu, 21 Mar 2013 10:41:10 -0000

#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 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... the top level
 autom4te: /usr/bin/m4 failed with exit status: 1
 aclocal: error: echo failed with exit status: 1 error: version mismatch. This is Automake 1.13.1, but the definition used by this AM_INIT_AUTOMAKE comes from Automake 1.11.6. You should recreate aclocal.m4 with aclocal and run automake again. warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and
 will soon be removed. You should use the Autoconf-provided 'AC_PROG_MKDIR_P'
 macro instead, and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your 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
 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 <>
        and Alexandre Duret-Lutz <>.

 This patch fixes the problem for now:

 --- 2013-03-21 09:29:34.706685956 +0100
 +++ 2013-03-21 09:29:43.136685885 +0100
 @@ -2,7 +2,7 @@
  AC_INIT(libssh2, [-],
 -AM_CONFIG_HEADER([src/libssh2_config.h example/libssh2_config.h])
 +AC_CONFIG_HEADER([src/libssh2_config.h example/libssh2_config.h])

  dnl SED is needed by some of the tools

 OS is Arch Linux 64 bits.


Ticket URL: <>
libssh2 <>
C library for writing portable SSH2 clients
Received on 2013-03-21