-
-
Notifications
You must be signed in to change notification settings - Fork 257
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
"use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING'" when trying to install ruby 3.2.6 & 3.3.7, but 3.4.1 works without issue. #504
Comments
I had a similar issue on a fresh install. I did some brew installs and it seemed to fix it. I first confirmed it was not a I'm not totally sure which brew packages were needed for the fix, but the last one that got it working was What does |
Having the same issue on a MacBook Air M1 running macOS Sequoia 15.3.1 when trying to install 3.1.2. No issues with 3.4.1 as well.
My brew list:
I'm able to install 3.1.2 on a Raspberry Pi 3 Model B Plus Rev 1.3 (aarch64) running Debian GNU/Linux 12.9 (bookworm). |
I was able to compile/install manually without error as documented in https://github.com/postmodern/chruby/wiki/Ruby:
|
@joetor5 The fact that 3.4.1 works, implies this issue was eventually fixed upstream. |
Hi all,
Trying to figure out what's going on with my ruby install on a fresh M3 MacBook Air.
Whenever I try to install 3.2.2 (Currently used in my project), 3.2.6, 3.3.7, or 3.4.1 I get the same error when installing,,,
In file included from debug.c:27: ./vm_callinfo.h:216:16: error: use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING' 216 | if (debug) rp(ci);
I've tried removing and reinstalling CommandLineTools, a number of PATH updates, brew installing dependencies but nothing seems to work. Its the first time I'm installing Ruby-install on a M-series chip, but generally on my previous intel machines (unsure if its related to arch but worth noting)
Ruby-install
just works.I was planning to try and install openssl1.1 but look like this has been disabled
brew install [email protected] ==> Downloading https://formulae.brew.sh/api/formula.jws.json ==> Downloading https://formulae.brew.sh/api/cask.jws.json Error: [email protected] has been disabled because it is not supported upstream! It was disabled on 2024-10-24.
so I can't verify if that fixes it, currently have OpenSSL 3.4.0.
What's also strange is that when I tried installing 3.4.1, it worked. My plan currently is to just upgrade my project to this new version but I'm trying to understand what's happening and how to fix it for any future occurrences.
Please let me know what else I can provide to help understand/troubleshoot this issue.
The text was updated successfully, but these errors were encountered: