Summary: | ASTERISK-27392: configure --with-download-cache does not work with relative paths. | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2017-11-05 14:23:20.000-0600 | Date Closed: | 2017-12-22 22:55:13.000-0600 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | GIT | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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. | ||
Comments: | By: Asterisk Team (asteriskteam) 2017-11-05 14:23:20.957-0600 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: George Joseph (gjoseph) 2017-11-06 07:43:39.329-0600 Just FYI... {{-with-sounds-cache}} never worked with relative paths. By: Corey Farrell (coreyfarrell) 2017-11-14 10:18:03.758-0600 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 By: Corey Farrell (coreyfarrell) 2017-12-22 22:55:13.468-0600 I don't think this can be fixed in a cross platform way. |