Hi everyone,
I just have a strange issue and it's probably a step that I'm missing
somewhere...
I wanted to compile a windows version of 1.9.1 to include Tk so that I
would have cross-platform GUI for Ruby.
I downloaded and installed Tcl, and the latest Zlib installer. I
performed the following updates:
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
I DC'd from my router and disabled/paused kaspersky so it wouldn't
interfere with permissions during nmake..
I moved the latest 1.9.1-p129 source into a folder called c:\rubysource
cd rubysource (and hit enter)
type vcvars32 (and hit enter)
type win32\configure.bat --prefix=c:\ruby (and hit enter)
type nmake and hit enter
type nmake DESTDIR=c:\ruby install (and hit enter)
I run ruby -v (ruby 1.9.1p129 (2009-05-12 revision 23412)
[i386-mswin32_90]
I run gem -v (1.3.1)
I run IRB.
% require 'tk'
% Tk::TK_PATCHLEVEL
.. all checks out OK .. so far so good..
I type gem update --system
C:/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:1:in 'require': no such
file to load -- zlib (LoadError)
I'm not sure what I'm doing wrong. I downloaded and installed the
latest zlib source (version 1.2.3)..
During the nmake process I even see it compiling zlib...
···
--
Posted via http://www.ruby-forum.com/.