在 MacOSX 10.8.5 上,升级到 Xcode 5.0.2(并升级/安装命令行工具(从 Xcode 首选项中))后,我通过从源配置安装 FFTW 3.3.3 和 Open MPI 1.6.5。我得到配置步骤中的两个 config.log 文件中出现相同类型的错误,这表明问题不在于我从官方网站下载的程序。
\n\n简而言之,我在两个日志中看到的第一个错误是:
\n\nconfigure:3750: checking for gcc\nconfigure:3766: found /usr/bin/gcc\nconfigure:3777: result: gcc\nconfigure:4006: checking for C compiler version\nconfigure:4015: gcc --version >&5\nApple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)\nTarget: x86_64-apple-darwin12.5.0\nThread model: posix\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nconfigure:4026: $? = 0\nconfigure:4015: gcc -v >&5\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nApple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)\nTarget: x86_64-apple-darwin12.5.0\nThread model: posix\nconfigure:4026: $? = 0\nconfigure:4015: gcc -V >&5\nclang: error: argument to \'-V\' is …Run Code Online (Sandbox Code Playgroud)