[Home]

Summary:ASTERISK-18335: configure fails if there's a space in the current dir
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2011-08-24 03:47:17Date Closed:2011-09-14 10:39:21
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:SVN Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) spaces.diff
Description:I renamed the working copy to be "ast erisk" (with a space).

tzafrir@sweetmorn:~/Proj/Asterisk/Git/ast erisk$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: error: cannot find install-sh, install.sh, or shtool in `pwd` "."/`pwd`


Hmm... where do we have `pwd` early on in the configure script?

$ grep -n pwd configure.ac | head -n1
20:AC_CONFIG_AUX_DIR(`pwd`)

Removed that line. Now configure works well. That line is from r259848 .

Tested with SVN branch 1.8 r333010
Comments:By: Tzafrir Cohen (tzafrir) 2011-08-24 04:10:57.166-0500

Attached spaces.diff: the fix I mentioned and all sorts of other minor over- and under quoting I ran into while trying to build. So far it builds and begins installing. This is where it runs into other issues.

By: Paul Belanger (pabelanger) 2011-08-26 14:44:50.988-0500

Mind trying again?  I believe qwell fixes this the other day.

By: Tzafrir Cohen (tzafrir) 2011-08-27 09:15:29.721-0500

tzafrir@sweetmorn:~/Proj/Asterisk/Git/ast erisk$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: error: cannot find install-sh, install.sh, or shtool in `pwd` "."/`pwd`

$ grep Revision: configure
# From configure.ac Revision: 332388 .

http://svn.asterisk.org/svn/asterisk/trunk@333428

By: Leif Madsen (lmadsen) 2011-08-30 14:01:40.234-0500

Requesting feedback from Jason Parker on this one.

By: Leif Madsen (lmadsen) 2011-09-14 10:39:21.699-0500

Pretty sure this is all fixed up now.