edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Build Fails: PhaseScriptExecution "Make Document Icons" #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Get the following error:

** BUILD FAILED **

The following build commands failed:
MacVim:
    PhaseScriptExecution "Make Document Icons" 
/Users/mark/code/vim7/src/MacVim/build/MacVim.build/Release/MacVim.build/Script-
1D1C31F00EFFBFD6003FE9A5.sh
(1 failure)

Commands were per the instructions:

git clone git://repo.or.cz/MacVim.git vim7
cd vim7/src; ./configure --enable-gui=macvim; make
cd MacVim; xcodebuild

Snow Leopard 10.6.1

Original issue reported on code.google.com by markaric...@gmail.com on 13 Sep 2009 at 2:58

GoogleCodeExporter commented 9 years ago
This is a well-known error with the icon generation script, look here:

http://groups.google.com/group/vim_mac/browse_thread/thread/93b65296a79c7721

You can work around it (or get my custom binary for the moment):

http://b4winckler.wordpress.com/2009/09/02/macvim-on-snow-leopard/

We're working on a fix.

Original comment by bjorn.winckler@gmail.com on 13 Sep 2009 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by bjorn.winckler@gmail.com on 24 Nov 2009 at 3:52

GoogleCodeExporter commented 9 years ago
I'm still having this problem pulling the latest source from git

Original comment by darksav...@gmail.com on 20 Jul 2010 at 9:17

GoogleCodeExporter commented 9 years ago
Please cd to "src/MacVim/icons" and type "make" in that folder so you can see 
what the actual problem is, then paste it here.

Also:

- Which OS X version are you using?
- Have you manually installed a new version of Python?

Original comment by bjorn.winckler@gmail.com on 20 Jul 2010 at 6:31

GoogleCodeExporter commented 9 years ago
I'm having the same issue as darksavant. I can't compile the latest source from 
source control. When I cd into "src/MacVim/icons" and type "make" in that 
folder I get the following error:

cc1: error: unrecognized command line option "-march=core2"
cc1: error: unrecognized command line option "-msse4.1"
lipo: can't open input file: /var/tmp//ccyOBEYW.out (No such file or directory)
error: command '/usr/bin/cc' failed with exit status 1
make: *** [loadfont.so] Error 1

I've installed Python 2.7 and Python 3.1.2 using Homebrew, but the default 
install of Python is the first version found in my system path. Thus, "python 
--version" gives me "Python 2.6.1". I'm running OS X 10.6.4 with Xcode 3.2.3 
installed. When I do "cc --version" I get the following:

i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If I open up the man page for the installed version of cc, "-march=core2" looks 
like that should be a valid command line option as well as "-msee4.1". Any 
ideas what could be causing this problem?

Original comment by leve...@gmail.com on 5 Oct 2010 at 4:04

GoogleCodeExporter commented 9 years ago
Sorry, I don't know what this means.  I've been meaning to make the icon 
building step optional since it seems to be causing problems when there are 
custom Python builds installed.  It's on my todo list.

Original comment by bjorn.winckler@gmail.com on 8 Oct 2010 at 2:16

GoogleCodeExporter commented 9 years ago
@levercc - If you did the make after "brew install -i macvim", that won't work. 
Homebrew sets various compile flags by default, but the first thing the MacVim 
formula does is remove them.

For what it's worth, I have Python 2.7 installed via Homebrew, but building 
MacVim (including the icons) through Homebrew "works for me".

Original comment by fla...@gmail.com on 7 Nov 2010 at 5:27

GoogleCodeExporter commented 9 years ago
The icon building is now optional so this is no longer an issue.  See note at 
the bottom of

https://github.com/b4winckler/macvim/wiki/Building

Original comment by bjorn.winckler@gmail.com on 31 Mar 2011 at 8:16