I'm trying to migrate to Alloy's MacVim (the one with the added native Cocoa FileBrowser - found here: https://github.com/alloy/macvim) on OSX Lion. To build it, I used this homebrew formula:
It built successfully, but I just can't get it to run. When I try opening it using "open" or by double-clicking the app bundle, it just appears in the doc, but no window is shown.
When I tried to run the binary directly from the command line, by cd'ing into Contents/MacOS, I got this:
Vim: Caught deadly signal SEGV Vim: Finished.
Does anyone know why this happens and hopefully a solution to it?
> I'm trying to migrate to Alloy's MacVim (the one with the added native Cocoa FileBrowser - found here: https://github.com/alloy/macvim) on OSX Lion. To build it, I used this homebrew formula:
> It built successfully, but I just can't get it to run. When I try opening it using "open" or by double-clicking the app bundle, it just appears in the doc, but no window is shown.
> When I tried to run the binary directly from the command line, by cd'ing into Contents/MacOS, I got this:
> Vim: Caught deadly signal SEGV > Vim: Finished.
> Does anyone know why this happens and hopefully a solution to it?
> On Wednesday, September 12, 2012 7:00:12 AM UTC+2, Marcelo de Moraes Serpa
> wrote:
> > Hello everyone,
> > I'm trying to migrate to Alloy's MacVim (the one with the added native
> Cocoa FileBrowser - found here: https://github.com/alloy/macvim) on OSX
> Lion. To build it, I used this homebrew formula:
> > It built successfully, but I just can't get it to run. When I try
> opening it using "open" or by double-clicking the app bundle, it just
> appears in the doc, but no window is shown.
> > When I tried to run the binary directly from the command line, by cd'ing
> into Contents/MacOS, I got this:
> > Does anyone know why this happens and hopefully a solution to it?
> > Thanks in advance,
> > - Marcelo.
> With which Ruby did you compile it?
> --
> 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
I installed Ruby ruby 1.8.7 (2012-06-29 patchlevel 370) using RVM and set
it as the system default, did a make clean and compiled Alloy's MacVim again
Now, I don't get the error messages (Vim: Caught deadly signal SEGV
Vim: Finished.) in the console anymore, but it still doesn't draw any
windows. It just stays in the dock and shows the menubar. It doesn't crash
either.
> > It's using my default Ruby in RVM, which is Ruby 1.9.2.p194. Should I
> > use a lower/upper version?
> FWIW, I've never been able to compile any Vim with rvm's 1.9.3 (haven't
> tried compiling 1.9.3 myself & giving it a go).
> I've always used 1.8.4 via rvm.
> Cheers,
> Phil...
> --
> But masters, remember that I am an ass.
> Though it be not written down,
> yet forget not that I am an ass.
> Wm. Shakespeare - Much Ado About Nothing
> --
> 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
On Thursday, September 13, 2012 7:04:22 PM UTC+2, Marcelo de Moraes Serpa wrote:
> I installed Ruby ruby 1.8.7 (2012-06-29 patchlevel 370) using RVM and set it as the system default, did a make clean and compiled Alloy's MacVim again
> Now, I don't get the error messages (Vim: Caught deadly signal SEGV
> Vim: Finished.) in the console anymore, but it still doesn't draw any windows. It just stays in the dock and shows the menubar. It doesn't crash either.
> Any ideas?
Try compiling it without RVM, using the stock OS X ruby. I remember I could get it to work (some months ago), but I stopped using the fork, as it was not enough "keyboard-centric".
On Sep 13, 2012 at 12:04 PM -0500, Marcelo de Moraes Serpa wrote:
>Any ideas?
For what it's worth, I've manually compiled MacVim in the past on 10.7 using rvm. I never seemed to have too much of a problem with it. More recently I've switched to installing MacVim using homebrew, which defaults to using the default install of Ruby. Since I'm not much of a Ruby developer, it doesn't bother me too much that MacVim is linked to an older version of Ruby.
Are you using something like Command-T? If that's compiled with a different version of Ruby with respect to whatever MacVim is linked to, you get funny startups. Crashes essentially, but the GUI is still responsive - you never get editor windows, but you can interact with the OS X menus just fine.
I ended up reverting to vanilla MacVim, which compiles and runs fine under
the same circumstances. I'm using command-t, but I removed it from my
bundles when trying to run Alloy's MacVim, but got the same error. I'll get
back to it perhaps, someday, as I'm curious on the FileBrowser integration,
which I think could be a nice addition.
On Fri, Sep 14, 2012 at 9:54 AM, Tim Gray <tg...@protozoic.com> wrote:
> On Sep 13, 2012 at 12:04 PM -0500, Marcelo de Moraes Serpa wrote:
>> Any ideas?
> For what it's worth, I've manually compiled MacVim in the past on 10.7
> using rvm. I never seemed to have too much of a problem with it. More
> recently I've switched to installing MacVim using homebrew, which defaults
> to using the default install of Ruby. Since I'm not much of a Ruby
> developer, it doesn't bother me too much that MacVim is linked to an older
> version of Ruby.
> Are you using something like Command-T? If that's compiled with a
> different version of Ruby with respect to whatever MacVim is linked to, you
> get funny startups. Crashes essentially, but the GUI is still responsive -
> you never get editor windows, but you can interact with the OS X menus just
> fine.