rbenv install 3.1.4 fails on Mac M4 15.0.1 (Sequoia) #2453
Replies: 1 comment
-
This is an often-reported error, but I have yet to determine how to reliably reproduce it or solve it. From what you've shared, I'm seeing that you have an M1 or M2 Apple machine, but that your Homebrew installation is in What you could try:
Before reinstalling readline, however, you could check If the error is really persistent, then it would be helpful for you to share the copy of your |
Beta Was this translation helpful? Give feedback.
-
Installation process log:
Full log - ruby-build.20241016105503.76864.log
Interesting place in log with error:
readline.c:1903:37: error: use of undeclared identifier 'username_completion_function'; did you mean 'rl_username_completion_function'? 1903 | rl_username_completion_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | rl_username_completion_function readline.c:79:42: note: expanded from macro 'rl_username_completion_function' 79 | # define rl_username_completion_function username_completion_function | ^ /usr/local/opt/readline/include/readline/readline.h:494:14: note: 'rl_username_completion_function' declared here 494 | extern char *rl_username_completion_function (const char *, int);
Beta Was this translation helpful? Give feedback.
All reactions