From: nobu@... Date: 2006-07-30T10:00:50+09:00 Subject: Re: build error on cygwin Hi, At Sun, 30 Jul 2006 06:50:05 +0900, Sch�le Daniel wrote in [ruby-talk:204932]: > >>> make[1]: Leaving directory > >>> `/pool/software/ruby/ruby-1.8.4/ext/enumerator' > >>> compiling etc > >>> /pool/software/ruby/ruby-1.8.4/lib/mkmf.rb:174:in `initialize': > >>> Permission denie > >>> d - mkmftmp1.log (Errno::EACCES) > > > > Oops ... didn't see that. It looks like you don't have enough privileges > > to "install" software. You probably need to be what Windows calls a > > "Power User" or an "Administrator" to run this. Check with your IT folks > > if you aren't the Administrator of your system. Meanwhile, you can use > > the binary Ruby that comes with CygWin. > > actually I am logged in as administrator on XP > but you are right if I recall properly "whoami" under > cygwin said I am not the "root" It occurs at compile time, not installation. The privileges are not needed for compilation even on Unixes. Check if ext/etc directory is read-only and/or there is a read-only file named mkmftmp1.log under it. > I will try to "su root" next time I boot into XP su doesn't work on cygwin, as you can see immediately if you run it. It tells to use runas instead. -- Nobu Nakada