From: "DPBJ, Inc." Date: 2006-01-05T03:56:32+09:00 Subject: Re: Ruby 1.8.4 Eric Christensen wrote: > Dave Burt wrote: >> Alternatively, you can get the Ruby-mswin32 build from >> http://www.garbagecollect.jp/ruby/mswin32/en/ - "1.8.4" will probably be >> up >> shortly, and even if it isn't, I'm pretty sure the Dec.23 version of >> 1.8.4-preview3 is identical. > > Has anyone else tried to build this with MSVC Version 14? At first, I > got: > > .\miniruby.exe ./win32/mkexports.rb -output=msvcr80-ruby18.def > msvcr80-ruby18-static.lib > ./win32/mkexports.rb:6:in `foreach': Bad file descriptor (Errno::EBADF) > from ./win32/mkexports.rb:6 > NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x1' > Stop. > > After debugging, it appeared that _WIN32_WCE should be changed to _WIN32 > at line 143 of win32.h and numerous places in win32.c. That gives me a > working miniruby.exe, but I can't make any further progress in nmake: I > get > > C:\Ruby184>nmake > > Microsoft (R) Program Maintenance Utility Version 8.00.50727.39 > Copyright (C) Microsoft Corporation. All rights reserved. > > compiling Win32API > NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x1' > Stop. I also get an error at that line in that file: .\miniruby.exe ./win32/mkexports.rb -output=msvcr80-ruby18.def msvcr80-ruby18-static.lib ./win32/mkexports.rb:6: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. This was using the .NET 2.0 nmake utility. -- Posted via http://www.ruby-forum.com/.