Ruby 1.7 for Windows?

Are you jumping to Ruby 1.7.x for the next Windows installer or going with
Ruby 1.6.7?

Inquiring minds want to know!

Both.

My plan (bearing in mind the adage that “Man Plans, God Laughs”) is to
have both 1.6.7 and 1.7 available. I’m working on a new way of putting
distributions together that should make it MUCH faster and easier
to put new distros together in the future. The first couple will
be a little lean and probably a little rough, but the framework
is in place so that it will just keep getting faster and faster :slight_smile:

Now, I am having some specific problems at the moment that any
generous folks could help me out with:

* zlib: I compiled the library by hand, but now ruby-zlib complains
of a syntax error in zlib.c line 93 'type'.

* GDBM: I need a MS compilable version.  The gnuwin version that
I found on the net only has gdbm.dll, and no .lib.  I could hand
compile from the source version (as I did with zlib), but the
prospect of doing so with *every* stinkin' package that comes up
is not appealing.  Ideas and links are more than welcome.

thanks!

/\ndy

“Andrew Hunt” andy@toolshed.com wrote in message
news:200207030010.g630Afa29502@toolshed.com

Now, I am having some specific problems at the moment that any
generous folks could help me out with:

* zlib: I compiled the library by hand, but now ruby-zlib complains
of a syntax error in zlib.c line 93 'type'.

Just change that declaration at line 93 from this:

static RB_ZLIB_NORETURN(void raise_zlib_error(int, const char *));

to this:

static void raise_zlib_error(int, const char *);

and you should be in business.

From: Andrew Hunt [mailto:andy@toolshed.com]

* GDBM: I need a MS compilable version.  The gnuwin version that
I found on the net only has gdbm.dll, and no .lib.  I could hand
compile from the source version (as I did with zlib), but the
prospect of doing so with *every* stinkin' package that comes up
is not appealing.  Ideas and links are more than welcome.

Hi Andy,

try the following link

http://paedros.x-y.net/dev/gdbmwin32/

You need to add ``gdbmerrno.h’’ to the includes of

Ruby/ext/gdbm.c to compile the gdbm extension successfully.

Generally why don’t you post a ``package wishlist’’ -

people are probably are more then willing to help out.

/Christoph