Closed Shugabuga closed 7 years ago
@Shugabuga That's an odd one. Can you rebuild using HOMEBREW_MAKE_JOBS=1 brew install asterisk --verbose
, and put that output in a gist/ghostbin/pastebin/wherever?
Have a feeling it's either a missing dependency not accounted for or an issue with Asterisk itself, as I think I got a similar issue when manually compiling.
Here is where I think the issue occurred:
configure: Package configured for:
configure: OS type : darwin16.6.0
configure: Host CPU : x86_64
configure: build-cpu:vendor:os: x86_64 : apple : darwin16.6.0 :
configure: host-cpu:vendor:os: x86_64 : apple : darwin16.6.0 :
==> make menuselect/cmenuselect menuselect/nmenuselect menuselect/gmenuselect menuselect/menuselect menuselect-tree menuselect.makeopts
CC="cc" CXX="g++-7" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
gcc-7 -g -D_GNU_SOURCE -Wall -I/Volumes/Shuga's-Passport/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2 -c -o menuselect.o menuselect.c
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [menuselect.o] Error 2
make: *** [menuselect/cmenuselect] Error 2
Oh, I see it now. Your volume name has a single quote in it. /Volumes/Shuga's-Passport
When bash
sees the single-quote, it thinks you're quoting a string and fails when the command ends without the end quote. Generally speaking, paths with quotes (or spaces, for that matter) are really problematic for Bash scripts to deal with properly.
If you're lucky, you might be able to use some symlink trickery to get it to work. But I highly recommend renaming the volume so that the name is only alphanumerics, dashes, or underscores.
Can confirm this was the issue, renaming drive, updating Xcode path, then installing did work.
I try to install Asterisk via Homebrew after following the instructions in the README and I get the below error:
brew install asterisk
results in:Any help would be appreciated.
Note that it also doesn't compile regularly.
Running macOS Sierra 10.12.5 build 16F73.