I'm not sure what it would take to make that build on windows, since I'm not the author of fastthread. However, if your Ruby version is new enough (a fairly recent patch release of 1.8.6), you can go into capistrano/gateway.rb and remove the begin/rescue/end block from the very top (where it checks for fastthread).

- Jamis

On Apr 29, 2008, at 10:33 AM, Alain Lauzon wrote:


Hi, I am installing Capistrano for the first time and it says to
install fastthread.  But when I do the "gem install fastthread" I get
those errors :

Building native extensions.  This could take a while...
ERROR:  Error installing fastthread:
       ERROR: Failed to build gem native extension.

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

nmake

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

       cl -nologo -I. -Id:/ruby/lib/ruby/1.8/i386-mswin32 -Id:/ruby/
lib/ruby/1.
8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6  -c -Tcfastthread.c
cl : Ligne de commande warning D9035 : l'option 'Og-' est désapprouvée
et sera s
upprimée dans une version ultérieure
cl : Ligne de commande warning D9002 : option '-G6' inconnue ignorée
fastthread.c
d:\ruby\lib\ruby\1.8\i386-mswin32\config.h(2) : fatal error C1189:
#error :  MSC
version unmatch
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\cl.EXE"'á: code retour '0x2'
Stop.


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

What can I do to fix this?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to