mark-moseley / linecache

GNU General Public License v2.0
29 stars 20 forks source link

Linecache19 compilation error on Windows (RubyInstaller setup) #6

Open nebiros opened 14 years ago

nebiros commented 14 years ago

Doesn't work on Windows 7, I already install the latest RubyInstaller and the devkit.

C:\Windows\system32>gem install linecache19 Building native extensions. This could take a while... ERROR: Error installing linecache19: ERROR: Failed to build gem native extension.

C:/Ruby19/bin/ruby.exe extconf.rb checking for vm_core.h... no checking for vm_core.h... yes checking for version.h... yes checking for RUBY_VERSION_MAJOR in version.h... yes creating Makefile

make gcc -I. -IC:/Ruby19/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby19/include/ruby-1.9 .1/ruby/backward -I/C/Ruby19/include/ruby-1.9.1 -I. -DHAVE_VM_CORE_H -DHAVE_VERS ION_H -IC:/Ruby19/include/ruby-1.9.1/ruby-1.9.1-p378 -O2 -g -Wall -Wno-parenthes es -o trace_nums.o -c trace_nums.c

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. make: *\ [trace_nums.o] Error 255

Gem files will remain installed in C:/Ruby19/lib/ruby/gems/1.9.1/gems/linecache1 9-0.5.11 for inspection. Results logged to C:/Ruby19/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/trac e_nums/gem_make.out

turadg commented 12 years ago

Same here. Actually it never returns from "Building native extensions". This is with RubyInstaller 2.0.

GerardHedger commented 12 years ago

I have exactly the same problem and I haven't been able to resolve it.

nebiros commented 12 years ago

I try with the latest ruby installer and devkit versions and everything seems to work, still, odd things can happen when you are on windows: https://groups.google.com/d/topic/rubyinstaller/Sp13omuMVao/discussion.