Giter Site home page Giter Site logo

Comments (12)

Eric-Guo avatar Eric-Guo commented on August 10, 2024 2

@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.

denofevil avatar denofevil commented on August 10, 2024 1

@atefth alternatively you can specify --with-ruby-include= command line argument and provide 2.4.0 sources location

from debase.

virtualstaticvoid avatar virtualstaticvoid commented on August 10, 2024

+1

from debase.

JohnBat26 avatar JohnBat26 commented on August 10, 2024

Now, this situation reproduce with ruby-2.0.0-p353.
But with 2.0.0-p247 all works properly.

from debase.

Eric-Guo avatar Eric-Guo commented on August 10, 2024

+1 in ruby 2.0.0p353 (2013-11-22) [i386-mingw32]

from debase.

Eric-Guo avatar Eric-Guo commented on August 10, 2024

@JohnBat26 @virtualstaticvoid

I successfully resolve this issue my self...

  1. git clone https://github.com/cldwalker/debugger-ruby_core_source
  2. copy lib folder to C:\Ruby200\lib\ruby\gems\2.0.0\gems\debugger-ruby_core_source-1.3.0
  3. 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.

gamov avatar gamov commented on August 10, 2024

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.

gamov avatar gamov commented on August 10, 2024

I solved my issue by removing old debug gems (ruby-debug-ide)

from debase.

os97673 avatar os97673 commented on August 10, 2024

I believe the problem has been resolved already. Feel free to reopen if it is not.

from debase.

atefth avatar atefth commented on August 10, 2024

I have no debug gems install (ruby-debug-ide)

screen shot 2016-03-22 at 2 58 51 pm
screen shot 2016-03-22 at 2 59 05 pm

Here is my mkmf.log:

mkmf.txt

What could be causing this build issue?

from debase.

atefth avatar atefth commented on August 10, 2024

Thanks a bunch @Eric-Guo! 👍

from debase.

atefth avatar atefth commented on August 10, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.