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

Re: Python 2.3 dependency? Can't start MacVim

Expand Messages
  • Laran Evans
    Also, the --enable-python-interp option doesn t show when doing ./configure --help. ... --~--~---------~--~----~------------~-------~--~----~ You received this
    Message 1 of 7 , Jul 2 7:35 AM
      Also, the --enable-python-interp option doesn't show when doing
      ./configure --help.

      On Thu, Jul 2, 2009 at 10:31 AM, Laran Evans<laran.evans@...> wrote:
      > I don't think it's deleted, just in a different place:
      >
      > lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/
      > Headers  Versions
      > lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/Versions/
      > 2.3 2.5
      > lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/Versions/2.3/
      > lib
      > lc278:Http laran$
      >
      >
      > On Thu, Jul 2, 2009 at 2:48 AM, björn<bjorn.winckler@...> wrote:
      >>
      >> 2009/7/2 Laran Evans:
      >>>
      >>> When I just click the .app file, the app just bombs on me. I tried the
      >>> command line version and got the following.
      >>>
      >>> lc278:MacVim-7_2-stable-1_2 laran$ ./mvim
      >>> dyld: Library not loaded: /System/Library/Frameworks/Python.framework/
      >>> Versions/2.3/Python
      >>>  Referenced from: /Users/laran/Downloads/MacVim-7_2-stable-1_2/
      >>> MacVim.app/Contents/MacOS/Vim
      >>>  Reason: image not found
      >>> Trace/BPT trap
      >>> lc278:MacVim-7_2-stable-1_2 laran$
      >>>
      >>> How can I fix this?
      >>
      >> It seems you are missing Python 2.3 which is supposed to come with
      >> every Mac running OS X 10.4 or later (MacVim requires at least 10.4).
      >> Did you delete by any chance (I can't think of any other possibility)?
      >>
      >> You have two options:
      >>
      >> 1. Put Python 2.3 back into /System/Library/Frameworks/
      >>
      >> 2. Compile your own MacVim binary.  This should be straightforward if
      >> you make sure to follow the instructions [1] carefully (pass at least
      >> "--enable-gui=macvim --with-features=huge --enable-pythoninterp" to
      >> configure if you want Python support).
      >>
      >>
      >> Björn
      >>
      >> [1] http://code.google.com/p/macvim/wiki/Building
      >>
      >> >>
      >>
      >

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Laran Evans
      Never mind. I didn t scroll up far enough to see all the configure options. ... --~--~---------~--~----~------------~-------~--~----~ You received this message
      Message 2 of 7 , Jul 2 7:35 AM
        Never mind. I didn't scroll up far enough to see all the configure options.

        On Thu, Jul 2, 2009 at 10:35 AM, Laran Evans<laran.evans@...> wrote:
        > Also, the --enable-python-interp option doesn't show when doing
        > ./configure --help.
        >
        > On Thu, Jul 2, 2009 at 10:31 AM, Laran Evans<laran.evans@...> wrote:
        >> I don't think it's deleted, just in a different place:
        >>
        >> lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/
        >> Headers  Versions
        >> lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/Versions/
        >> 2.3 2.5
        >> lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/Versions/2.3/
        >> lib
        >> lc278:Http laran$
        >>
        >>
        >> On Thu, Jul 2, 2009 at 2:48 AM, björn<bjorn.winckler@...> wrote:
        >>>
        >>> 2009/7/2 Laran Evans:
        >>>>
        >>>> When I just click the .app file, the app just bombs on me. I tried the
        >>>> command line version and got the following.
        >>>>
        >>>> lc278:MacVim-7_2-stable-1_2 laran$ ./mvim
        >>>> dyld: Library not loaded: /System/Library/Frameworks/Python.framework/
        >>>> Versions/2.3/Python
        >>>>  Referenced from: /Users/laran/Downloads/MacVim-7_2-stable-1_2/
        >>>> MacVim.app/Contents/MacOS/Vim
        >>>>  Reason: image not found
        >>>> Trace/BPT trap
        >>>> lc278:MacVim-7_2-stable-1_2 laran$
        >>>>
        >>>> How can I fix this?
        >>>
        >>> It seems you are missing Python 2.3 which is supposed to come with
        >>> every Mac running OS X 10.4 or later (MacVim requires at least 10.4).
        >>> Did you delete by any chance (I can't think of any other possibility)?
        >>>
        >>> You have two options:
        >>>
        >>> 1. Put Python 2.3 back into /System/Library/Frameworks/
        >>>
        >>> 2. Compile your own MacVim binary.  This should be straightforward if
        >>> you make sure to follow the instructions [1] carefully (pass at least
        >>> "--enable-gui=macvim --with-features=huge --enable-pythoninterp" to
        >>> configure if you want Python support).
        >>>
        >>>
        >>> Björn
        >>>
        >>> [1] http://code.google.com/p/macvim/wiki/Building
        >>>
        >>> >>>
        >>>
        >>
        >

        --~--~---------~--~----~------------~-------~--~----~
        You received this message from the "vim_mac" maillist.
        For more information, visit http://www.vim.org/maillist.php
        -~----------~----~----~----~------~----~------~--~---
      • Laran Evans
        This is where I hate being a C noob. Can you tell me what s needed to fix this error during make? lc278:vim7 laran$ make Starting make in the src directory. If
        Message 3 of 7 , Jul 2 7:43 AM
          This is where I hate being a C noob. Can you tell me what's needed to
          fix this error during make?

          lc278:vim7 laran$ make
          Starting make in the src directory.
          If there are problems, cd to the src directory and run make there
          cd src && make first
          CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall
          -Wno-unknown-pragmas -pipe -I. -Iproto -arch i386 -DMACOS_X_UNIX
          -no-cpp-precomp -I/Developer/Headers/FlatCarbon
          -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
          " srcdir=/Users/laran/temp/vim7/src/auto sh
          /Users/laran/temp/vim7/src/auto/osdef.sh
          sh: /Users/laran/temp/vim7/src/auto/osdef.sh: No such file or directory
          make[1]: *** [auto/osdef.h] Error 127
          make: *** [first] Error 2
          lc278:vim7 laran$

          On Thu, Jul 2, 2009 at 10:35 AM, Laran Evans<laran.evans@...> wrote:
          > Never mind. I didn't scroll up far enough to see all the configure options.
          >
          > On Thu, Jul 2, 2009 at 10:35 AM, Laran Evans<laran.evans@...> wrote:
          >> Also, the --enable-python-interp option doesn't show when doing
          >> ./configure --help.
          >>
          >> On Thu, Jul 2, 2009 at 10:31 AM, Laran Evans<laran.evans@...> wrote:
          >>> I don't think it's deleted, just in a different place:
          >>>
          >>> lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/
          >>> Headers  Versions
          >>> lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/Versions/
          >>> 2.3 2.5
          >>> lc278:Http laran$ ls /System/Library/Frameworks/Python.framework/Versions/2.3/
          >>> lib
          >>> lc278:Http laran$
          >>>
          >>>
          >>> On Thu, Jul 2, 2009 at 2:48 AM, björn<bjorn.winckler@...> wrote:
          >>>>
          >>>> 2009/7/2 Laran Evans:
          >>>>>
          >>>>> When I just click the .app file, the app just bombs on me. I tried the
          >>>>> command line version and got the following.
          >>>>>
          >>>>> lc278:MacVim-7_2-stable-1_2 laran$ ./mvim
          >>>>> dyld: Library not loaded: /System/Library/Frameworks/Python.framework/
          >>>>> Versions/2.3/Python
          >>>>>  Referenced from: /Users/laran/Downloads/MacVim-7_2-stable-1_2/
          >>>>> MacVim.app/Contents/MacOS/Vim
          >>>>>  Reason: image not found
          >>>>> Trace/BPT trap
          >>>>> lc278:MacVim-7_2-stable-1_2 laran$
          >>>>>
          >>>>> How can I fix this?
          >>>>
          >>>> It seems you are missing Python 2.3 which is supposed to come with
          >>>> every Mac running OS X 10.4 or later (MacVim requires at least 10.4).
          >>>> Did you delete by any chance (I can't think of any other possibility)?
          >>>>
          >>>> You have two options:
          >>>>
          >>>> 1. Put Python 2.3 back into /System/Library/Frameworks/
          >>>>
          >>>> 2. Compile your own MacVim binary.  This should be straightforward if
          >>>> you make sure to follow the instructions [1] carefully (pass at least
          >>>> "--enable-gui=macvim --with-features=huge --enable-pythoninterp" to
          >>>> configure if you want Python support).
          >>>>
          >>>>
          >>>> Björn
          >>>>
          >>>> [1] http://code.google.com/p/macvim/wiki/Building
          >>>>
          >>>> >>>>
          >>>>
          >>>
          >>
          >

          --~--~---------~--~----~------------~-------~--~----~
          You received this message from the "vim_mac" maillist.
          For more information, visit http://www.vim.org/maillist.php
          -~----------~----~----~----~------~----~------~--~---
        • björn
          ... Did you follow the build instructions to the letter? It seems you are running make from the vim7/ dir instead of vim7/src. Please make sure you _very_
          Message 4 of 7 , Jul 2 8:12 AM
            2009/7/2 Laran Evans:
            >
            > This is where I hate being a C noob. Can you tell me what's needed to
            > fix this error during make?
            >
            > lc278:vim7 laran$ make
            > Starting make in the src directory.
            > If there are problems, cd to the src directory and run make there
            > cd src && make first
            > CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall
            > -Wno-unknown-pragmas -pipe -I. -Iproto -arch i386 -DMACOS_X_UNIX
            > -no-cpp-precomp -I/Developer/Headers/FlatCarbon
            > -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
            > " srcdir=/Users/laran/temp/vim7/src/auto sh
            > /Users/laran/temp/vim7/src/auto/osdef.sh
            > sh: /Users/laran/temp/vim7/src/auto/osdef.sh: No such file or directory
            > make[1]: *** [auto/osdef.h] Error 127
            > make: *** [first] Error 2
            > lc278:vim7 laran$

            Did you follow the build instructions to the letter? It seems you are
            running "make" from the vim7/ dir instead of vim7/src. Please make
            sure you _very_ carefully follow the build instructions -- if you do
            nothing should go wrong.

            Also, there is something strange about your Python.framework. This is
            how it should look:

            $ ls -l /System/Library/Frameworks/Python.framework/Versions/2.3
            total 3896
            -rw-r--r-- 1 root wheel 1499 Jan 14 2008 CodeResources
            lrwxr-xr-x 1 root wheel 13 Mar 3 2008 Extras -> ../2.4/Extras
            -rwxr-xr-x 1 root wheel 1984208 Jan 14 2008 Python
            drwxr-xr-x 5 root wheel 170 Jan 14 2008 Resources
            drwxr-xr-x 3 root wheel 102 Jan 14 2008 lib

            I'm afraid I can't answer why yours look different or how to fix it though. :(

            Björn

            --~--~---------~--~----~------------~-------~--~----~
            You received this message from the "vim_mac" maillist.
            For more information, visit http://www.vim.org/maillist.php
            -~----------~----~----~----~------~----~------~--~---
          Your message has been successfully submitted and would be delivered to recipients shortly.