Hi all,
I want to compile ruby 2.4.0 for Windows x86 using Visual Studio 2015 Update 3 but I'm out of luck. The configure process stops with nmake saying that cl exited with error code 0x2. Can you please help me?
Steps to reproduce:
mkdir c:\tmp
cd c:\tmp
git clone
https://github.com/ruby/ruby.git
cd ruby
git checkout tags/v2_4_0
mkdir build
mkdir install
cd build
"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 ..\win32\configure.bat --prefix=c:\tmp\ruby\install
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I have Visual Stuido's compiler on %path%, the same is for binary distribution of Ruby 2.3 (from rubyinstaller.org) and GNU utilities (from gnuwin32.sf.net / getgnuwin32.sf.net).
ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]
cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x86
nmake
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Regards,
Marek
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)