From: "J. D." Date: 2009-06-04T06:43:04+09:00 Subject: Re: Compiling Ruby 1.9.1 zlib issue on Windows Luis Lavena wrote: > On Jun 3, 5:33�pm, "J. D." wrote: >> > The zlib file you downloaded needs to containg include headers and > linking (.lib) libraries. > > Check that and that will tell you if zlib got compiled or not: > > ruby -ve "require 'zlib'; puts Zlib::ZLIB_VERSION" > > HTH, Says.. ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32_90] -e:1:in 'require': no such file to load -- zlib (LoadError) from -e:1:in '
' The headers are located in c:\program files\GnuWin32\include The .lib files are located in c:\program files\GnuWin32\lib Before compiling my environment is set to: set INCLUDE=c:\tcl\include;c:\program files\GnuWin32\include;%INCLUDE% set LIB=c:\ruby\lib;c:\tcl\lib;c:\program files\GnuWin32\lib;%LIB% set LIBPATH=c:\ruby\lib;c:\tcl\bin;c:\tcl\lib;c:\program files\GnuWin32\bin;c:\program files\GnuWin32\lib;%LIBPATH% set PATH=c:\ruby\bin;c:\tcl\bin;c:\program files\GnuWin32\bin;%PATH% set RUBYPATH=c:\ruby What do I need to do to make sure they are included? I'm not following why it's not including them. It includes tcl and I've added the environment exactly the same way.. -- Posted via http://www.ruby-forum.com/.