[asterisk-bugs] [JIRA] (ASTERISK-20980) [patch] ./configure fails with ptlib 2.10.9

Rusty Newton (JIRA) noreply at issues.asterisk.org
Sun Jan 27 18:25:58 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-20980:
------------------------------------

    Status: Open  (was: Triage)
    
> [patch] ./configure fails with ptlib 2.10.9
> -------------------------------------------
>
>                 Key: ASTERISK-20980
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20980
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: SVN
>         Environment: Arch Linux, ptlib 2.10.9, Asterisk svn trunk 2013-01-24
>            Reporter: Stefan Reuter
>            Assignee: Stefan Reuter
>         Attachments: ASTERISK-20980-1.patch, ASTERISK-20980.patch
>
>
> ./configure fails with
> {code}
> checking for ptlib-config... /usr/bin/ptlib-config
> ./configure: line 25551: 2*10000+10*100+9 ((major<<24)|(minor<<16)|build) >=: syntax error in expression (error token is "((major<<24)|(minor<<16)|build) >=")
> {code}
> The reason for this is that the grep on /usr/include/ptbuildopts.h returns multiple lines for recent versions of ptlib:
> {code}
> grep "P[WT]LIB_VERSION" /usr/include/ptbuildopts.h                                                                                              !1985
> #define PTLIB_VERSION "2.10.9"
> #define PTLIB_VERSION_INT(major,minor,build) ((major<<24)|(minor<<16)|build)
>           (PTLIB_VERSION_INT(PTLIB_MAJOR,PTLIB_MINOR,PTLIB_BUILD) >= PTLIB_VERSION_INT(major,minor,build))
> {code}
> This causes the parsing of PTLIB_VERSION to fail. Patch attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list