I attempted to compile 1.8.6.0-rc1 but spaces in paths aren’t accounted for causing the compiler to fail. A standard support directory in OS X is /Library/Application Support/.
I applied the patches from https://reviewboard.asterisk.org/r/1326/diff/ which is described as “Support for spaces in standard paths was recently reverted, because spaces in DESTDIR were not supported. This patch implements changes allowing spaces within both standard application paths (standard on Mac OS X), as well as within DESTDIR.”
sudo make install now fails with:
make: MAKE_PREINSTALL@: No such file or directory
make: *** [preinstall_spaces] Error 1
Environment:
OS type : darwin10.8.0
Host CPU : x86_64
build-cpu:vendor:os: x86_64 : apple : darwin10.8.0 :
host-cpu:vendor:os: x86_64 : apple : darwin10.8.0 :
$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Thanks,
-Terry