[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:17: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 edited comment on DAHTOOL-79 at 6/25/18 1:16 AM:
---------------------------------------------------------------

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.

''configure.ac''
    
    -AC_INIT([dahdi-tools], short_version, [www.asterisk.org])
    +AC_INIT([dahdi-tools], 2.11.1, [www.asterisk.org])
     
    -AC_CONFIG_AUX_DIR([auxdir])
    +#AC_CONFIG_AUX_DIR([auxdir])


was (Author: asiplas):
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.

    --- a/configure.ac
    +++ b/configure.ac
    
    -AC_INIT([dahdi-tools], short_version, [www.asterisk.org])
    +AC_INIT([dahdi-tools], 2.11.1, [www.asterisk.org])
     
    -AC_CONFIG_AUX_DIR([auxdir])
    +#AC_CONFIG_AUX_DIR([auxdir])

> 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