When attempting to install ruby-debug19 on a Windows 7 partition, I have
gotten the following error sequence:
ERROR: Error installing ruby-debug19:
ERROR: Failed to build gem native extension.
checking for rb_method_entry_t.called_id in method.h… no
checking for rb_control_frame_t.method_id in method.h… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I have tried re-installing Ruby (version 1.9.3 p0) and DevKit, but this
did not seem to change the result, nor did removing c:\MinGW\bin from
the PATH variable. The error remains the same when using the latest
version of the debug-base gem (ruby-debug-base19-0.11.26.gem) gets the
Adding the option ‘–with-ruby-include=C:\Ruby193\include’ simply
results in the error message:
ERROR: While executing gem … (OptionParser::InvalidOption
invalid option: --with-ruby-include=C:\Ruby193\include
I have been able to install other native gems such as rdiscount, which
implies that the DevKit installation is at least partially correct. I am
wondering if anyone can give any recommendations.