Shin guey Wong wrote:
> Hi,
> 
> I am using the ruby one click installer all the while. Recently, I tried
> to compile the latest ruby 1.8.6-p110 and I found it is quite painful to
> compile it in windows.
> 
> I am able to compile it with VS2003. I can compile the ruby.exe and
> rubyw.exe and some standard library without any problem.
> 
> After compile the ruby.exe, I tried it and it run quite well but when I
> tried to install rubygems, it start complaining zlib not install. So, I
> recheck the compile log and found that there are still a lot of ruby
> extension which is not able to compile in windows because of missing of
> some library/development header, for eg openssl, zlib, readline, curse,
> nbm, iconv, pty, tk, syslog..etc .
> This is no problem for linux coz linux can download all the dev file
> easily like they can download zlib-dev with linux. However, doing this
> in windows is hard.
> 
> For zlib, luckily I can found the source code and compile it
> successfully. After that, I just install rubygems without any problem.
> After install rubygems, I fire up IRB and type 'require
> 'irb/completion''. It complain again no readline ext found... :(   I had
> to start finding any readline source/library for windows available on
> net. I successful to found it with GNUWin but still not able to compile
> readline binding for ruby....I read the log file, it will check for
> ncurse.lib, termcap.lib, curse.lib, edit/readline.h...where do I get all
> this file????
> 
> So, can anyone tell me how to compile readline for ruby in windows?
> and so for openssl, curse, iconv, tk.....

You might want to look at the RubyForge details for the Windows
One-Click Installer. Since it's an open-source project, I'm guessing all
the scripts, Vulcan nerve pinches, etc., necessary to build the
One-Click Installer are there in the SCM repository. There may actually
be a forum there too. Then again, Curt might just update the One-Click
and Instant Rails with the latest Ruby source soon too. :)