Le lundi 4 décembre 2017 22:46:31 UTC+1, Ken Takata a écrit :
> Hi,
> 
> 2017/12/5 Tue 6:20:17 UTC+9 Ni Va wrote:
> > Le lundi 4 décembre 2017 22:02:21 UTC+1, Ni Va a écrit :
> > > Le lundi 4 décembre 2017 21:05:39 UTC+1, Ni Va a écrit :
> > > > Le lundi 4 décembre 2017 20:55:27 UTC+1, Bram Moolenaar a écrit :
> > > > > Ken Takata wrote:
> > > > > 
> > > > > [...]
> > > > > 
> > > > > > > > > Thank you Ken but last error already here.
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > Creating Makefile.new
> > > > > > > > > "type `nmake' to make ruby."
> > > > > > > > > 
> > > > > > > > > c:\Ruby_source\ruby>nmake .config.h.time
> > > > > > > > > 
> > > > > > > > > Microsoft (R) Program Maintenance Utility Version 
> > > > > > > > > 14.11.25547.0
> > > > > > > > > Copyright (C) Microsoft Corporation. Tous droits réservés.
> > > > > > > > > 
> > > > > > > > > Creating config.h
> > > > > > > > > .ext\include\i386-mswin32_140\ruby\config.h updated
> > > > > > > > > 
> > > > > > > > > c:\Ruby_source\ruby>xcopy /s .ext\include C:\Ruby24\include
> > > > > > > > > Est-ce que C:\Ruby24\include désigne un nom de fichier
> > > > > > > > > ou un nom de répertoire de la destination
> > > > > > > > > (F = fichier, R = répertoire) ?
> > > > > > > > 
> > > > > > > > I don't understand this error message, but the destination 
> > > > > > > > seems wrong.
> > > > > > > > "Ruby24" should be replaced by "Ruby24-x64", if you use 64-bit 
> > > > > > > > version.
> > > > > > > > 
> > > > > > > >     xcopy /s .ext\include C:\Ruby24-x64\include
> > > > > > > > 
> > > > > > > > 
> > > > > > > > Regards,
> > > > > > > > Ken Takata
> > > > > > > 
> > > > > > > Help installPC.txt should be modified on xcopy line :
> > > > > > > 
> > > > > > > xcopy /s .ext\include\x64-mswin64_140 
> > > > > > > c:\Ruby24\include\ruby-2.4.0\ruby
> > > > > > 
> > > > > > I don't think so.
> > > > > > Looking your message again, you might have done something wrong.
> > > > > > 
> > > > > > 
> > > > > > > > > Microsoft (R) Program Maintenance Utility Version 
> > > > > > > > > 14.11.25547.0
> > > > > > > > > Copyright (C) Microsoft Corporation. Tous droits réservés.
> > > > > > > > > 
> > > > > > > > > Creating config.h
> > > > > > > > > .ext\include\i386-mswin32_140\ruby\config.h updated
> > > > > > 
> > > > > > If you use 64-bit compiler, this message should be:
> > > > > > 
> > > > > >     Creating config.h
> > > > > >     .ext\include\x64-mswin64_140\ruby\config.h updated
> > > > > > 
> > > > > > After xcopy, config.h should placed at:
> > > > > > 
> > > > > >     C:\Ruby24-x64\include\ruby-2.4.0\x64-mswin64_140\ruby\config.h
> > > > > 
> > > > > Is a change to INSTALLpc.txt needed?  If so please make a patch.
> 
> INSTALLpc.txt is still correct, but it might be unclear for building 64-bit
> version.  Please chech the attached patch.
> 
> (snip)
> 
> > > Ok works assuming renaming c:\ruby24-x64 into c:\ruby24 after 'git clone 
> > > ' as said in installPC.txt.
> > > 
> > > 
> > > And these VARS for Make_mvc.mak 
> > > 
> > > :: Enable Ruby scripting
> > > set DYNAMIC_RUBY=yes
> > > set RUBY=C:\Ruby24
> > > set RUBY_VER=24
> > > set RUBY_VER_LONG=2.4.0
> > > set RUBY_PLATFORM=x64-mswin64_140
> > > set RUBY_MSVCRT_NAME=msvcrt
> 
> I recommend using RUBY_API_VER_LONG=2.4.0 instead of RUBY_VER_LONG=2.4.0.
> The API version of Ruby 2.4.2 is 2.4.0, and using RUBY_API_VER_LONG makes
> it clear.
> 
> 
> > Following if_ruby.txt, 
> > 
> > path command returns that path D:\Logiciels\Vim\vim80
> > :put=&rubydll returns x64-msvcrt-ruby240.dll  which is present in 
> > D:\logiciels\Vim\vim80 and gvim compiled with.
> > 
> > but :ruby print "hello" fails to find dll
> 
> It seems that the DLLs in C:\Ruby24-x64\bin\ruby_builtin_dlls are also needed
> for if_ruby.
> 
> Regards,
> Ken Takata

Ok with new instructions and after applying them again, It Works to build !
And to execute too with C:\Ruby24-x64\bin\ruby_builtin_dlls in $vimruntime.

Then Vim standalone is heavier.. but it's life.

Thank you for all, both of you.

-- 
-- 
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