still can't install mswin32 mongrel_service or fastthread

30 views
Skip to first unread message

Jack Johnson

unread,
Dec 29, 2007, 11:22:22 PM12/29/07
to
I still can't get mongrel_service or fastthread to install on my WinXP SP2
ruby 1.8.6 system, although mongrel and several others have installed &
updated OK. (Checking my notes, I'm also having the same problem updating
win32-api & win32-service.) Any tips or insights appreciated.

===============================================
C:\Documents and Settings\Administrator>gem -v
1.0.1

C:\Documents and Settings\Administrator>gem list mon

*** LOCAL GEMS ***

mongrel (1.1.3, 1.1.2)

C:\Documents and Settings\Administrator>gem install mongrel_service
Building native extensions. This could take a while...
ERROR: Error installing mongrel_service:
ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb install mongrel_service
checking for strncpy_s()... no
creating Makefile

nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

cl -nologo -I. -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2
xg- -G6 -c -Tcwin32/api.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.


Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/win32-api-1.0.
5 for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/win32-api-1.0.5/ext/gem_make.ou
t

C:\Documents and Settings\Administrator>gem install fastthread
Building native extensions. This could take a while...
ERROR: Error installing fastthread:
ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb install fastthread
creating Makefile

nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.
8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -c -Tcfastthread.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.


Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/fastthread-1.0
.1-x86-mswin32 for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/fastthread-1.0.1-x86-mswin32/ex
t/fastthread/gem_make.out

===============================================

--
Jack Johnson
Cyberworlds Inc.
http://www.cyberworlds.com/
608-362-0318 x114


---- Posted via Pronews.com - Premium Corporate Usenet News Provider ----
http://www.pronews.com offers corporate packages that have access to 100,000+ newsgroups

Luis Lavena

unread,
Dec 29, 2007, 11:59:04 PM12/29/07
to
On 30 dic, 02:22, "Jack Johnson" <jjohn...@cyberworlds.com> wrote:
> I still can't get mongrel_service or fastthread to install on my WinXP SP2
> ruby 1.8.6 system, although mongrel and several others have installed &
> updated OK. (Checking my notes, I'm also having the same problem updating
> win32-api & win32-service.) Any tips or insights appreciated.
>

This has been reported many times, but again will put information of
this:

mongrel_service (0.3.3) depends on win32-service, which was 0.5.2 at
the time the gem was created, but now is 0.6.0

The 0.6.0 gem is broken, and that should be reported to win32utils
guys or their tracker:

http://rubyforge.org/projects/win32utils

Technical details: gem was rubygems 0.9.5, which was broken under
windows. They need to fix this.

I'm working on complete removal of win32-service dependency from
mongrel_service, but I'm overloaded with work and cannot commit to the
task right now.

I suggest you install win32-service 0.5.2:

gem uninstall win32-service
gem install win32-service -v '0.5.2'

then try installing mongrel_service gem again.

If that didn't work, you must revert to RubyGems 0.9.4 and install
everything there before, as described here:

http://blog.mmediasys.com/2007/12/19/latest-rubygems-and-rails-is-a-deadly-combo


> C:\Documents and Settings\Administrator>gem install fastthread
> Building native extensions. This could take a while...
> ERROR: Error installing fastthread:
> ERROR: Failed to build gem native extension.

I've updated the fastthread gem on rubyforge a few weeks back and it
seems the changes didn't replicate to the rubyforge mirrors.

please, manually download the gem from rubyforge:

http://rubyforge.org/frs/?group_id=1306&release_id=15826

and install it locally:

gem install fastthread-1.0.1-i386-mswin32.gem

That should work.

HTH,

Luis Lavena

Dejan Dimic

unread,
Dec 30, 2007, 10:49:03 AM12/30/07
to
On Dec 30, 5:59 am, Luis Lavena <luislav...@gmail.com> wrote:
> On 30 dic, 02:22, "Jack Johnson" <jjohn...@cyberworlds.com> wrote:
>
> > I still can't get mongrel_service or fastthread to install on my WinXP SP2
> > ruby 1.8.6 system, although mongrel and several others have installed &
> > updated OK. (Checking my notes, I'm also having the same problem updating
> > win32-api & win32-service.) Any tips or insights appreciated.
>
> This has been reported many times, but again will put information of
> this:
>
> mongrel_service (0.3.3) depends on win32-service, which was 0.5.2 at
> the time the gem was created, but now is 0.6.0
>
> The 0.6.0 gem is broken, and that should be reported to win32utils
> guys or their tracker:
>
> http://rubyforge.org/projects/win32utils
>
> Technical details: gem was rubygems 0.9.5, which was broken under
> windows. They need to fix this.
>
> I'm working on complete removal of win32-service dependency from
> mongrel_service, but I'm overloaded with work and cannot commit to the
> task right now.
>
> I suggest you install win32-service 0.5.2:
>
> gem uninstall win32-service
> gem install win32-service -v '0.5.2'
>
> then try installing mongrel_service gem again.
>
> If that didn't work, you must revert to RubyGems 0.9.4 and install
> everything there before, as described here:
>
> http://blog.mmediasys.com/2007/12/19/latest-rubygems-and-rails-is-a-d...

>
> > C:\Documents and Settings\Administrator>gem install fastthread
> > Building native extensions. This could take a while...
> > ERROR: Error installing fastthread:
> > ERROR: Failed to build gem native extension.
>
> I've updated the fastthread gem on rubyforge a few weeks back and it
> seems the changes didn't replicate to the rubyforge mirrors.
>
> please, manually download the gem from rubyforge:
>
> http://rubyforge.org/frs/?group_id=1306&release_id=15826
>
> and install it locally:
>
> gem install fastthread-1.0.1-i386-mswin32.gem
>
> That should work.
>
> HTH,
>
> Luis Lavena

By my experience there is two ways:
First you can revert to gem 0.94 and then install mongrel_service
witch is not what I like to do
Second require that you have C++ compiler and linker in you path in
order to build the native extensions.
I have tried with different ones, but the MS Visual C++ 6.0 has done
the trick.

Daniel Berger

unread,
Jan 2, 2008, 7:49:03 AM1/2/08
to

On Dec 29 2007, 10:00 pm, Luis Lavena <luislav...@gmail.com> wrote:
> On 30 dic, 02:22, "Jack Johnson" <jjohn...@cyberworlds.com> wrote:
>
> > I still can't get mongrel_service or fastthread to install on my WinXP SP2
> > ruby 1.8.6 system, although mongrel and several others have installed &
> > updated OK. (Checking my notes, I'm also having the same problem updating

> > win32-api &win32-service.) Any tips or insights appreciated.


>
> This has been reported many times, but again will put information of
> this:
>

> mongrel_service (0.3.3) depends onwin32-service, which was 0.5.2 at


> the time the gem was created, but now is 0.6.0
>
> The 0.6.0 gem is broken, and that should be reported to win32utils
> guys or their tracker:
>
> http://rubyforge.org/projects/win32utils

<snip>

With the release of 0.6.1 it should be fixed now. I'd also like to
note that it was only the gem itself that was broken, not the
underlying code.

Regards,

Dan

Jack Johnson

unread,
Jan 2, 2008, 4:32:47 PM1/2/08
to


Thanks, guys - I was able to install 0.6.1 & then mongrel_service after
that. Installing fastthread locally worked, too, so I'm set for now!

Reply all
Reply to author
Forward
0 new messages