Comments (12)
@atefth because you are using 2.4.0-dev
, which probably the ruby master version, so won't include in ruby_core_source.
So do not using ruby 2.4.0, using 2.3.0 instead.
from debase.
@atefth alternatively you can specify --with-ruby-include= command line argument and provide 2.4.0 sources location
from debase.
+1
from debase.
Now, this situation reproduce with ruby-2.0.0-p353.
But with 2.0.0-p247 all works properly.
from debase.
+1 in ruby 2.0.0p353 (2013-11-22) [i386-mingw32]
from debase.
I successfully resolve this issue my self...
git clone https://github.com/cldwalker/debugger-ruby_core_source
- copy
lib
folder toC:\Ruby200\lib\ruby\gems\2.0.0\gems\debugger-ruby_core_source-1.3.0
- delete source header that you needn't in
gems\debugger-ruby_core_source-1.3.0\lib\debugger\ruby_core_source
(optional)
Then following normal process to install debase version 0.0.9 or debugger version 1.6.4 on ruby-2.0.0-p353
from debase.
Same error with 2.1.0-p0 making Rubymine 6.0.3 unable to debug Ruby 2.1 project!
mkmf.log:
have_header: checking for vm_core.h... -------------------- no
"/usr/bin/clang -o conftest -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-darwin12.0 -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/ruby/backward -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I. -I/Users/gamov/.rvm/src/ruby-2.1.0 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -I/Users/mpapis/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.6 -pipe conftest.c -L. -L/Users/gamov/.rvm/rubies/ruby-2.1.0/lib -L. -L/Users/mpapis/.sm/pkg/active/lib -L/usr/lib -fPIC -Bstatic -fstack-protector -arch x86_64 -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc "
ld: warning: directory not found for option '-L/Users/mpapis/.sm/pkg/active/lib'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
"/usr/bin/clang -E -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-darwin12.0 -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/ruby/backward -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I. -I/Users/gamov/.rvm/src/ruby-2.1.0 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -I/Users/mpapis/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.6 -pipe conftest.c -o conftest.i"
conftest.c:3:10: fatal error: 'vm_core.h' file not found
#include <vm_core.h>
^
1 error generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <vm_core.h>
/* end */
--------------------
have_header: checking for vm_core.h... -------------------- no
"/usr/bin/clang -E -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-darwin12.0 -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/ruby/backward -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I. -I/Users/gamov/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/ruby-2.1.0-p0 -O3 -I/Users/mpapis/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.6 -pipe conftest.c -o conftest.i"
conftest.c:3:10: fatal error: 'vm_core.h' file not found
#include <vm_core.h>
^
1 error generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <vm_core.h>
/* end */
--------------------
from debase.
I solved my issue by removing old debug gems (ruby-debug-ide)
from debase.
I believe the problem has been resolved already. Feel free to reopen if it is not.
from debase.
I have no debug gems install (ruby-debug-ide)
Here is my mkmf.log:
What could be causing this build issue?
from debase.
Thanks a bunch @Eric-Guo! 👍
from debase.
@denofevil I tried doing that but the thing is I use rbenv for managing my ruby versions and I tried using the ruby include parameter while installing the gem; It was throwing an invalid parameter parse error or something... I guess I am not really sure where rbenv places the ruby source.. oiamanoob!
from debase.
Related Issues (20)
- migrate tests to GHA HOT 1
- Debase gem not installing on MacOS Ventura and M1 HOT 2
- Debase failing to install on vscode Jekyll container HOT 1
- Failed to install in ruby docker image (vm_insnhelper.h missing) HOT 2
- Symbol not found: _rb_cObject on M1 Mac HOT 1
- Failed to install debase on Windows 10: is the new version for ruby-3.2.2 not releasing yet? HOT 3
- Deprecation warning: warning: $SAFE will become a normal global variable in Ruby 3.0 HOT 8
- Hash variables as string? HOT 2
- Ruby 2.7.1 compatibility HOT 4
- Won't install with ruby 2.6.6 on macOS Big Sur HOT 12
- ERROR: Failed to build gem native extension - Mac(Catalina)+RVM(ruby 2.5.8) HOT 5
- 0.2.4.1 and 0.2.5.beta Fail to build on macOS Catalina 10.15.7 HOT 15
- Ruby 3.0.0 compatibilty HOT 10
- Missing tags for 0.2.4 and 0.2.4.1 release HOT 1
- Ruby 3.0.2 compatibilty HOT 11
- Ruby 3.1 compatibility issue HOT 5
- Debugger stops only on 1st breakpoint inside a Fiber block and ignores all subsequent ones
- debase failing to install on Mac HOT 1
- Failed to install Debase HOT 7
- Debbuger steps into internal kernel in ruby 3.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debase.