11619Re: Problem building MacVim7.3
- Jul 28, 2010On Wed, 28 Jul 2010, bj?rn wrote:
> On 27 July 2010 01:08, Bryan Ross wrote:I also have a problem compiling with X11 on the Mac because it also
>> Hey all
>> I just did an update and tried to build MacVim 7.3, and got the following
>>>> ** BUILD FAILED **
>> Here's how I updated and build (from the macvim73 branch):
>> $: git pull
>> $: git clean -dfx
>> $: ./configure --with-features=huge --enable-pythoninterp
>> --enable-rubyinterp --enable-cscope --enable-perlinterp --with-macarchs=i386
>> CFLAGS="-arch i386" LDFLAGS="-arch i386" CXXFLAGS="-arch i386"
>> CPPFLAGS="-arch i386" 2>&1 > configure.output.log
>> $: make 2>&1 > make.output.log
>> Is there something I did wrong? Or have I run into a bug?
> Hi Bryan,
> The problem is that Xcode leaves temporary files in weird locations
> and when you use "git clean" these files do not get removed. Try
> "make clean" instead of "git clean" before building.
> If that doesn't work you'll have to delete the folders that Xcode
> complains about, i.e. (this is from your make log):
> cc1obj: error: /var/folders/7Z/7Z6zPxl9FJewZCV17DHOck+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/AppKit-fxzlaqhwvmwiopgagtfcvqmeflqy/AppKit.h:
> No such file or directory
> So I would delete the folder called "SharedPrecompiledHeaders" and
> then Xcode usually gets back on track.
includes Carbon, which it shouldn't when using X11. I'm using fink,
so you'll see some weird directories.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/sw64/include/pango-1.0 -I/sw64/lib/fontconfig2/include -I/sw64/include/freetype2 -I/sw64/include -I/sw64/include/gtk-2.0 -I/sw64/lib/gtk-2.0/include -I/sw64/include/atk-1.0 -I/sw64/include/cairo -I/sw64/include/glib-2.0 -I/sw64/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11/include -I/sw64/include -DMACOS_X_UNIX -no-cpp-precomp -O2 -fno-strength-reduce -Wall -D_FORTIFY_SOURCE=1 -I/usr/X11/include -o objects/os_macosx.o os_macosx.m
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:48,
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:279: error: conflicting types for 'Boolean'
/usr/X11R6/include/X11/Intrinsic.h:158: error: previous declaration of 'Boolean' was here
In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:41,
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:267: error: conflicting types for 'Cursor'
/usr/X11R6/include/X11/X.h:108: error: previous declaration of 'Cursor' was here
make: *** [objects/os_macosx.o] Error 1
### execution of /var/tmp/tmp.0.IJgE16 failed, exit code 2
### execution of /var/tmp/tmp.2.JAJtuK failed, exit code 2
Hisashi T Fujinaka - htodd@...
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic Next post in topic >>