mkmf.rb can't find header files for ruby at ~/.rbenv/versions/3.3.0-dev/lib/ruby/include/ruby.h #2123
-
Here is where the error message comes from in https://github.com/ruby/ruby/blob/master/lib/mkmf.rb#L233
It looks like the Ruby
Here is the args that were used to configure Ruby during build:
The Ruby build configure flags for this dir are as follows: https://gist.github.com/steakknife/bb5a30a4d9e5aa88604cfbf568ab3e49 https://github.com/ruby/ruby/blob/master/configure.ac#L4293
So it appears that the From http://www.math.utah.edu/docs/info/configure_3.html:
I can't figure out why
Even checked the Makefile vars to get expansion of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
By my calculations, this should fix it:
But I don't know why it is needed? |
Beta Was this translation helpful? Give feedback.
-
@vjpr Thanks for your report. It's strange behavior. My environment is here:
and I got same report from @gfx recently. I hope to investigate root cause of this. |
Beta Was this translation helpful? Give feedback.
By my calculations, this should fix it:
But I don't know why it is needed?