Trying to install with rbenv (ruby-build) and received this error:
./vm_callinfo.h:179:9: error: use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING'
I found the advice from trinitronx in this RVM thread super helpful:
https://github.com/rvm/rvm/issues/5483#issuecomment-2230020845
I followed these steps:
- Enter the build directory created by rbenv
- Edit configure.ac and patch the code as described in the GitHub comment.
- Run
./autogen.shfrom that folder - Run
make - Run
make install