From: Sean O'Halpin Date: 2006-07-20T04:18:58+09:00 Subject: Re: One-Click Installer: MinGW? or VC2005? On 7/19/06, Lyle Johnson wrote: > On 7/18/06, ara.t.howard@noaa.gov wrote: > > > that's odd - i installed and compiled straight away... i'm at an airport now > > but it actually wrote up what i did - i'll dig it out when i get back. in any > > case i assure you it can be done... make sure you've got mingw installed > > correctly and do someting like > > > > ./configure --prefix=/c/usr/local && make && make install > > > > good luck. > > *Please* do post how you got this to work when you are back. > > The first thing I did was download and install MSYS 1.0.10. This seems > to have worked fine. > > Next, I downloaded the MinGW installer version 5.03 and ran it, and > asked it to download and install the "Current" release (which > included, among other things, gcc-3.4.2 I think). When that was done, > I grabbed the standard ruby-1.8.4.tar.gz, unpacked it, and did > "./configure", followed by "make". It bombed while compiling the very > first file, with errors about "redefinition of struct timezone" and > other types. > > I've just uninstalled MinGW, and am going to start over again with the > "Candidate" release (which is based on gcc-3.4.5). We'll see if that > goes any better... > > Hi Lyle, I installed MinGW Current (MinGW-5.0.3) first, then MSYS-1.0.11-2004.04.30-1, downloaded and unpacked ruby stable snapshot (ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz), fired up MSYS, entered this: ./configure --prefix=c:/ruby-mingw --enable-shared && make && make install Waited about 5-10 mins. Back at Windows command prompt: > cd \ruby-mingw\bin > ruby -v ruby 1.8.5 (2006-07-18) [i386-mingw32] Good luck! Regards, Sean