# Building Ruby-1.8.4 on WinXP with MSVC++ 8.0

**URL:** <https://www.ruby-forum.com/t/building-ruby-1-8-4-on-winxp-with-msvc-8-0/80092>\
**Category:** Ruby\
**Created:** [December 29, 2005, 5:50am UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-on-winxp-with-msvc-8-0/80092 "2005-12-29T05:50:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glenn\_MSLewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@Glenn\_MSLewis](https://www.ruby-forum.com/u/Glenn_MSLewis)\
**Post date:** [December 29, 2005, 5:50am UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-on-winxp-with-msvc-8-0/80092/1 "2005-12-29T05:50:24Z")

</div>

Hi! I’m building Ruby-1.8.4 on WinXP SP2 using MSVC++ 8.0,  
and first did the ‘win32\configure.bat’ and then typed nmake.  
It makes a fair amount of progress until it gets to ‘miniruby’  
and then dies like so:

```
      cl -nologo main.obj dmydln.obj msvcr80-ruby18-static.lib 

```

oldnames.lib user32.lib advapi32.lib wsock32.lib -Feminiruby.exe -link  
-incremental:no -debug -opt:ref -opt:icf  
rbconfig.rb updated  
.\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.  
NMAKE : fatal error U1077: ‘.\miniruby.exe’ : return code ‘0x3’  
Stop.

Any ideas what I might be doing wrong?  
Thanks!  
– Glenn

---

<div class="post-metadata">

**Author:** ![Glenn\_MSLewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@Glenn\_MSLewis](https://www.ruby-forum.com/u/Glenn_MSLewis)\
**Post date:** [December 29, 2005, 6:39am UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-on-winxp-with-msvc-8-0/80092/2 "2005-12-29T06:39:37Z")

</div>

Hi,

At Thu, 29 Dec 2005 13:47:54 +0900,  
Glenn M. Lewis wrote in [ruby-talk:172930]:

> Hi! I’m building Ruby-1.8.4 on WinXP SP2 using MSVC++ 8.0,  
> and first did the ‘win32\configure.bat’ and then typed nmake.  
> It makes a fair amount of progress until it gets to ‘miniruby’  
> and then dies like so:

VC8 support is in progress now.

See the thread from [ruby-core:06996] for more details.  
[http://www.ruby-talk.org/cgi-bin/vframe.rb/ruby/ruby-core/6996?6974-7017](http://www.ruby-talk.org/cgi-bin/vframe.rb/ruby/ruby-core/6996?6974-7017)

---

<div class="post-metadata">

**Author:** ![Glenn\_MSLewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@Glenn\_MSLewis](https://www.ruby-forum.com/u/Glenn_MSLewis)\
**Post date:** [December 29, 2005, 1:59pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-on-winxp-with-msvc-8-0/80092/3 "2005-12-29T13:59:34Z")

</div>

On 29/12/05, nobuyoshi nakada [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> See the thread from [ruby-core:06996] for more details.  
> [http://www.ruby-talk.org/cgi-bin/vframe.rb/ruby/ruby-core/6996?6974-7017](http://www.ruby-talk.org/cgi-bin/vframe.rb/ruby/ruby-core/6996?6974-7017)

Yes. I’ve been a bit busy over the last couple of days and although I  
took the computer that I am doing this on to work yesterday, I forgot  
its network card 😉 so I couldn’t really do anything with it. I will  
be continuing to attempt this.

Worse, it appears that there’s a problem with trying to build OpenSSL  
0.9.7 or 0.9.8 with cl version 14 as well; mostly along the same  
lines, but the latest patches for _that_ cause different issues.

-austin
