From: Luis Lavena Date: 2009-02-08T04:56:43+09:00 Subject: [ruby-core:21918] Re: [Bug #1127] error while compiling Win32API under MinGW On Sat, Feb 7, 2009 at 5:47 PM, Alexey Borzenkov wrote: > Issue #1127 has been updated by Alexey Borzenkov. > > > Hi Luis, > > I see you based your backport on old patch I posted to ruby-core, that's unfortunate. :-/ I think quote_for_make is working really better, but oh well, it's your and everyone else's choice. > I've tried to apply your patch, but didn't work as expected, so since 1.9.1 branch built properly I took that commit as reference. Don't take my call as something personal, I tried something that worked now, but maybe is set to failure in the long run. I just built it, cannot comment too much. > Also, I remember there was some other bug about ruby.h not being found, which Matz fixed in http://redmine.ruby-lang.org/repositories/diff/ruby-19?rev=21783 - in my opinion it doesn't cut the real root of the problem, but who am I and who are they... maybe it does it for you. > So far it worked, but again, that's another bug that should be backported from 1.9 to 1.8 Saw that change too, but that's something I'll tackle when time allows. > I don't know if you were trying to build 1.9 trunk or what, but when I was trying some version of 1.9 I remember I still needed to apply my patches, so it's very strange how you didn't encounter this same error... Unfortunately I can't really test it now, since I switched to Mac at home. Maybe at work on Monday, if I have time I'll look what the situation is with 1.9.1 and trunk. > You can try to build it with mingw macports installed and rake-compiler: (cross-ruby) task. > P.S. People in ruby world don't seem to use mingw much, makes me wonder which key people are still using Visual Studio 6.0 for the situation to stagnate so much. :( I really hope for mingw-based RubyInstaller to change the balance, that would make ruby much more viable platform on Windows. They build ruby under cygwin environment, not MSYS. The VC6 dependency is indeed old, but who am I to criticize it? Tried several times get in touch and help out on that topic without answers, so I'm doing my own way. Right now working on mingw-based RubyInstaller, let's see how that ends. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry