Loading ...
Sorry, an error occurred while loading the content.

Re: Trouble building vim on a mac

Expand Messages
  • Phil Dobbin
    ... If you re trying to build MacVim, you need to pull the macvim sources: If you re trying to build console vim on a Mac,
    Message 1 of 2 , Feb 22, 2013
    • 0 Attachment
      On 22/02/2013 11:21, So8res wrote:

      > I'm trying to build vim on a mac. I'm pretty new to macs, so I'm almost undoubtably doing something wrong. I have the Xcode developer tools etc. installed, but when I clone vim from the mercurial head, configure, and make, I get the following:
      > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wn
      > o-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -DMACOS_X_UNIX -no-cpp-precomp -I/A
      > pplications/Xcode.app/Contents/Developer/Headers/FlatCarbon -g -O2 -U_FORTIFY_SOURCE -D
      > _FORTIFY_SOURCE=1 -I/usr/X11/include -o objects/buffer.o buffer.c
      > In file included from vim.h:338,
      > from buffer.c:28:
      > os_mac.h:26:64: error: Quickdraw.h: No such file or directory
      > os_mac.h:27:24: error: ToolUtils.h: No such file or directory
      > os_mac.h:28:21: error: LowMem.h: No such file or directory
      > os_mac.h:29:20: error: Scrap.h: No such file or directory
      > os_mac.h:30:20: error: Sound.h: No such file or directory
      > os_mac.h:31:24: error: TextUtils.h: No such file or directory
      > os_mac.h:33:22: error: OSUtils.h: No such file or directory
      > os_mac.h:34:20: error: Files.h: No such file or directory
      > os_mac.h:36:22: error: Script.h: No such file or directory
      > In file included from structs.h:81,
      > from vim.h:1731,
      > from buffer.c:28:
      > gui.h:37:20: error: Types.h: No such file or directory
      > gui.h:40:20: error: Fonts.h: No such file or directory
      > gui.h:41:21: error: Events.h: No such file or directory
      > gui.h:42:20: error: Menus.h: No such file or directory
      > gui.h:44:24: error: Windows.h: No such file or directory
      > gui.h:46:23: error: Controls.h: No such file or directory
      > gui.h:48:22: error: Dialogs.h: No such file or directory
      > [extensive output redacted]
      >
      > Anyone run into this before and/or know what I'm doing wrong off the top of their head?
      >

      If you're trying to build MacVim, you need to pull the macvim sources:

      <https://code.google.com/p/macvim/>

      If you're trying to build console vim on a Mac, you'll need to pass
      disable gui to configure.

      Cheers,

      Phil...


      --
      --
      You received this message from the "vim_use" 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

      ---
      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.