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

Unable to install gem dbase Win10 Ruby 3.2.2 #358

Closed
bradkrane opened this issue Sep 29, 2023 · 1 comment
Closed

Unable to install gem dbase Win10 Ruby 3.2.2 #358

bradkrane opened this issue Sep 29, 2023 · 1 comment

Comments

@bradkrane
Copy link

What problems are you experiencing?

Cannot gem install debase missing header vm_insnhelper.h with devkit installed.

Related ruby-debug/debase#107

Steps to reproduce

  1. Install rubyinstaller-devkit-3.2.2-1-x64.exe with devkit, mingw: 1,3
  2. gem install debase

Snippet of error from mkmf.log

have_header: checking for vm_insnhelper.h... -------------------- no

PATH=".;C:/Ruby32-x64/lib;C:\Ruby32-x64\bin;C:\Ruby32-x64\msys64\ucrt64\bin;C:\Ruby32-x64\msys64\usr\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\IBM\Notes;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\PuTTY\;C:\Ruby32-x64\bin;D:\Users\Brad\AppData\Local\Programs\Python\Python311\Scripts\;D:\Users\Brad\AppData\Local\Programs\Python\Python311\;D:\Users\Brad\AppData\Local\Microsoft\WindowsApps;;D:\Users\Brad\AppData\Local\Programs\Microsoft VS Code\bin;D:\Users\Brad\AppData\Roaming\npm" "gcc -IC:/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -IC:/Ruby32-x64/include/ruby-3.2.0/ruby/backward -IC:/Ruby32-x64/include/ruby-3.2.0 -I. -IC:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0 -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
In file included from conftest.c:5:
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:17:13: error: unknown type name 'rb_serial_t'
   17 | RUBY_EXTERN rb_serial_t ruby_vm_constant_cache_invalidations;
      | 

What's the output from ridk version?

PS D:\Users\Brad\Documents\src\debase-issue> ridk version

ruby:
path: C:/Ruby32-x64
version: 3.2.2
platform: x64-mingw-ucrt
ruby_installer:
package_version: 3.2.2-1
git_commit: 83df213
msys2:
path: C:\Ruby32-x64\msys64
cc: gcc (Rev10, Built by MSYS2 project) 12.2.0
sh: GNU bash, version 5.2.15(1)-release (x86_64-pc-msys)
os: Microsoft Windows [Version 10.0.19044.3086]

@larskanis
Copy link
Member

The latest debase version is from 2019 but there have been a bunch of new commits since them. Could you try it from git?
In any case this is not a RubyInstaller issue but belongs to debase where you posted it already: ruby-debug/debase#107

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

2 participants