Re: Bootstrapping Ruby with MinGW: selfhosted and test sandbox!



Hey Luis,

I've been working on trying to do a MinGW environment, so that I can
work on a MinGW Compile of wxRuby for Windows. The only thing I have
to say, is congrats, and you have made my day! The sandbox
development environment that you setup with the rakefiles, is exactly
what I needed, so desperately. Thank you so much for this, I'm
running the rake for installer3, to get everything I need setup. I
seriously recommend that you setup a OCI just for the Development
Environment itself! MinGW and MSys has unfortunatly come up short for
me on many occasions on trying to get a full compiler environment
setup on Windows, that I'm use to on Linux, through their installers,
and setups. If things work the way that I believe they are going to,
this is going to make my day!

Keep up the good work, (Especially for us developers who are less then
familiar with trying to get Ruby going, let alone work on our own
Extensions! LOL)

L8ers,

---
Mario Steele
wxRuby Senior Developer
Website: http://wxruby.rubyforge.org/wiki/wiki.pl
Rubyforge: http://rubyforge.org/projects/wxruby

wxRIDE Creator / Senior Developer
Website: http://wxride.trilake.net
Rubyforge: http://rubyforge.org/projects/wxride


On Mar 24, 12:27 am, Luis Lavena <luislav...@xxxxxxxxx> wrote:
Hello List,

I'm happy to announce that huge progress (hack-a-ton) was made this
weekend to bring a new implementation of One-Click Installer for
Windows!

This test version is based on the rake recipes I commented on previous
posts [1], and it download MinGW, MSYS and some Ruby dependencies to
get a working Ruby implementation using MinGW (i386-mingw32 platform).

I've packaged Ruby 1.8.6 (revision 15830) as 7zip package (2.7MB). You
can download it form the following URL:

http://dump.mmediasys.com/installer3/

The project and the recipes code can be downloaded from here:

http://code.mmediasys.com/installer3/latest.zip

I'll like to point a few things before everyone start using this ruby
version:

THIS BUILD OF RUBY IS *NOT* READY FOR PRODUCTION. USE IT ONLY FOR
TESTING PURPOSES.

All the enhancements got here will be injected back in the new version
of One-Click Installer for Windows.

Caveats:

1) Pre-built gems for i386-mswin32 are not compatible with this build
of ruby. You'll require to download sources of your favorite gems.

If you haven't created the sandbox environment using the recipes, you
can grab the baked mingw+msys sandbox from installer3 URL. You need to
put MinGW binaries and MSYS binaries in the PATH (in that order)
before firing the gem install or any build procedure.

2) Don't expect Rails, Mongrel, Merb, Sqlite3 or "name your favorite
gem" will work with this release out of the box (hey, this is not even
a release!).

3) The package contains the bare minimum stuff to serve as self
hosting environment:

Ruby 1.8.6
Zlib 1.2.3
OpenSSL 0.9.7c
Readline 5.2
Iconv alternative
RubyGems 1.0.1

Nothing more, nothing less.

4) Readline is still broken. I removed the readline tests from the
check procedure to continue working on this (was stuck for two months
without feedback). If you wanna help, search for my previous posts
about this issue.

For CI information:
1760 tests, 1343436 assertions, 2 failures, 0 errors

5) GNU Utils are a nightmare to get it working or find proper builds
for Windows. following _why advice [2], opted for win_iconv which
seems working (but there aren't tests for it).

6) Microsoft Installer (MSI) recipes are still missing. Future
releases will be use WiX tools and will provide patches between
releases.

7) Contributions are highly welcome! I'm using Bazaar as VCS since
Windows support for Git (the new cool tool) is still behind...

Remember: everything shown here will became part of the next One-Click
Installer. As you can see, I'm trying to keep it to the minimum. Later
we can discuss "addons" or different versions that are target
different usage scenarios.

Check my blog [2] for upcoming hack-a-ton dates and keep an eye on
#ruby-lang if you wanna help ;-)

Regards and everybody have a nice week!

[1]http://groups.google.com/group/ruby-talk-google/browse_thread/thread/...
[2]http://blog.mmediasys.com
--
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn
from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams

.



Relevant Pages

  • Re: can xcode make applications for a windows environment?
    ... > Hi all can xcode be somehow used to make applications for a windows ... MinGW works well as a cross-compiler from OS X to ...
    (comp.sys.mac.programmer.tools)
  • Re: Open Source Partition Manager
    ... You may want to use the Msysinstaller with ... MinGW(Minimalist GNU For Windows) compiler and tools. ... From the MinGW site: ... ability to execute and create a Makefile used by make." ...
    (comp.lang.asm.x86)
  • Re: setting up cygwin on windows or linux it?
    ... fresh sandbox with MinGW+MSYS to help you 'fake' a complete *nix ... environment. ... If you have a Windows VM please try those out, ... One-Click Installer will be built on top of that. ...
    (comp.lang.ruby)
  • Re: nss_ldap using sasl with gssapi. Kerberos credentials cache problem[Scanned]
    ... First get a Windows 200x environment with the RFC2307 extensions added to the Schema. ... Next assign all of your *real* Unix users with AD accounts - make the user names conform to the Posix rules (Windows samAccountName) i.e. 8 characters starting with a letter, ... A further enhancement would be to try to access the directory using this file if readable, and if that fails or if the file is not readable then use the KRB5CCNAME environment variable if set and if that fails use the users credentials cache if that exists. ...
    (Fedora)
  • Re: Using PHP to parse specific XML tag content?
    ... XML --> HTML transformation in testing environment. ... run just fine under Windows using Cygwin, and, unless I'm ... but you have to learn XSLT or use whatever defaults ...
    (comp.lang.php)

Loading