Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7320

Unable to compile ruby 2.4.0 with VS2015u3

Newsgroups comp.lang.ruby
Date 2016-12-30 08:57 -0800
Message-ID <88cae402-be5e-43ed-845b-28f85b86da77@googlegroups.com> (permalink)
Subject Unable to compile ruby 2.4.0 with VS2015u3
From knapek.mar@gmail.com

Show all headers | View raw


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

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar


Thread

Unable to compile ruby 2.4.0 with VS2015u3 knapek.mar@gmail.com - 2016-12-30 08:57 -0800
  Re: Unable to compile ruby 2.4.0 with VS2015u3 Marek Knápek <knapek.mar@gmail.com> - 2017-01-05 13:21 -0800
    Re: Unable to compile ruby 2.4.0 with VS2015u3 Hellio6 <vunangluc@gmail.com> - 2017-04-09 18:47 -0700

csiph-web