From: David Vallner Date: 2005-12-03T22:11:09+09:00 Subject: Re: extconf.rb problems Daniel R wrote: >I am using last ruby installed with the 1-click install, on Windows. > >When i use extconf.rb files, I always get errror messages like this >one: > checking for deflateReset() in z.lib... no > checking for deflateReset() in libz.lib... no > checking for deflateReset() in zlib.lib... no > >I tried to install ruby-zlib from >http://raa.ruby-lang.org/project/ruby-zlib >but i have the same problems. > >Can someone please help me ? How can I make extconf.rb files work ? >Any help would be greatly appreciated, since I really would like to use >ruby but can't figure how to solve problems like this one. > > > > I suppose you have a Windows machine from the library names. I'll admit I have no idea where extconf.rb looks for libraries by default there or how it does it. Do you have Zlib somewhere on your computer (e.g. the files it's looking for) at all, by the way? When trying to compile extensions, you might want to use the mingw32 version of ruby instead of the mswin32 one the one-click-installer uses. Mingw and MSYS work a quite bit more automagically than a VC++ one, that is, unless you bought or otherwise came to own Visual Studio. And just by the way, the one-click-installer comes Ruby 1.8, which has a working Zlib in the standard library - notice the RAA page mentioning the standalone module is deprecated. David Vallner