[asterisk-bugs] [JIRA] (DAHTOOL-79) Dahdi-tools master fails to build on ubuntu xenial - autoreconf problem

Andrew Siplas (JIRA) noreply at issues.asterisk.org
Mon Jun 25 01:15:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/DAHTOOL-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243925#comment-243925 ] 

Andrew Siplas commented on DAHTOOL-79:
--------------------------------------

Temporarily Hardcoding a version number instead of the apparently failing `short_version` macro might allow you to build… I also commented out AC_CONFIG_AUX_DIR as it was causing build tools to search nonexistent dir.

diff --git a/configure.ac b/configure.ac
index 826a7ec..b014871 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,11 +6,11 @@ m4_define([short_version],
           m4_bpatsubst(m4_esyscmd([build_tools/make_version . dahdi/tools]),
                        [\([0-9.]*\)\(\w\|\W\)*],
                        [\1]))
-AC_INIT([dahdi-tools], short_version, [www.asterisk.org])
+AC_INIT([dahdi-tools], 2.11.1, [www.asterisk.org])
 
 # check existence of the package
 AC_CONFIG_SRCDIR([dahdi_cfg.c])
-AC_CONFIG_AUX_DIR([auxdir])
+#AC_CONFIG_AUX_DIR([auxdir])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign subdir-objects])

> Dahdi-tools master fails to build on ubuntu xenial - autoreconf problem
> -----------------------------------------------------------------------
>
>                 Key: DAHTOOL-79
>                 URL: https://issues.asterisk.org/jira/browse/DAHTOOL-79
>             Project: DAHDI-Tools
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 2.10.0
>            Reporter: Ed Simmons
>            Assignee: Wendell Thompson
>            Severity: Critical
>
> Trying to build asterisk with Dahdi support in docker. I cannot get master branch (obtained from github mirror commit id 75eedd6fa6dbd25c0edc689dd2568b04a6c5b1ba) to build. It stops with errors on "autoreconf -i" and I don't understand the reasons.
> I see
> {{
> autoreconf -i
> configure.ac:15: error: AC_INIT should be called with package and version arguments
> /usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
> configure.ac:15: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> aclocal: error: echo failed with exit status: 1
> autoreconf: aclocal failed with exit status: 1
> }}
> but no issues are visible to me where it's pointing to.
> I'm working on short steps to reproduce the issue in docker, but in short:
> Install build dependencies,
> download the zip from github of master at the mentioned commit ID,
> extract,
> run "autoreconf -i"



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list