尝试编译 MacVim 时出现问题
我正在尝试在 Macbook Pro 上编译 MacVim,但是当它运行 make
时,我遇到了一些错误:
=== BUILD NATIVE TARGET MacVim OF PROJECT MacVim WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
PBXCp build/Release/MacVim.app/Contents/MacOS/Vim ../Vim
cd /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -strip-debug-symbols -resolve-src-symlinks /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/../Vim /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/Release/MacVim.app/Contents/MacOS
PhaseScriptExecution "Make Document Icons" build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
cd /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim
/bin/sh -c /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
unzip -jo EnvyCodeR.zip
Archive: EnvyCodeR.zip
Command /bin/sh failed with exit code 2
Command /bin/sh failed with exit code 2
Touch build/Release/MacVim.app
cd /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim
/usr/bin/touch -c /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/Release/MacVim.app
** BUILD FAILED **
The following build commands failed:
MacVim:
PhaseScriptExecution "Make Document Icons" /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
(1 failure)
make[1]: *** [macvim] Error 1
make: *** [first] Error 2
我需要做什么来纠正这个问题?
I'm trying to compile MacVim on my Macbook Pro, but while it's running make
, I got some errors:
=== BUILD NATIVE TARGET MacVim OF PROJECT MacVim WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
PBXCp build/Release/MacVim.app/Contents/MacOS/Vim ../Vim
cd /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -strip-debug-symbols -resolve-src-symlinks /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/../Vim /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/Release/MacVim.app/Contents/MacOS
PhaseScriptExecution "Make Document Icons" build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
cd /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim
/bin/sh -c /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
unzip -jo EnvyCodeR.zip
Archive: EnvyCodeR.zip
Command /bin/sh failed with exit code 2
Command /bin/sh failed with exit code 2
Touch build/Release/MacVim.app
cd /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim
/usr/bin/touch -c /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/Release/MacVim.app
** BUILD FAILED **
The following build commands failed:
MacVim:
PhaseScriptExecution "Make Document Icons" /Users/Nathan/Downloads/b4winckler-macvim-6e6fac5/src/MacVim/build/MacVim.build/Release/MacVim.build/Script-1D1C31F00EFFBFD6003FE9A5.sh
(1 failure)
make[1]: *** [macvim] Error 1
make: *** [first] Error 2
What I need to do to correct this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 MacVim 自制公式。它指出“构建自定义图标对于许多用户来说失败,因此默认情况下关闭”,并继续执行以下操作:
因此,我建议对您的 src/MacVim/icons/Makefile 进行相同的修改> 和
src/MacVim/icons/make_icons.py
。或者,使用 Homebrew 构建/安装 MacVim,这就是我所做的。
祝你好运!
Check out the homebrew formula for MacVim. It states that "Building custom icons fails for many users, so off by default" and goes on to do the following:
So, I'd suggest making those same modifications to your
src/MacVim/icons/Makefile
andsrc/MacVim/icons/make_icons.py
.Alternatively, use Homebrew to build / install MacVim, which is what I've done.
Good luck!
我有完全相同的症状。除了上面建议的步骤之外,我还必须将我的brew 副本从0.7 更新到0.8。这是我的步骤:
...这次安装正确。
我的环境:Snow Leopard 10.6.8
HTH
Scott
I had exactly the same symptoms. In addition to the step suggested above, I had to update my copy of brew from 0.7 to 0.8. Here're my steps:
...and this time it installed correctly.
My environment: Snow Leopard 10.6.8
HTH
Scott