# Ruby 1.8.4

**URL:** <https://www.ruby-forum.com/t/ruby-1-8-4/75206>\
**Category:** Ruby\
**Created:** [December 24, 2005, 2:56pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206 "2005-12-24T14:56:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [December 24, 2005, 2:56pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/1 "2005-12-24T14:56:51Z")

</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:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [December 24, 2005, 3:50pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/2 "2005-12-24T15:50:57Z")

</div>

Dirk M. 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 H.), 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:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [December 26, 2005, 12:35am UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/3 "2005-12-26T00:35:59Z")

</div>

Dave B. 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:

```
    .\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.

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 5, 2006, 3:39am UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/4 "2006-01-05T03:39:49Z")

</div>

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

-austin

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 4, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/5 "2006-01-04T19:56:19Z")

</div>

Eric C. wrote:

> Dave B. 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:
> 
> ```
> .\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.

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 10, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/6 "2006-01-10T23:02:00Z")

</div>

Eric C. wrote:

> C:\Ruby184\>nmake
> 
> Microsoft ® Program Maintenance Utility Version 8.00.50727.39  
> Copyright © 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

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [June 17, 2006, 4:51pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/7 "2006-06-17T16:51:37Z")

</div>

Austin Z. 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?

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [June 18, 2006, 5:33pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/8 "2006-06-18T17:33:00Z")

</div>

On 6/17/06, Kris L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Austin Z. 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

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 19, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4/75206/9 "2007-01-19T21:00:54Z")

</div>

Austin Z. wrote:

> On 6/17/06, Kris L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Austin Z. 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:

* * *

```
    .\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.  
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
