Bug when installing Mongrel on Windows

Y

Yon Yonben

Hi guys,
I want to install Mongrel, for install Redmine after, but when the
Mongrel installation, I have this message:

D:\ruby\Mongrel\Mongrel>gem install mongrel-1.1.5.gem
Building native extensions. This could take a while...
ERROR: While executing gem ... (RuntimeError)
Error instaling mongrel-1.1.5.gem:
ERROR: Failed to build gem native extension.

ruby extconf.rb install mongrel-1.1.5.gem
checking for main() in c.lib... no
creating Makefile

nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cl -nologo -I. -I. -Id:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD
-Zi -O2b2
xg- -G6 -c -Tchttp11.c
Le système ne peut exécuter le programme spécifié.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x1'
Stop.


Gem files will remain installed in
d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5
for inspection.
Results logged to
d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/ext/http11/gem_ma
ke.out



I don't now what I can do.
Thanks for your help and bye ;)
 
L

Luis Lavena

Hi guys,
I want to install Mongrel, for install Redmine after, but when the
Mongrel installation, I have this message:

D:\ruby\Mongrel\Mongrel>gem install mongrel-1.1.5.gem
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (RuntimeError)
    Error instaling mongrel-1.1.5.gem:
        ERROR: Failed to build gem native extension.

ruby extconf.rb install mongrel-1.1.5.gem
checking for main() in c.lib... no
creating Makefile

nmake

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

        cl -nologo -I. -I. -Id:/ruby/lib/ruby/1.8/i386-mswin32 -I.-MD
-Zi -O2b2
xg- -G6  -c -Tchttp11.c
Le système ne peut exécuter le programme spécifié.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x1'
Stop.

Looks like nmake cannot execute cl.exe ?

I need to update my copies of mongrel repository to do some work on
the Windows gems, I thought Evan will be doing it, but seems he
didn't.
I don't now what I can do.
Thanks for your help and bye ;)

Do you downloaded the gem 1.1.5? have you tried the following?

gem install mongrel -v '= 1.1.4'

That will install 1.1.4 which already have mswin32 version until I
manage to build latest version.

Please apologize the inconvenience.

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top