Luis Lavena
11/30/2007 10:55:00 PM
On Nov 30, 10:54 am, "Jack Johnson" <jjohn...@cyberworlds.com> wrote:
> Luis Lavena wrote:
> >> You're trying to build a native extension on a platform without a
> >> compiler. Select the mswin32 option for fastthread.
>
> > The same goes for Mongrel, just install the mswin32 version which
> > ships with the precompiled extensions.
>
> I've been running into the same problem with the latest updates. Even when I
> select the mswin32 version of fastthread it tries to compile, and fails. So,
> the first issue I'm encountering is that gem updates are trying to compile
> native versions when it should be installing precompiled extensions.
>
There is a pre-compiled version of fastthread on the site. Also, the
mswin32 gems did not depend on fastthread (it doesn't include it as
dependency).
Let me ask you: did you upgraded your RubyGem installation, right? the
official 0.9.5 version currently don't handle the mswin32 platform
correctly. Fixes are in svn, but still no official word.
you should revert to 0.9.4 and try installing mongrel again.
> The second issue is the compile failures. I do have VC8 installed, which
> some research has suggested might be the problem here - I've seen comments
> to the effect that only VC6 or VC7 will work for gems. Can anybody confirm
> or deny this before I switch out my Visual Studio installation?
VC7 (VC2003 or 7.1, whatever you like to call it) it "almost"
compatible with the build or Ruby, which was done with VC6.
If you're lucky enough to get a license of VC6 (ebay maybe?), you can
set it and start compiling mongrel and their dependencies :-)
VC8 is a no no, since it requires tweaks to rbconfig.rb to include the
manifest definitions and also face a cross-linking of runtime
information (MSVCRT.dll vs. MSVCR80.DLL) -- That could be a real
nightmare.