小编Ann*_*ova的帖子

Mac OS X 10.8.5 Xcode 5.0.2 配置错误:clang:错误:缺少“-V”参数(预期值 1)clang:错误:没有输入文件

在 MacOSX 10.8.5 上,升级到 Xcode 5.0.2(并升级/安装命令行工具(从 Xcode 首选项中))后,我通过从源配置安装 FFTW 3.3.3 和 Open MPI 1.6.5。我得到配置步骤中的两个 config.log 文件中出现相同类型的错误,这表明问题不在于我从官方网站下载的程序。

\n\n

简而言之,我在两个日志中看到的第一个错误是:

\n\n
configure: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)

xcode configure clang osx-mountain-lion

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

clang ×1

configure ×1

osx-mountain-lion ×1

xcode ×1