Giter Site home page Giter Site logo

fails to install on win10 about debase HOT 7 CLOSED

ruby-debug avatar ruby-debug commented on September 14, 2024
fails to install on win10

from debase.

Comments (7)

lumean avatar lumean commented on September 14, 2024

I also tried installing the gem debase-ruby_core_source first, but this did not help either.

from debase.

denofevil avatar denofevil commented on September 14, 2024

@lumean please provide output of ruby -v

from debase.

lumean avatar lumean commented on September 14, 2024
D:\>ruby -v
ruby 2.2.5p319 (2016-04-26 revision 54774) [i386-mingw32]

from debase.

lumean avatar lumean commented on September 14, 2024

is there anything I can try on my side to further debug the issue? I have managed to manually create the make file and compile it on my machine, so in general the devkit installation should be fine. Note the error I get when I try to manually create the makefile without -rdevkit is quite similar to the one I get above during gem install

D:\Anwendungen\ruby\ruby225-p319\lib\ruby\gems\2.2.0\gems\debase-0.2.1\ext>ruby extconf.rb
checking for vm_core.h... D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:587:in `try_cpp'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:1060:in `block in have_header'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:911:in `block in checking_for'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:351:in `block (2 levels) in postpone'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:321:in `open'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:351:in `block in postpone'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:321:in `open'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:347:in `postpone'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:910:in `checking_for'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/2.2.0/mkmf.rb:1059:in `have_header'
        from extconf.rb:31:in `block in <main>'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/gems/2.2.0/gems/debase-ruby_core_source-0.9.6/lib/debase/ruby_core_source.rb:15:in `call'
        from D:/Anwendungen/ruby/ruby225-p319/lib/ruby/gems/2.2.0/gems/debase-ruby_core_source-0.9.6/lib/debase/ruby_core_source.rb:15:in `create_makefile_with_core'
        from extconf.rb:47:in `<main>'

D:\Anwendungen\ruby\ruby225-p319\lib\ruby\gems\2.2.0\gems\debase-0.2.1\ext>ruby -rdevkit extconf.rb
Temporarily enhancing PATH to include DevKit...
checking for vm_core.h... no
checking for vm_core.h... no
checking for vm_core.h... yes
creating Makefile
D:\Anwendungen\ruby\ruby225-p319\lib\ruby\gems\2.2.0\gems\debase-0.2.1\ext>"..\..\..\..\..\..\..\..\devkit-2.0.0+\devkitvars.bat"
Adding the DevKit to PATH...

D:\Anwendungen\ruby\ruby225-p319\lib\ruby\gems\2.2.0\gems\debase-0.2.1\ext>make
linking shared-object debase_internals.so

Maybe there is an issue with the environment variables. It seems like there's a chained invocation of ruby and the second time devkit is not anymore added to the path.

I'm using uru to manage different ruby versions and ruby is not by default installed to my PATH. But on the other hand many other native gem extensions (like json, nokogiri, etc) install just fine with the same setup.

from debase.

lumean avatar lumean commented on September 14, 2024

We can close this issue. After adding ruby and devkit to the path the gem install works fine. Going to open a ticket for uru to address the environment variable issue.

from debase.

damian-m-g avatar damian-m-g commented on September 14, 2024

That's not true for me lumean, even doing what you said, debase can't get installed.

from debase.

cfis avatar cfis commented on September 14, 2024

Yes, works fine here too with both msys2 and msvc++.

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.