Installing ruby-zlib on windows

I downloaded ruby-zlib-0.5.1.tar.gz from RAA but could not
find any documentation on how to install it on Windows.

I tried the usual unzip, tar and then:

C:\install> ruby extconf.rb
checking for deflateReset() in -lz… no

I know I am missing some steps.
Please help.
TIA,
– shanko

That error means “I tried to find libz.so or libz.a, and I couldn’t”. So
ruby-libz is a wrapper around the C library, and you have to install the C
library first.

There is an unofficial Windows DLL version available from

or if you are under cygwin you could compile your own from source from
http://www.gzip.org/zlib

Regards,

Brian.

···

On Sun, Mar 23, 2003 at 08:30:34AM +0900, Shashank Date wrote:

I downloaded ruby-zlib-0.5.1.tar.gz from RAA but could not
find any documentation on how to install it on Windows.

I tried the usual unzip, tar and then:

C:\install> ruby extconf.rb
checking for deflateReset() in -lz… no

Hi,

···

At Sun, 23 Mar 2003 08:30:34 +0900, Shashank Date wrote:

I downloaded ruby-zlib-0.5.1.tar.gz from RAA but could not
find any documentation on how to install it on Windows.

0.5.1 doesn’t support Windows. Try 0.6.0.


Nobu Nakada

nobu.nokada@softhome.net wrote in message

0.5.1 doesn’t support Windows. Try 0.6.0.

I got 0.5.1 from RAA which pointed me to:
http://www.blue.sky.or.jp/atelier/ruby/

I did not see 0.6.0 there … should I be looking somewhere else?
Or it is not yet released and you are suggesting that I wait till it out ?

Nobu Nakada

Thanks Nobu,
– shanko

Hi,

···

At Mon, 24 Mar 2003 01:32:26 +0900, Shashank Date wrote:

0.5.1 doesn’t support Windows. Try 0.6.0.

I got 0.5.1 from RAA which pointed me to:
http://www.blue.sky.or.jp/atelier/ruby/

I did not see 0.6.0 there … should I be looking somewhere else?
Or it is not yet released and you are suggesting that I wait till it out ?

It’s only in “rough”, you can get it via CVS:

$ cvs -d :pserver:anonymous@cvs.ruby-lang.org:/src co rough/ext/zlib

or download zip archive from:

http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/rough/ext/zlib/zlib.zip?tarball=1


Nobu Nakada