When the source directory path has a space in it, the configure script fails many checks.
Example path: /Volumes/Stuff/Language/APL 2/gnu-apl/trunk
Samples of failed tests in config.log:
configure:18691: checking for ncurses.h
configure:18691: g++ -c -g -O2 -I /Volumes/ARCHIVE/Language/APL 2/gnu-apl/trunk
conftest.cpp >&5
clang: error: no such file or directory: '2/gnu-apl/trunk'
configure:18731: checking for fftw3.h
configure:18731: g++ -c -g -O2 -I /Volumes/ARCHIVE/Language/APL 2/gnu-apl/trunk conftest.cpp >&5
clang: error: no such file or directory: '2/gnu-apl/trunk'
I tried quoting the include path in two places in the configure script, but that didn't help:
$ diff configure-orig configure
5221c5221
< am__isrc=' -I$(srcdir)'
---
> am__isrc=' \"-I$(srcdir)\"'
18682c18682
< CXXFLAGS="$CXXFLAGS -I `pwd`"
---
> CXXFLAGS="$CXXFLAGS -I \"`pwd`\""
I also extracted from config.log a build command and test program from one of the failed tests,, and it built successfully ... so I don't know what 'configure' is really doing behind the scenes to cause those failures.
When I rename the directory to remove the space, then the configure script runs OK, and finds all the std headers and all the libs installed in /usr/local.
I'm just mentioning this. It's not a big deal. I know the moral is "Don't Do That.", :-)
Thanks!
-- Mike Hall