[asterisk-bugs] [JIRA] (ASTERISK-25329) Asterisk configure fails on 'cannot find ptlib-config', despite ptlib-config existing

Jonathan R. Rose (JIRA) noreply at issues.asterisk.org
Tue May 10 11:09:56 CDT 2016


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

Jonathan R. Rose commented on ASTERISK-25329:
---------------------------------------------

I'm also hitting this bug in 11.22... though I'm installing Asterisk on a docker container, so that might be confounding things a bit.

> Asterisk configure fails on 'cannot find ptlib-config', despite ptlib-config existing
> -------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25329
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25329
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.5.0, 13.7.0
>         Environment: Debian 7.8, 32bit
>            Reporter: Rusty Newton
>
> When configuring Asterisk 13.5.0 I get
> {noformat}
> checking for /usr/include/ptlib.h... yes
> checking for ptlib-config... no
> ./configure: line 27669: --ldflags: command not found
> Cannot find ptlib-config - please install and try again
> {noformat}
> apt-file search shows "libpt-dev: /usr/share/ptlib/make/ptlib-config"
> and apt-get shows "libpt-dev is already the newest version."
> configure doesn't seem to find it ptlib-config..
> {noformat}
> root at debian1:/# find . -name "*ptlib*"
> ./usr/include/ptlib.h
> ./usr/include/openh323/ptlib_extras.h
> ./usr/include/ptlib
> ./usr/include/ptlib/unix/ptlib
> ./usr/include/ptlib/unix/ptlib/ptlib.inl
> ./usr/lib/pkgconfig/ptlib.pc
> ./usr/lib/ptlib-2.10.4
> ./usr/share/ptlib
> ./usr/share/ptlib/make/ptlib-config
> ./usr/share/ptlib/make/ptlib.mak
> {noformat}
> workaround is to specify the location manually:
> {noformat}
> export PTLIB_CONFIG=/usr/share/ptlib/make/ptlib-config
> {noformat}
> Ran configure again and it was fine.



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



More information about the asterisk-bugs mailing list