From: daz Date: 2003-06-08T14:33:41+09:00 Subject: Re: Building ruby under Windows "Yura" wrote in message news:EKELLLIDKIEKJAHAENGAGEDIFPAA.yura@opmr.com... > Hi everybody, > > I am trying to build ruby from CVS using VC++. > I did: > > cvs -d :pserver:anonymous@cvs.ruby-lang.org:/src login > cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src co ruby > cd ruby > win32\configure i686-mswin32 > nmake > > and I am getting an error: > > cl -nologo -MD -Zi -O2b2xg- -G6 -DRUBY_EXPORT -I. -I./.. -I. > -I./.. -I./../missing -c -Tc./../process.c > process.c > ./../process.c(48) : fatal error C1083: Cannot open include file: > 'grp.h': No such file or directory > > Is this Unix related include file? What am I doing wrong? > > Thanks, > > Yura. > > You could try searching your disk for files containing HAVE_GETGRENT; (in either -D option or #define). One is ext\etc.c #ifdef HAVE_GETGRENT #include #endif but I don't see Ruby config defining this anywhere. Try adding option -UHAVE_GETGRENT in the MAKEFILE, then retry nmake. If you know of a better way of adding '#undef HAVE_GETGRENT'. your way will be better ;-) I'm fairly confident this won't get you much further. daz