[asterisk-bugs] [JIRA] (ASTERISK-27392) configure --with-download-cache does not work with relative paths.
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Tue Nov 14 10:18:41 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240002#comment-240002 ]
Corey Farrell commented on ASTERISK-27392:
------------------------------------------
I was using a relative path to shorten the {{./configure}} command-line but now I'm just setting {{AST_DOWNLOAD_CACHE}} instead. I looked at the scripts/etc and I'm not sure there is a good fix for this. autoconf manual \[1\] describes how to detect absolute paths, I'm thinking we should just have the configure script throw an error if {{\--with-download-cache}} or {{\--with-sounds-cache}} is a relative path.
\[1\] https://www.gnu.org/software/autoconf/manual/autoconf.html#File-System-Conventions
> configure --with-download-cache does not work with relative paths.
> ------------------------------------------------------------------
>
> Key: ASTERISK-27392
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27392
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: GIT
> Reporter: Corey Farrell
> Severity: Minor
>
> I just used {{./configure --with-download-cache=../asterisk-cache}}, this caused sound files to be downloaded into ../asterisk-cache relative to the sounds directory instead of relative to the {{$ASTTOPDIR}}. pjproject tarball was downloaded to the correct location.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list