From rogerdpack at gmail.com Fri Apr 3 17:11:40 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Fri, 3 Apr 2009 15:11:40 -0600 Subject: [Rubyinstaller-devel] Moving Ruby 1.9.1 forward on Windows In-Reply-To: References: <49AF7F4C.1020809@savagexi.com> <49BC09D8.8010604@savagexi.com> <71166b3b0903151140jafc5189r73ec74681d49de82@mail.gmail.com> <398d3e0e0903160704t139350f4t7d907f4cb5fff3af@mail.gmail.com> <398d3e0e0903160915x587ba982pc852db1307a18ff5@mail.gmail.com> Message-ID: Another thought would be to allow developers to develop in VS 2008. Just instruct them that "when you want to distribute your code, you may want to compile it using the mingw stack for highest compatibility" or what not. Also a recent note from Visual C++ express edition was "On March 31st the Microsoft Visual Studio 2005 Express Edition products will be discontinued and removed from www.microsoft.com/express" so I guess Microsoft really does discontinue things :) -=r On Sat, Mar 28, 2009 at 3:47 PM, Roger Pack wrote: > So if my theory is correct [I don't have all the information, but > here's my guess] > > 1) if you are "careful" then you code, even though it was compiled > against a different version of msvcrt.dll, will run in *any* windows > ruby environment. > > I assume being careful means that you avoid the use off errno [and > calling anything that uses errno]. ?Does anyone know which versions > actually differ in errno numbering? > > If that's the case then we should be able to release the mingw version > and then windows extension developers use VC 2008 and then package up > their stuff "and name it mingw" [similar to currently doing a gem > install --platform=mswin32]. > > Am I off base? > Thanks. > -=r > > > 2009/3/16 William Green : >> Michael, >> VC6 runtime may be on "all Windows", or available for download from >> Microsoft, but the VC6 development tools (specifically, the compiler and >> linker) are not available any longer, and I highly doubt they would even run >> on Vista. So, unless you already have a copy of the VC6 dev tools, you >> cannot obtain one now. >> This, I believe, is the reason for the MingW32 build in the first place; all >> the build tools are available, and not controlled by Microsoft. >> Luis, am I totally off-base here, am I missing something? >> >> On Mon, Mar 16, 2009 at 11:44 AM, Michal Suchanek >> wrote: >>> >>> 2009/3/16 William Green : >>> > MSVC6 is no longer available from Microsoft (I've even checked my >>> > Enterprisey MSDN Account... it is simply not available). This severely >>> > limits the number of people who can build Ruby on Windows, if the >>> > dependency >>> > is kept. I'm pretty sure this is why Luis embarked on the mingw32 build >>> > in >>> > the first place. >>> > If we MUST be?dependent?on an MS-provided C library, why not make it one >>> > of >>> > the ones that they distribute freely (with an IDE): 2005 or 2008. >>> > Question is, though, is this truly a dependency? >>> >>> Yes, it is. These are not installed in Windows (nor Wine) by default >>> and you have to distribute them with Ruby for it to work. And they are >>> some special beast so just downloading the dll and dropping it into >>> the ruby directory is not enough if you forget to bundle it. >>> >>> On the other hand, the VC6 runtime is in all Windows so it is not a >>> dependency. >>> >>> Thanks >>> >>> Michal >>> _______________________________________________ >>> Rubyinstaller-devel mailing list >>> Rubyinstaller-devel at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel >> >> >> -- >> -- >> Will Green >> http://willgreen.mp/ >> >> _______________________________________________ >> Rubyinstaller-devel mailing list >> Rubyinstaller-devel at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel >> > From luislavena at gmail.com Sat Apr 4 12:23:38 2009 From: luislavena at gmail.com (Luis Lavena) Date: Sat, 4 Apr 2009 13:23:38 -0300 Subject: [Rubyinstaller-devel] [ANN] rake-compiler 0.4.0 Released Message-ID: <71166b3b0904040923p5c06432bw4d0c79369bcde24c@mail.gmail.com> rake-compiler version 0.4.0 has been released! * * = rake-compiler rake-compiler aims to help Gem developers while dealing with Ruby C extensions, simplifiying the code and reducing the duplication. It follows *convention over configuration* and set an standarized structure to build and package C extensions in your gems. This is the result of expriences dealing with several Gems that required native extensions across platforms and different user configurations where details like portability and clarity of code were lacking. == An Overview Let's summarize what rake-compiler provides: * No custom rake tasks required. Less code duplication and errors. * Painlessly build extensions on different platforms (Linux, OSX and Windows). * Allow multiple extensions be compiled inside the same gem. * Mimics RubyGems installation process, so helps as test environment. * Simplify cross platform compilation of extensions (target Windows from Linux). Changes: == 0.4.0 2009-04-03 === Enhancements * Bended the convention for extension folder. Defining ext_dir for custom extension location. Rake::ExtensionTask.new('my_extension') do |ext| ext.ext_dir = 'custom/location' # look into custom/location end # instead of ext/my_extension * Better detection of mingw target across Linux/OSX. Exposed it as Rake::ExtensionCompiler * Display list of available tasks when calling rake-compiler script * Track Ruby full versioning (x.y.z). This will help the compilation of extensions targetting 1.8.6/7 and 1.9.1 === Bugfixes * Better output of Rake development tasks (Thanks to Luis Parravicini). * Proper usage of Gem::Platform for native gems (Thanks to Dirkjan Bussink). * Don't use autoload for YAML (present problems with Ruby 1.9.1). -- 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 From ozwaldtwistle at socit.co.uk Thu Apr 9 05:01:48 2009 From: ozwaldtwistle at socit.co.uk (ozwaldtwistle) Date: Thu, 09 Apr 2009 10:01:48 +0100 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] Message-ID: <49DDB97C.9020700@socit.co.uk> Hi Luis, Thanks for the reply. I too use VC6 but have been unable to get the project/compiler settings into a workable state. I agree that the best way forward with Windows platforms is to use a MinGW build environment/sandbox. This will at least allow the community to get away from the disruptive commercial profiteering of Microsoft. So yes I am looking for a MinGW sandbox so that I can contribute to the 1.9.1 one-click installer. Many thanks John Leake Luis Lavena wrote: > On Mon, Mar 9, 2009 at 8:44 PM, ozwaldtwistle wrote: > >> Hi Luis, >> >> As I am sure time is really marching on do you have a shrink wrapped >> environment under XP Pro >> that I could get started with? I built shoes Ok with guidance from why >> using the M$ DDK. >> >> > > Hi there John, > > I haven't worked with MS tools for the past years, except VC6 which I > use to build current One-Click installer and some extensions. > > I cannot share that with you since I'll be violating the Visual Studio > 97 license/eula. > > I believe you're looking for a sandboxed environment with MinGW? > > Sorry I don't understand your question correctly, but English is not > my first language. > > If you can rephrase it will be great. Even more if you post this to > rubyinstaller-devel mailing list: > > http://rubyforge.org/mailman/listinfo/rubyinstaller-devel > > Thank you, > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rogerdpack at gmail.com Thu Apr 9 11:48:56 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Thu, 9 Apr 2009 09:48:56 -0600 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: <49DDB97C.9020700@socit.co.uk> References: <49DDB97C.9020700@socit.co.uk> Message-ID: here's the fella that creates a sandbox for you [creates it for 1.8.6] http://github.com/oneclick/rubyinstaller/tree/master try executing "rake" or "rake CHECKOUT=1" There may be an option for 1.9 in there--I dunno. typically when I want to build 1.9 I checkout luis' sandbox, build 1.8 with it [once] then use its sandbox/mingw and sandbox/msys directories to build the "daily 1.9 snapshot" Cheers! -=r 2009/4/9 ozwaldtwistle : > Hi Luis, > > Thanks for the reply.? I too use VC6 but have been unable to get the > project/compiler settings into a workable state. > > I agree that the best way forward with Windows platforms is to use a MinGW > build environment/sandbox. This will at least allow the community to get > away from the disruptive commercial profiteering of Microsoft. > > So yes I am looking for a MinGW sandbox so that I can contribute to the > 1.9.1 one-click installer. > > Many thanks > > John Leake > > Luis Lavena wrote: > > On Mon, Mar 9, 2009 at 8:44 PM, ozwaldtwistle > wrote: > > > Hi Luis, > > As I am sure time is really marching on do you have a shrink wrapped > environment under XP Pro > that I could get started with? ?I built shoes Ok with guidance from why > using the M$ DDK. > > > > Hi there John, > > I haven't worked with MS tools for the past years, except VC6 which I > use to build current One-Click installer and some extensions. > > I cannot share that with you since I'll be violating the Visual Studio > 97 license/eula. > > I believe you're looking for a sandboxed environment with MinGW? > > Sorry I don't understand your question correctly, but English is not > my first language. > > If you can rephrase it will be great. Even more if you post this to > rubyinstaller-devel mailing list: > > http://rubyforge.org/mailman/listinfo/rubyinstaller-devel > > Thank you, > > > _______________________________________________ > Rubyinstaller-devel mailing list > Rubyinstaller-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyinstaller-devel > From luislavena at gmail.com Thu Apr 9 12:17:11 2009 From: luislavena at gmail.com (Luis Lavena) Date: Thu, 9 Apr 2009 13:17:11 -0300 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: References: <49DDB97C.9020700@socit.co.uk> Message-ID: <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> On Thu, Apr 9, 2009 at 12:48 PM, Roger Pack wrote: > here's the fella that creates a sandbox for you [creates it for 1.8.6] > > http://github.com/oneclick/rubyinstaller/tree/master > > try executing "rake" or "rake CHECKOUT=1" > There may be an option for 1.9 in there--I dunno. > There is: rake ruby19 But keep in mind that 1.9.1 is completely broken, I hope 1.9.2 will have better Windows support. > typically when I want to build 1.9 I checkout luis' sandbox, build 1.8 > with it [once] then use its sandbox/mingw and sandbox/msys directories > to build the "daily 1.9 snapshot" Will work on devkit gem over this weekend, so you no longer will need to do that :-) > Cheers! > -=r > Cheers, -- 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 From deepjungle.maca at gmail.com Thu Apr 9 17:35:24 2009 From: deepjungle.maca at gmail.com (deepj) Date: Thu, 09 Apr 2009 23:35:24 +0200 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> References: <49DDB97C.9020700@socit.co.uk> <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> Message-ID: <49DE6A1C.5010600@gmail.com> > But keep in mind that 1.9.1 is completely broken, I hope 1.9.2 will > have better Windows support. > What exactly is broken on Windows? I haven't noticed any essential problem yet. deepj From luislavena at gmail.com Thu Apr 9 17:47:05 2009 From: luislavena at gmail.com (Luis Lavena) Date: Thu, 9 Apr 2009 18:47:05 -0300 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: <49DE6A1C.5010600@gmail.com> References: <49DDB97C.9020700@socit.co.uk> <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> <49DE6A1C.5010600@gmail.com> Message-ID: <71166b3b0904091447w29fde163q514cca0419af5b28@mail.gmail.com> On Thu, Apr 9, 2009 at 6:35 PM, deepj wrote: >> But keep in mind that 1.9.1 is completely broken, I hope 1.9.2 will >> have better Windows support. >> > > What exactly is broken on Windows? I haven't noticed any essential problem > yet. > Unicode for directory listing, 1.9.1 self test do not pass and 'gem' method for requiring specific gem versions doesn't work either. So, take that in mind when riding the 1.9 horse on Windows. -- 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 From luislavena at gmail.com Thu Apr 9 20:04:12 2009 From: luislavena at gmail.com (Luis Lavena) Date: Thu, 9 Apr 2009 21:04:12 -0300 Subject: [Rubyinstaller-devel] [ANN] rake-compiler 0.4.1 Released Message-ID: <71166b3b0904091704w38db5926v7bb8cd95665135cf@mail.gmail.com> rake-compiler version 0.4.1 has been released! * * = rake-compiler rake-compiler aims to help Gem developers while dealing with Ruby C extensions, simplifying the code and reducing the duplication. It follows *convention over configuration* and set an standarized structure to build and package C extensions in your gems. This is the result of expriences dealing with several Gems that required native extensions across platforms and different user configurations where details like portability and clarity of code were lacking. == An Overview Let's summarize what rake-compiler provides: * No custom rake tasks required. Less code duplication and errors. * Painlessly build extensions on different platforms (Linux, OSX and Windows). * Allow multiple extensions be compiled inside the same gem. * Mimics RubyGems installation process, so helps as test environment. * Simplify cross platform compilation of extensions (target Windows from Linux). Changes: === 0.4.1 / 2009-04-09 * Enhancements * Target specific versions of Ruby when generating binaries. This avoids installing a 1.8.x binary gem in 1.9.x and viceversa. (Thanks to Aaron Patterson for the patches) * Bugfixes * No longer raises error if rake-compiler configuration is missing. Not all users of a project would have it installed. (Thanks to Aaron Patterson for the patch) -- 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 From rogerdpack at gmail.com Sat Apr 11 17:16:24 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Sat, 11 Apr 2009 15:16:24 -0600 Subject: [Rubyinstaller-devel] mysql for windows Message-ID: Appears that currently if you install mysql 5.1 then use ruby to access it: Mysql::Error: Commands out of sync; you can't run this command now: DROP DATABASE IF EXISTS `wilkboar_ties` Anybody know if this has been addressed anywhere, by chance? Thanks! -=r From luislavena at gmail.com Sat Apr 11 17:20:02 2009 From: luislavena at gmail.com (Luis Lavena) Date: Sat, 11 Apr 2009 18:20:02 -0300 Subject: [Rubyinstaller-devel] mysql for windows In-Reply-To: References: Message-ID: <71166b3b0904111420i3ca028f3v7ba8c664201e911c@mail.gmail.com> On Sat, Apr 11, 2009 at 6:16 PM, Roger Pack wrote: > Appears that currently if you install mysql 5.1 then use ruby to access it: > > Mysql::Error: Commands out of sync; you can't run this command now: > DROP DATABASE IF EXISTS `wilkboar_ties` > > Anybody know if this has been addressed anywhere, by chance? > Thanks! http://github.com/luislavena/mysql-gem/tree/master Making it work with 5.0 and 5.1 with MinGW and VC6, so... Fork it, share some love and we can get that working sooner ;-) Me focusing on One-Click: http://www.flickr.com/photos/luislavena/3431909211/ -- 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 From deepjungle.maca at gmail.com Sun Apr 12 07:32:04 2009 From: deepjungle.maca at gmail.com (deepj) Date: Sun, 12 Apr 2009 13:32:04 +0200 Subject: [Rubyinstaller-devel] Win32console Message-ID: <49E1D134.3090702@gmail.com> I've done a few changes in win32console. It uses Iconv and it works (limited) under Ruby 1.9.1 now (I haven't tested Ruby 1.8). http://github.com/deepj/win32console/tree/master But I've met this following problem. When you have ruby script in utf-8 and it contains chars which doesn't contain OEM encoding (for example cp852 vs greek cyrilic) so it doesn't work (it's clear). The console is possibly switched to utf-8 but I don't know where in code :(. Another problem is PowerShell :( From deepjungle.maca at gmail.com Sun Apr 12 09:01:50 2009 From: deepjungle.maca at gmail.com (deepj) Date: Sun, 12 Apr 2009 15:01:50 +0200 Subject: [Rubyinstaller-devel] Rubyinstaller and Ruby 1.9.1 Message-ID: <49E1E63E.6060004@gmail.com> It seems the Rubyinstaller doesn't work properly under Ruby 1.9.1. http://pastie.org/444259 From luislavena at gmail.com Sun Apr 12 13:36:50 2009 From: luislavena at gmail.com (Luis Lavena) Date: Sun, 12 Apr 2009 14:36:50 -0300 Subject: [Rubyinstaller-devel] Rubyinstaller and Ruby 1.9.1 In-Reply-To: <49E1E63E.6060004@gmail.com> References: <49E1E63E.6060004@gmail.com> Message-ID: <71166b3b0904121036n4b369d68g2428bdaec5f96395@mail.gmail.com> 2009/4/12 deepj : > It seems the Rubyinstaller doesn't work properly under Ruby 1.9.1. > > http://pastie.org/444259 It worked fine last time :-P I'm going to re check. Anyhow, I'm using 1.8 to boostrap 1.9 -- there are other issues with 1.9 still to be solved. -- 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 From luislavena at gmail.com Sun Apr 12 13:38:19 2009 From: luislavena at gmail.com (Luis Lavena) Date: Sun, 12 Apr 2009 14:38:19 -0300 Subject: [Rubyinstaller-devel] Win32console In-Reply-To: <49E1D134.3090702@gmail.com> References: <49E1D134.3090702@gmail.com> Message-ID: <71166b3b0904121038p2326c86rc1cb8be7fce9b9a@mail.gmail.com> On Sun, Apr 12, 2009 at 8:32 AM, deepj wrote: > I've done a few changes in win32console. It uses Iconv and it works > (limited) under Ruby 1.9.1 now (I haven't tested Ruby 1.8). > > http://github.com/deepj/win32console/tree/master > > But I've met this following problem. When you have ruby script in utf-8 and > it contains chars which doesn't contain OEM encoding (for example cp852 vs > greek cyrilic) so it doesn't work (it's clear). The console is possibly > switched to utf-8 but I don't know where in code :(. > The ANSI.rb need to be in UTF-8, first line of the file: # encoding: utf-8 I'll take a look to the different page encoding combination. Do you have a cyrilic file that I can binary read and send to Win32Console? > Another problem is PowerShell :( Well, one step at a time ;-) > _______________________________________________ > Rubyinstaller-devel mailing list > Rubyinstaller-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyinstaller-devel > -- 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 From deepjungle.maca at gmail.com Sun Apr 12 16:54:42 2009 From: deepjungle.maca at gmail.com (deepj) Date: Sun, 12 Apr 2009 22:54:42 +0200 Subject: [Rubyinstaller-devel] Win32console In-Reply-To: <71166b3b0904121038p2326c86rc1cb8be7fce9b9a@mail.gmail.com> References: <49E1D134.3090702@gmail.com> <71166b3b0904121038p2326c86rc1cb8be7fce9b9a@mail.gmail.com> Message-ID: <49E25512.4050109@gmail.com> The problem is in the encoding of the console's output. The default encoding is CP852 on Czech Windows. This encoding doesn't contain any greek cyrilic chars. Unsupported chars are removed in my patched version of win32console using this: http://is.gd/s4dX I had to done it because I don't know how to switch the console to utf-8 output. > The ANSI.rb need to be in UTF-8, first line of the file: > # encoding: utf-8 So this is unhelpful. When I needed switch the console to utf-8 output I used this way in the C# without any problems: http://www.codeproject.com/KB/cpp/unicode_console_output.aspx > I'll take a look to the different page encoding combination. Do you > have a cyrilic file that I can binary read and send to Win32Console? This is my test's file: http://pastie.org/444394 Result: http://www.deep-jungle.eu/iconv.png > Well, one step at a time ;-) I hope as soon as possible :) >> _______________________________________________ >> Rubyinstaller-devel mailing list >> Rubyinstaller-devel at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel >> > > > From rogerdpack at gmail.com Mon Apr 13 08:55:11 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Mon, 13 Apr 2009 06:55:11 -0600 Subject: [Rubyinstaller-devel] [RBS] Re: Next steps In-Reply-To: References: <795241040.386801239479628243.JavaMail.root@gir> Message-ID: Sure I'll forward it on. Ed would like to make us aware that he is "going to be benchmarking the mingw version of ruby soon, in case we have any feedback for him before he does." His note is at the bottom of this message from the RBS mailing list. Cheers! -=r On Sat, Apr 11, 2009 at 11:47 PM, M. Edward (Ed) Borasky wrote: > > Well ... I still don't know why the Cygwin "git clone" didn't work, > but the MSYS / git "git clone" worked fine. So: > > 1. Check out the repository "somehow". :) > 2. Install "rubygems". I didn't check Cygwin to see if it was already > there. "rake" wasn't there, so I assumed I'd need to install > "rubygems" as well. > 3. Type "gem install rake". > 4. "cd" into the "ruby-benchmark-suite" and type "rake bench". Wait. > Collect the output. > > I am currently at "wait". This is a 2.1 GHz Turion64 X2 (dual core > 64-bit) running Windows Vista Home Premium 64 bit. It has 4 GB of RAM. > As I noted earlier, it looks like Ruby was compiled i386. > > I agree with Monty -- Cygwin is a pain. While it does have some nice > Linux-like goodies, including X Windows, it does sneaky things to the > NTFS permission bits and isn't really a substitute for dual booting > with a real Linux distro. > > I also have the "old" One-Click Ruby Installer on this machine. > Building the "new" One-Click Ruby Installer requires "a Ruby > interpreter", and the old One-Click will meet that. So I can benchmark > that as well before attempting a build of the new one. > > Is Luis or someone from the One-Click Installer project on this list? > If not, we should probably let them know what we (I) are (am) doing, > so they won't be too surprised by any "results". > > -- > M. Edward (Ed) Borasky > http://www.linkedin.com/in/edborasky > > I've never met a happy clam. In fact, most of them were pretty steamed. > > --~--~---------~--~----~------------~-------~--~----~ > The GitHub project is located at http://github.com/acangiano/ruby-benchmark-suite > > You received this message because you are subscribed to the Google > Groups "Ruby Benchmark Suite" group. > To post to this group, send email to > ruby-benchmark-suite at googlegroups.com > To unsubscribe from this group, send email to > ruby-benchmark-suite+unsubscribe at googlegroups.com > For more options, visit this group at > http://groups.google.com/group/ruby-benchmark-suite?hl=en > -~----------~----~----~----~------~----~------~--~--- > > From deepjungle.maca at gmail.com Mon Apr 13 13:08:42 2009 From: deepjungle.maca at gmail.com (deepj) Date: Mon, 13 Apr 2009 19:08:42 +0200 Subject: [Rubyinstaller-devel] GCC 4.3 In-Reply-To: <71166b3b0903311515m50b1a36ep6111cb09fa61dec1@mail.gmail.com> References: <49D0FC19.8020500@gmail.com> <49D28160.7010008@gmail.com> <71166b3b0903311515m50b1a36ep6111cb09fa61dec1@mail.gmail.com> Message-ID: <49E3719A.2030308@gmail.com> > What about proper-openssl branch? It builds it from source and do not > depend on external binaries (so it can build latest version of > OpenSSL). > I've compiled openssl-0.9.8h (+ openssl-0.9.8i -- higher versions are broken under mingw) using this today and the eventmachine has still got the issue with freezing. From rogerdpack at gmail.com Tue Apr 14 22:13:05 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Tue, 14 Apr 2009 20:13:05 -0600 Subject: [Rubyinstaller-devel] GCC 4.3 In-Reply-To: <49D0FC19.8020500@gmail.com> References: <49D0FC19.8020500@gmail.com> Message-ID: > I use Ruby 1.9.1 with minwg gcc 4.3.x a long time. It seems to be OK, only > Eventmachine doesn't work fine :(. I seem unable to get any version of windows ruby to run the EM tests. Not quite sure why. For sure when I build with GCC 3.4 they still don't run, so it may not be 4.3's fault :) -=r From luislavena at gmail.com Tue Apr 14 22:37:00 2009 From: luislavena at gmail.com (Luis Lavena) Date: Tue, 14 Apr 2009 23:37:00 -0300 Subject: [Rubyinstaller-devel] GCC 4.3 In-Reply-To: References: <49D0FC19.8020500@gmail.com> Message-ID: <71166b3b0904141937t15f3afe5kfdcf726a11e3707@mail.gmail.com> On Tue, Apr 14, 2009 at 11:13 PM, Roger Pack wrote: >> I use Ruby 1.9.1 with minwg gcc 4.3.x a long time. It seems to be OK, only >> Eventmachine doesn't work fine :(. > > I seem unable to get any version of windows ruby to run the EM tests. > Not quite sure why. ?For sure when I build with GCC 3.4 they still > don't run, so it may not be 4.3's fault :) > I still didn't find a good reason (from my side) to tackle this task, either with GCC 3.4.5 or 4.3. Even more since there is no non-blocking interface built for Ruby 1.8 or 1.9 for Windows. MSI Installers for 1.8 and 1.9 are coming next week, and devkit gem to follow (spare time every weekend, no free time during work days). If you guys start posting concrete examples I can chime in and help out, that will be great. Cheers, -- 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 From rogerdpack at gmail.com Wed Apr 15 22:27:49 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Wed, 15 Apr 2009 20:27:49 -0600 Subject: [Rubyinstaller-devel] GCC 4.3 In-Reply-To: <71166b3b0904141937t15f3afe5kfdcf726a11e3707@mail.gmail.com> References: <49D0FC19.8020500@gmail.com> <71166b3b0904141937t15f3afe5kfdcf726a11e3707@mail.gmail.com> Message-ID: > I still didn't find a good reason (from my side) to tackle this task, > either with GCC 3.4.5 or 4.3. It might well just be an EM bug and nothing to go with mingw. From rogerdpack at gmail.com Wed Apr 15 23:46:40 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Wed, 15 Apr 2009 21:46:40 -0600 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: <71166b3b0904091447w29fde163q514cca0419af5b28@mail.gmail.com> References: <49DDB97C.9020700@socit.co.uk> <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> <49DE6A1C.5010600@gmail.com> <71166b3b0904091447w29fde163q514cca0419af5b28@mail.gmail.com> Message-ID: > Unicode for directory listing, 1.9.1 self test do not pass and 'gem' > method for requiring specific gem versions doesn't work either. Does the latest rubygems release fix this, do you know? Does Eric know about it? -=r From luislavena at gmail.com Thu Apr 16 05:35:39 2009 From: luislavena at gmail.com (Luis Lavena) Date: Thu, 16 Apr 2009 06:35:39 -0300 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: References: <49DDB97C.9020700@socit.co.uk> <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> <49DE6A1C.5010600@gmail.com> <71166b3b0904091447w29fde163q514cca0419af5b28@mail.gmail.com> Message-ID: <71166b3b0904160235w31dacf15sbc0e7cf2d790e84@mail.gmail.com> On Thu, Apr 16, 2009 at 12:46 AM, Roger Pack wrote: > > > Unicode for directory listing, 1.9.1 self test do not pass and 'gem' > > method for requiring specific gem versions doesn't work either. > > Does the latest rubygems release fix this, do you know? Does Eric know about it? nothing to do with latest rubygems release. an special "gem_prelude" file needs to be added/updated/fixed in ruby source code. -- 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 From rogerdpack at gmail.com Thu Apr 16 15:13:47 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Thu, 16 Apr 2009 13:13:47 -0600 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: <71166b3b0904160235w31dacf15sbc0e7cf2d790e84@mail.gmail.com> References: <49DDB97C.9020700@socit.co.uk> <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> <49DE6A1C.5010600@gmail.com> <71166b3b0904091447w29fde163q514cca0419af5b28@mail.gmail.com> <71166b3b0904160235w31dacf15sbc0e7cf2d790e84@mail.gmail.com> Message-ID: > nothing to do with latest rubygems release. an special "gem_prelude" > file needs to be added/updated/fixed in ruby source code. I should assume ruby core knows so a bug report isn't needed? :) -=r From luislavena at gmail.com Thu Apr 16 16:08:00 2009 From: luislavena at gmail.com (Luis Lavena) Date: Thu, 16 Apr 2009 17:08:00 -0300 Subject: [Rubyinstaller-devel] [Fwd: Re: Ruby 1.9.1 windows plight] In-Reply-To: References: <49DDB97C.9020700@socit.co.uk> <71166b3b0904090917i31f6668p6c938f0f368bcbe6@mail.gmail.com> <49DE6A1C.5010600@gmail.com> <71166b3b0904091447w29fde163q514cca0419af5b28@mail.gmail.com> <71166b3b0904160235w31dacf15sbc0e7cf2d790e84@mail.gmail.com> Message-ID: <71166b3b0904161308w3b47679fs8707216a1ab6cdbb@mail.gmail.com> On Thu, Apr 16, 2009 at 4:13 PM, Roger Pack wrote: >> nothing to do with latest rubygems release. an special "gem_prelude" >> file needs to be added/updated/fixed in ruby source code. > > I should assume ruby core knows so a bug report isn't needed? :) Yup, they know, at least 3 bug reports, but 1.9.2 seems not fixed yet. Search for "<=>" on ruby-core RedMine (or tickets created by me). -- 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 From rogerdpack at gmail.com Mon Apr 20 11:35:54 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Mon, 20 Apr 2009 09:35:54 -0600 Subject: [Rubyinstaller-devel] msvc debugger for mingw Message-ID: According to this page: http://nuwen.net/mingw.html at the bottom it mentions using msvc debugger for mingw apps. Anybody ever tried that? Thanks. -=r From rogerdpack at gmail.com Fri Apr 24 14:36:14 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Fri, 24 Apr 2009 12:36:14 -0600 Subject: [Rubyinstaller-devel] patching malloc Message-ID: I wonder if it would be possible to 'force' users to use the correct xfree function. google's perftools mentions a patch they received to perhaps do something similar? http://code.google.com/p/google-perftools/ Just thinking of ways to try to ensure things are more cross CRT compat :) -=r From luislavena at gmail.com Sat Apr 25 11:46:42 2009 From: luislavena at gmail.com (Luis Lavena) Date: Sat, 25 Apr 2009 12:46:42 -0300 Subject: [Rubyinstaller-devel] [ANN] rake-compiler 0.5.0 Released Message-ID: <71166b3b0904250846h40b0b58am6587826aad7a9586@mail.gmail.com> rake-compiler version 0.5.0 has been released! * * = rake-compiler rake-compiler aims to help Gem developers while dealing with Ruby C extensions, simplifiying the code and reducing the duplication. It follows *convention over configuration* and set an standarized structure to build and package C extensions in your gems. This is the result of expriences dealing with several Gems that required native extensions across platforms and different user configurations where details like portability and clarity of code were lacking. == An Overview Let's summarize what rake-compiler provides: * No custom rake tasks required. Less code duplication and errors. * Painlessly build extensions on different platforms (Linux, OSX and Windows). * Allow multiple extensions be compiled inside the same gem. * Mimics RubyGems installation process, so helps as test environment. * Simplify cross platform compilation of extensions (target Windows from Linux). Changes: === 0.5.0 / 2009-04-25 * Enhancements * Allow generation of multiple gems for Windows (EXPERIMENTAL) This allows build gems for both VC6 and MinGW builts of Ruby (Thanks to Jonathan Stott for the suggestion) Rake::ExtensionTask.new('my_extension', GEM_SPEC) do |ext| ext.cross_compile = true ext.cross_platform = ['i386-mswin32', 'i386-mingw32'] end -- 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