Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linecache19 compilation error on Windows (RubyInstaller setup) #6

Open
nebiros opened this issue Feb 21, 2010 · 3 comments
Open

Linecache19 compilation error on Windows (RubyInstaller setup) #6

nebiros opened this issue Feb 21, 2010 · 3 comments

Comments

@nebiros
Copy link

nebiros commented Feb 21, 2010

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
Copy link

turadg commented Sep 21, 2011

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

@GerardHedger
Copy link

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

@nebiros
Copy link
Author

nebiros commented Feb 11, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants