Created
August 1, 2012 18:21
-
-
Save patcon/3229479 to your computer and use it in GitHub Desktop.
macvim fails to compile with hacked apple CLI tools installed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ osx-gcc brew install macvim | |
Warning: We couldn't detect any version of Xcode. | |
If you downloaded Xcode from the App Store, you may need to run the installer. | |
sh: - : invalid option | |
sh: - : invalid option | |
==> Downloading https://github.com/b4winckler/macvim/tarball/snapshot-64 | |
Already downloaded: /Library/Caches/Homebrew/macvim-7.3-64.tgz | |
==> ./configure --with-features=huge --with-tlib=ncurses --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-tclinterp | |
==> make getenvy | |
==> make | |
Starting make in the src directory. | |
If there are problems, cd to the src directory and run make there | |
cd src && make first | |
mkdir objects | |
CC="gcc -Iproto -DHAVE_CONFIG_H -isystem /usr/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_DARWIN_C_SOURCE=1 " srcdir=. sh ./osdef.sh | |
creating auto/pathdef.c | |
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -isystem /usr/local/include -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -arch x86_64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_DARWIN_C_SOURCE=1 -o objects/os_macosx.o os_macosx.m | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -isystem /usr/local/include -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -arch x86_64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_DARWIN_C_SOURCE=1 -o objects/os_mac_conv.o os_mac_conv.c | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -isystem /usr/local/include -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -arch x86_64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_DARWIN_C_SOURCE=1 -o objects/netbeans.o netbeans.c | |
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:36, | |
from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:37, | |
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13, | |
from os_macosx.m:24: | |
/System/Library/Frameworks/QuartzCore.framework/Headers/CIColor.h:1:74: error: QuartzCore/../Frameworks/CoreImage.framework/Headers/CIColor.h: No such file or directory | |
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:37, | |
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13, | |
from os_macosx.m:24: | |
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:269: error: expected ‘)’ before ‘CIColor’ | |
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:273: error: cannot find interface declaration for ‘CIColor’ | |
make[1]: *** [objects/os_macosx.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
make: *** [first] Error 2 | |
==> Build Environment | |
HOMEBREW_VERSION: 0.9.2 | |
HEAD: 3870c933216bd5f3a35c779015ea3b8d0a2ac07f | |
CPU: dual-core 64-bit penryn | |
OS X: 10.6.8-x86_64 | |
Xcode: 4.4 (guessed) | |
CLT: 4.4.0.0.1.1249367152 | |
X11: 2.3.6 @ /usr/X11 | |
LD: /usr/bin/clang | |
CPPFLAGS: -isystem /usr/local/include | |
LDFLAGS: -L/usr/local/lib | |
MACOSX_DEPLOYMENT_TARGET: 10.6 | |
MAKEFLAGS: -j2 | |
Error: Failed executing: make (macvim.rb:68) | |
If `brew doctor` does not, this may help you fix or report the issue: | |
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist | |
➜ osx-gcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment