0

我无法在 OS X 10.7.5 上编译Alloy 的 MacVim 分支。我安装了 Xcode 4.6,带有最新的命令行工具。(我知道这个版本的 Macvim 有一个 Homebrew 公式,但我是 MacPorts 用户,我宁愿不切换到 Homebrew 来解决这个问题。)我还尝试运行“CC=clang LDFLAGS=-L/ usr/lib ./configure ...." 但仍然遇到错误。任何帮助表示赞赏!

我听说 MacVim 在使用 Ruby 1.9 编译时出现问题,所以我使用了我的系统 ruby​​(在多次尝试使用 1.9.3 和 1.9.2 之后):

$ rvm system
$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]
$ ./configure --with-features=huge --enable-rubyinterp


$ cd src && make first
xcodebuild -project MacVim/MacVim.xcodeproj 
=== BUILD NATIVE TARGET PSMTabBarControlFramework OF PROJECT PSMTabBarControl WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMOverflowPopUpButton.o source/PSMOverflowPopUpButton.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMOverflowPopUpButton.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMOverflowPopUpButton.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMOverflowPopUpButton.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMOverflowPopUpButton.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMMetalTabStyle.o source/PSMMetalTabStyle.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMMetalTabStyle.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMMetalTabStyle.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMMetalTabStyle.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMMetalTabStyle.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMRolloverButton.o source/PSMRolloverButton.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMRolloverButton.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMRolloverButton.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMRolloverButton.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMRolloverButton.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabBarCell.o source/PSMTabBarCell.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabBarCell.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabBarCell.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMTabBarCell.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabBarCell.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMProgressIndicator.o source/PSMProgressIndicator.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMProgressIndicator.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMProgressIndicator.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMProgressIndicator.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMProgressIndicator.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMAquaTabStyle.o source/PSMAquaTabStyle.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMAquaTabStyle.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMAquaTabStyle.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMAquaTabStyle.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMAquaTabStyle.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.o source/PSMTabDragAssistant.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMTabDragAssistant.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.o source/PSMUnifiedTabStyle.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/PSMTabBarControl.hmap -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources/x86_64 -I/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/DerivedSources -F/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/Release -include /var/folders/2x/_8nyw24s4bv5ccy2z6gf9hd80000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-dznbmxptlydmqxbpwpoxawqdnnsw/AppKit.h -MMD -MT dependencies -MF /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.d --serialize-diagnostics /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.dia -c /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/source/PSMUnifiedTabStyle.m -o /Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.o
fatal error: file '/usr/include/sys/types.h' has been modified since the precompiled header was built
1 error generated.

2013-02-20 17:00:21.728 xcodebuild[72127:4f03]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-2108/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:87
Details:  Failed to load dependencies output contents from ``/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “PSMTabDragAssistant.d” couldn’t be opened because there is no such file." UserInfo=0x40175cf20 {NSFilePath=/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.d, NSUnderlyingError=0x40175caa0 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *, void (^)(NSString *))
Thread:   <NSThread: 0x40175bc20>{name = (null), num = 4}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2013-02-20 17:00:21.734 xcodebuild[72127:4f03]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-2108/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:87
Details:  Failed to load dependencies output contents from ``/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “PSMUnifiedTabStyle.d” couldn’t be opened because there is no such file." UserInfo=0x400127680 {NSFilePath=/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.d, NSUnderlyingError=0x40172c800 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/mxxx/src/macvim/src/MacVim/PSMTabBarControl/../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *, void (^)(NSString *))
Thread:   <NSThread: 0x40175bc20>{name = (null), num = 4}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

** BUILD FAILED **


The following build commands failed:
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMOverflowPopUpButton.o source/PSMOverflowPopUpButton.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMMetalTabStyle.o source/PSMMetalTabStyle.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMRolloverButton.o source/PSMRolloverButton.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabBarCell.o source/PSMTabBarCell.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMProgressIndicator.o source/PSMProgressIndicator.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMAquaTabStyle.o source/PSMAquaTabStyle.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMTabDragAssistant.o source/PSMTabDragAssistant.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC ../build/PSMTabBarControl.build/Release/PSMTabBarControlFramework.build/Objects-normal/x86_64/PSMUnifiedTabStyle.o source/PSMUnifiedTabStyle.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(8 failures)
make: *** [macvim] Error 65
4

1 回答 1

0

我终于意识到Alloy的Github repo中有一组预编译版本:

https://github.com/alloy/macvim/downloads

我下载了 build 021120112044,现在一切正常。

于 2013-02-21T18:42:03.007 回答