четверг, 23 ноября 2017 г., 8:18:26 UTC-8 пользователь Ilya Mikhaltsou написал:
> среда, 22 ноября 2017 г., 8:26:02 UTC-8 пользователь Kazunobu Kuriyama 
> написал:
> > 2017-11-23 1:07 GMT+09:00 Ilya Mikhaltsou <[email protected]>:
> > 
> > 
> > > Just to make sure.  Have you tried something like this?:
> > 
> > >
> > 
> > >
> > 
> > > ./configure --enable-rubyinterp --with-ruby-command=/path/to/interpreter
> > 
> > >
> > 
> > >
> > 
> > > If so, what did you set it to?
> > 
> > 
> > 
> > No, I haven't. Ruby was available in PATH.
> > 
> > 
> > 
> > When you run configure with --enable-rubyinterp, among a bunch of lines, 
> > you usually have
> > 
> > 
> > 
> > checking for ruby... /usr/bin/ruby
> > 
> > 
> > But if your target is 2.4.1, then the path should be different from 
> > /usr/bin/ruby and must be the path of the 2.4.1 interpreter.
> > 
> > 
> > What did you get when you ran configure?  Something like 
> > $HOME/.rvm/bin/ruby-2.4.1?  (Since I'm not a rvm user, I'm not sure what 
> > the path actually looks like.)
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > 
> > --
> > 
> > You received this message from the "vim_dev" 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_dev" group.
> > 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> > 
> > For more options, visit https://groups.google.com/d/optout.
> 
> In the configure step ruby was identified correctly. It was 
> /Users/username/.rvm/rubies/ruby-2.4.1/bin/ruby (or something like that).

And please, let me get something straight here. I appreciate your concerns for 
whether this is happening exclusively on my mac or not, but it should be 
obvious that the way the search for library path on macOS is wrong (possibly it 
works exclusively for native ruby, but I’m working on a very underpowered mac 
and have no intention of waiting a couple of hours again to verify). 

Since the problem is obvious from the patch, I believe the main decision should 
be whether there are historical reasons for this being done explicitly this way 
and that it is not a bug, or that it has been incidental that it works on 
default (or common) configurations despite being wrong. 

I’ve given you explicitly the output of commands that influence the comditions 
involved in deciding  where is the ruby library located and which flags to pass 
to ld. I don’t think that my configuration could be so much outworldish as to 
output wrong strings or be unrepeatable. So by extension it is fairly logical 
that it is not the output of those commands being questioned, but the way this 
output is processed in the configuration script. 


-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui