dingo wrote:
> Hi, All,
> 
> My first post here:) I am trying something I have been doing with Lua
> for years - dragging Ruby source files into an empty VS project and
> trying to build it. That's all on Win32 XP with MSVS. It doesn't
> compile! Missing config.h, which I can't find anywhere in ruby source
> except for VMS, not for Win32, some constants defined in parse.c are
> used in lex.c and so they don't compile either. Any ideas as I can
> succeed at what I am doing? I hope I am not trying to do something
> people have never expected anyone to do:)

config.h is, confusingly enough, a header file with configuration. 
Machine and user-specific configuration. Usually a configuration script, 
confusingly called "configure", generates this header file, and a 
makefile you can use to build the program. This essential is usually 
described in a file someone confusingly named INSTALL or README, 
sneakily hidden in the main directory of the source archive.

Welcome to the POSIX build process. Lua is an exception rather than a 
rule in that you can build it that way due to being a very simple 
language and environment. Whoever makes the one-click installer might eb 
able to describe how to build Ruby using MSVS in more detail, I'd just 
get MinGW and use a POSIX environment where the ./configure && make all 
install incantation works.

David Vallner