[asterisk-bugs] [JIRA] (ASTERISK-25329) Asterisk configure fails on 'cannot find ptlib-config', despite ptlib-config existing
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Fri Jan 5 03:51:39 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-25329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Traud updated ASTERISK-25329:
---------------------------------------
Attachment: ptlib-config.patch
Another workaround is to go for: {{sudo apt remove libpt-dev}}
This issue happens in Ubuntu as well, since the year 2014 (or even longer). I attached a patch, although the issue is within the package itself. That tool should not be that hidden but work directly. Hopefully someone watching this issue here raises a bug report at Debian as well.
> 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
> Labels: patch
> Attachments: ptlib-config.patch
>
>
> 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