[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Bug when installing Mongrel on Windows

Yon Yonben

6/13/2008 9:44:00 AM

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 ;)
--
Posted via http://www.ruby-....

1 Answer

Luis Lavena

6/13/2008 1:43:00 PM

0

On Jun 13, 11:44 am, Yon Yonben <justcrys...@free.fr> wrote:
> 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,
--
Luis Lavena