Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4773

AM_EXTRA_RECURSIVE_TARGETS not available in CentOS automake

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0.0
    • 7.0.0
    • Build
    • None

    Description

      Trying to build master branch on CentOS 6.7 - while doing

      autoreconf -if
      

      I received the error configure.ac:52: warning: macro `AM_EXTRA_RECURSIVE_TARGETS' not found in library

      The AM_EXTRA_RECURSIVE_TARGETS macro was introduced into automake 1.13. CentOS only has version 1.11 through normal channels. There is not a newer version available in either devtoolset-3 or devtoolset-4. A newer version can be downloaded and compiled, but that is not a standard package.

      @jpeach suggested:

      diff --git a/configure.ac b/configure.ac
      index 7e4adf6..5878756 100644
      --- a/configure.ac
      +++ b/configure.ac
      @@ -49,7 +49,7 @@ AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability tar-ustar foreign no-installinf
       AM_MAINTAINER_MODE([enable])
       
       # Enable a recursive "tidy" rule for clang-tidy.
      -AM_EXTRA_RECURSIVE_TARGETS([tidy])
      +m4_ifdef([AM_EXTRA_RECURSIVE_TARGETS], [AM_EXTRA_RECURSIVE_TARGETS([tidy]])
       
       AC_CONFIG_HEADERS([lib/ink_autoconf.h])
       
       

      as a temporary workaround. This change allowed autoreconf and configure to complete successfully.

      Attachments

        Activity

          People

            jamespeach James Peach
            reveller Steven Feltner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment