# Mingw install

**URL:** <https://rubytalk.org/t/mingw-install/2147>\
**Category:** ruby-talk\
**Created:** [4 October 2002 16:20 UTC](https://rubytalk.org/t/mingw-install/2147 "2002-10-04T16:20:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Probert2](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@Mark\_Probert2](https://rubytalk.org/u/Mark_Probert2)\
**Post date:** [4 October 2002 16:20 UTC](https://rubytalk.org/t/mingw-install/2147/1 "2002-10-04T16:20:34Z")

</div>

Hi,

I have just built the latest snapshot using mingw and  
the tests work fine. However, I do the install, cd and  
run ruby -v and it just sits there doing nothing. Obviously  
an install problem.

I did the usual, no changes to config files, etc.

$ configure --prefix=/msys  
$ make  
$ make test  
$ make install

d:\msys\bin is in my path.

The Win32 version of ruby is also installed (d:\apps\ruby\bin)  
however with renamed executables. There are no conflicting  
env variables that I can see. The Win32 version still works  
fine.

Any thoughts?

-mark.

---

<div class="post-metadata">

**Author:** ![MikkelFJ1](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@MikkelFJ1](https://rubytalk.org/u/MikkelFJ1)\
**Post date:** [4 October 2002 17:28 UTC](https://rubytalk.org/t/mingw-install/2147/2 "2002-10-04T17:28:23Z")

</div>

“Mark Probert” [probertm@nortelnetworks.com](mailto:probertm@nortelnetworks.com) wrote in message  
[news:5.1.0.14.2.20021004120834.00b11458@zcard04k.ca.nortel.com](mailto:news:5.1.0.14.2.20021004120834.00b11458@zcard04k.ca.nortel.com)…

> Hi,
> 
> I have just built the latest snapshot using mingw and  
> the tests work fine. However, I do the install, cd and  
> run ruby -v and it just sits there doing nothing. Obviously  
> an install problem.  
> …  
> The Win32 version of ruby is also installed (d:\apps\ruby\bin)  
> however with renamed executables. There are no conflicting  
> env variables that I can see. The Win32 version still works  
> fine.
> 
> Any thoughts?

Could it be that the .so dll’s from the other installation are being loaded  
instead of the mingw ones?  
Try to rename the directory where the Win32 version is located so the search  
paths become invalid.

Mikkel

---

<div class="post-metadata">

**Author:** ![Nobuyoshi\_Nakada](https://avatars.discourse-cdn.com/v4/letter/n/edb3f5/32.png) [@Nobuyoshi\_Nakada](https://rubytalk.org/u/Nobuyoshi_Nakada)\
**Post date:** [4 October 2002 19:56 UTC](https://rubytalk.org/t/mingw-install/2147/3 "2002-10-04T19:56:44Z")

</div>

Hi,

> **···**
>
> At Sat, 5 Oct 2002 01:20:34 +0900, Mark Probert wrote:
> 
> > I have just built the latest snapshot using mingw and  
> > the tests work fine. However, I do the install, cd and  
> > run ruby -v and it just sits there doing nothing. Obviously  
> > an install problem.
> 
> Does it work before install, in the build directory?
> 
> –  
> Nobu Nakada

---

<div class="post-metadata">

**Author:** ![Mark\_Probert2](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@Mark\_Probert2](https://rubytalk.org/u/Mark_Probert2)\
**Post date:** [4 October 2002 17:57 UTC](https://rubytalk.org/t/mingw-install/2147/4 "2002-10-04T17:57:08Z")

</div>

Same behavior, unfortunately.

It’s not a build problem. It all seems to work as expected  
on my Solaris box …

-mark.

> **···**
>
> At 02:28 AM 10/5/2002 +0900, you wrote:
> 
> > “Mark Probert” [probertm@nortelnetworks.com](mailto:probertm@nortelnetworks.com) wrote in message  
> > [news:5.1.0.14.2.20021004120834.00b11458@zcard04k.ca.nortel.com](mailto:news:5.1.0.14.2.20021004120834.00b11458@zcard04k.ca.nortel.com)…
> > 
> > > Hi,
> > > 
> > > I have just built the latest snapshot using mingw and  
> > > the tests work fine. However, I do the install, cd and  
> > > run ruby -v and it just sits there doing nothing. Obviously  
> > > an install problem.  
> > > …  
> > > The Win32 version of ruby is also installed (d:\apps\ruby\bin)  
> > > however with renamed executables. There are no conflicting  
> > > env variables that I can see. The Win32 version still works  
> > > fine.
> > > 
> > > Any thoughts?
> > 
> > Could it be that the .so dll’s from the other installation are being loaded  
> > instead of the mingw ones?  
> > Try to rename the directory where the Win32 version is located so the search  
> > paths become invalid.

---

<div class="post-metadata">

**Author:** ![Mark\_Probert](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Mark\_Probert](https://rubytalk.org/u/Mark_Probert)\
**Post date:** [4 October 2002 20:48 UTC](https://rubytalk.org/t/mingw-install/2147/5 "2002-10-04T20:48:45Z")

</div>

[nobu.nokada@softhome.net](mailto:nobu.nokada@softhome.net) wrote in news:200210041956.g94JueH28215  
@sharui.nakada.kanuma.tochigi.jp:

> Hi,
> 
> > I have just built the latest snapshot using mingw and  
> > the tests work fine. However, I do the install, cd and  
> > run ruby -v and it just sits there doing nothing. Obviously  
> > an install problem.
> 
> Does it work before install, in the build directory?

Yes: both make test and ruby -v work. Running the add\_a\_gram  
scripts that were posted a while back also work. Seems to  
me like it is working.

-mark.

> **···**
>
> > At Sat, 5 Oct 2002 01:20:34 +0900, \> Mark Probert wrote:
