# Ruby 1.8.4

**URL:** <https://rubytalk.org/t/ruby-1-8-4/23569>\
**Category:** ruby-talk\
**Created:** [24 December 2005 13:55 UTC](https://rubytalk.org/t/ruby-1-8-4/23569 "2005-12-24T13:55:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dirk\_Meijer](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dirk\_Meijer](https://rubytalk.org/u/Dirk_Meijer)\
**Post date:** [24 December 2005 13:55 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/1 "2005-12-24T13:55:19Z")

</div>

Matz, thank you for releasing 1.8.4!!  
i was wondering if i can manually update the windows one-click-installer to  
1.8.4  
if anyone knows how, that would be great, if not, i'll wait for that  
release..  
merry christmas!  
Dirk.

---

<div class="post-metadata">

**Author:** ![Dave\_Burt2](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/dave_burt2/32/2036_2.png) [@Dave\_Burt2](https://rubytalk.org/u/Dave_Burt2)\
**Post date:** [24 December 2005 14:47 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/2 "2005-12-24T14:47:51Z")

</div>

Dirk Meijer wrote...

> Matz, thank you for releasing 1.8.4!!

Let me second (or whatever it's up to) that. Thanks for allowing the Syck  
patch, too.

> i was wondering if i can manually update the windows one-click-installer  
> to  
> 1.8.4  
> if anyone knows how, that would be great, if not, i'll wait for that  
> release..

There will be a release some time in the next couple of weeks (thanks for  
your work on that, Mr. Curt Hibbs), but you can certainly run 1.8.4 on  
Windows before that. If you want to compile Ruby, to play nice with the  
One-Click Installer you might need to use the same compiler (VS7 IIRC).

Alternatively, you can get the Ruby-mswin32 build from  
[Index of /ruby/mswin32/en](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.

Happy Christmas!  
Dave

---

<div class="post-metadata">

**Author:** ![Eric\_Christensen](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@Eric\_Christensen](https://rubytalk.org/u/Eric_Christensen)\
**Post date:** [25 December 2005 23:36 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/3 "2005-12-25T23:36:20Z")

</div>

Dave Burt wrote:

> Alternatively, you can get the Ruby-mswin32 build from  
> [Index of /ruby/mswin32/en](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:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.\miniruby.exe ./win32/mkexports.rb -output=msvcr80-ruby18.def  
msvcr80-ruby18-static.lib  
./win32/mkexports.rb:6:in `foreach': Bad file descriptor (Errno::EBADF)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![DPBJ\_Inc](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@DPBJ\_Inc](https://rubytalk.org/u/DPBJ_Inc)\
**Post date:** [4 January 2006 18:56 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/4 "2006-01-04T18:56:32Z")

</div>

Eric Christensen wrote:

> Dave Burt wrote:
> 
> > Alternatively, you can get the Ruby-mswin32 build from  
> > [Index of /ruby/mswin32/en](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:
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.\miniruby.exe ./win32/mkexports.rb -output=msvcr80-ruby18.def  
> msvcr80-ruby18-static.lib  
> ./win32/mkexports.rb:6:in `foreach': Bad file descriptor (Errno::EBADF)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.\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/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Gunter\_Szolderits](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@Gunter\_Szolderits](https://rubytalk.org/u/Gunter_Szolderits)\
**Post date:** [10 January 2006 22:02 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/5 "2006-01-10T22:02:45Z")

</div>

Eric Christensen wrote:

> 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 managed to compile the latest stable snapshot this way:

set MAKE=nmake  
nmake

There seems to be an issue with backslashes and miniruby. If you don't  
set MAKE, miniruby is called with something like  
--make="c:\Programme\VS8\VC\bin\nmake.exe", and the backslashes get lost  
somehow.

- Günter

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Austin\_Ziegler5](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/austin_ziegler5/32/1985_2.png) [@Austin\_Ziegler5](https://rubytalk.org/u/Austin_Ziegler5)\
**Post date:** [5 January 2006 02:37 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/6 "2006-01-05T02:37:01Z")

</div>

You need to use a snapshot after 2006/01/01. I am working on the steps  
that will be necessary.

-austin

> **···**
>
> --  
> Austin Ziegler \* [halostatue@gmail.com](mailto:halostatue@gmail.com)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* Alternate: [austin@halostatue.ca](mailto:austin@halostatue.ca)

---

<div class="post-metadata">

**Author:** ![Guest12](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@Guest12](https://rubytalk.org/u/Guest12)\
**Post date:** [17 June 2006 14:51 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/7 "2006-06-17T14:51:48Z")

</div>

Austin Ziegler wrote:

> You need to use a snapshot after 2006/01/01. I am working on the steps  
> that will be necessary.
> 
> -austin

Is a stable 1.8.4 compilable on Windows yet?

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Austin\_Ziegler5](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/austin_ziegler5/32/1985_2.png) [@Austin\_Ziegler5](https://rubytalk.org/u/Austin_Ziegler5)\
**Post date:** [18 June 2006 15:30 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/8 "2006-06-18T15:30:25Z")

</div>

Yes, but you don't want to. It's \*not\* Ruby itself. I will be talking  
to some developers from Microsoft later this week, I hope, to see what  
can be done toward the overall problem.

-austin

> **···**
>
> On 6/17/06, Kris Leech \<krisleech@interkonect.com\> wrote:
> 
> > Austin Ziegler wrote:  
> > \> You need to use a snapshot after 2006/01/01. I am working on the steps  
> > \> that will be necessary.  
> > Is a stable 1.8.4 compilable on Windows yet?
> 
> --  
> Austin Ziegler \* halostatue@gmail.com \* [http://www.halostatue.ca/](http://www.halostatue.ca/)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* austin@halostatue.ca \* [You are in a maze of twisty little passages, all alike. // halo • statue](http://www.halostatue.ca/feed/)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* austin@zieglers.ca

---

<div class="post-metadata">

**Author:** ![Amir\_Javs](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Amir\_Javs](https://rubytalk.org/u/Amir_Javs)\
**Post date:** [19 January 2007 20:00 UTC](https://rubytalk.org/t/ruby-1-8-4/23569/9 "2007-01-19T20:00:57Z")

</div>

Austin Ziegler wrote:

> **···**
>
> > On 6/17/06, Kris Leech \<krisleech@interkonect.com\> wrote:
> > 
> > > Austin Ziegler wrote:  
> > > \> You need to use a snapshot after 2006/01/01. I am working on the steps  
> > > \> that will be necessary.  
> > > Is a stable 1.8.4 compilable on Windows yet?
> > 
> > Yes, but you don't want to. It's \*not\* Ruby itself. I will be talking  
> > to some developers from Microsoft later this week, I hope, to see what  
> > can be done toward the overall problem.
> > 
> > -austin
> 
> I'm having the same problem mentioned compiling the newest release of  
> ruby (1.8.5-p12). I'm trying to compile it with VS2005 under WinXP SP2,  
> VS2005 SP1. Running configure.bat from the VS2005 Command Prompt works  
> fine, but after running nmake, I get the following error:
> 
> ----------------------------------------  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.\miniruby.exe C:/ruby-src2/ruby-1.8.5-p12/win32/mkexports.rb  
> -output=ms  
> vcr80-ruby18.def msvcr80-ruby18-static.lib  
> C:/ruby-src2/ruby-1.8.5-p12/win32/mkexports.rb:6: [BUG] Segmentation  
> fault  
> ruby 1.8.5 (2006-12-25) [i386-mswin32\_80]
> 
> This application has requested the Runtime to terminate it in an unusual  
> way.  
> Please contact the application's support team for more information.  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lib -nologo -machine:x86 -out:msvcr80-ruby18.lib  
> -def:msvcr80-ruby18.def
> 
> LIB : fatal error LNK1104: cannot open file 'msvcr80-ruby18.def'  
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio  
> 8\VC\BIN\l  
> ib.EXE"' : return code '0x450'  
> Stop.  
> ----------------------------------------
> 
> The reason I'm needing to compile ruby is because I'll be compiling a  
> dll with VS2005 using SWIG, to be imported into a ruby app. Any help  
> would be much appreciated.
> 
> Thanks,
> 
> Amir
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
