oggy / looksee

Supercharged method introspection in IRB
MIT License
364 stars 14 forks source link

Doesn't install on Win32 #4

Closed artemv closed 14 years ago

artemv commented 15 years ago

First it couldn't find cl.exe, and when I installed it with VC++ Express Edition, I got this:

D:\my_dir>gem install looksee
Building native extensions.  This could take a while...
ERROR:  Error installing looksee:
        ERROR: Failed to build gem native extension.

c:/app/ruby/bin/ruby.exe extconf.rb
creating Makefile

nmake

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

        cl -nologo -I. -Ic:/app/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/app/ruby/lib
/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -DRUBY_VERSION=186 -c -Tclooksee
.c
cl : Command line warning D9035 : option 'Og-' has been deprecated and will be r
emoved in a future release
cl : Command line warning D9002 : ignoring unknown option '-G6'
looksee.c
c:\app\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"' : return code '0x2'
Stop.
artemv commented 15 years ago

that 'MSC version unmatch', looks like I need VC6 to compile the gem (and VC6 has no free version, bummer)

oggy commented 14 years ago

Closing stale issues...

Sounds like you resolved this. I confess I never got around to trying to build it on Windows, but I imagine that if you have the same compiler available that your ruby was compiled with, it would work just fine.

If this is not the case, please open a new ticket and I'll look into it (in a far more timely manner, I promise).