Can't install Mogrel under Window

I want to serve my pages using Mongrel and Apache. When trying to
install fastthread-1.0.1 I get the following error message:

Building native extensions. This could take a while…
ERROR: While executing gem … (RuntimeError)
Error instaling fastthread:
ERROR: Failed to build gem native extension.

ruby extconf.rb install fastthread
–source=http://mongrel.rubyforge.org/releases
creating Makefile

nmake
‘nmake’ is not recognized as an internal or external command,
operable program or batch file.

Is there a workaround?

try updating gems, then installing mongrel
gem update --system

Howard Buckler wrote:

I want to serve my pages using Mongrel and Apache. When trying to
install fastthread-1.0.1 I get the following error message:

Building native extensions. This could take a while…
ERROR: While executing gem … (RuntimeError)
Error instaling fastthread:
ERROR: Failed to build gem native extension.

ruby extconf.rb install fastthread
–source=http://mongrel.rubyforge.org/releases
creating Makefile

nmake
‘nmake’ is not recognized as an internal or external command,
operable program or batch file.

Is there a workaround?

you don’t have nmake in your path. nor do you have cl.exe
download and install the .net framework sdk
http://www.microsoft.com/downloads/details.aspx?familyid=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en

don’t install the documentation nor the samples, they are too big anyway

then add this to your path “C:\Program Files\Microsoft Visual Studio
9.0\VC\bin”

with any luck it still won’t work. just like for me :frowning: it will give
other cryptic errors

i think you need mingw and msys to compile not VS
can anyone confirm this

Ziyad S. wrote:

i think you need mingw and msys to compile not VS
can anyone confirm this

Interesting.
For me when I install mongrel it doesn’t even have fastthread as a
dependency.

I can confirm that fastthread builds fine with mingw and msys (ex: this
ruby
Programming gone awry: ruby 1.9 one click installer)
-=r