Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7861073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:33:10+00:00 2026-06-02T22:33:10+00:00

Trying to install 1.9.3 using RVM. Getting these errors in my make.log compiling readline.c

  • 0

Trying to install 1.9.3 using RVM.

Getting these errors in my make.log

compiling readline.c
readline.c:1499:9: error: use of undeclared identifier 'username_completion_function'; did you mean 'rl_username_completion_function'?
                                    rl_username_completion_function);
                                    ^
readline.c:69:42: note: expanded from macro 'rl_username_completion_function'
# define rl_username_completion_function username_completion_function
                                         ^
/usr/local/include/readline/readline.h:443:14: note: 'rl_username_completion_function' declared here
extern char *rl_username_completion_function PARAMS((const char *, int));
             ^
1 error generated.
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2

I faced this issue before in SL. I have Xcode 4.3.2 installed (also installed the command line tools) I have readline 6.2.2 installed.

Added export ARCHFLAGS="-arch x86_64" to my .bash_login file.

I also tried rvm install 1.9.3 --with-gcc=clang but I am getting the same error and I would prefer to avoid doing it due to limited support.

Anyone have a workable procedure?

Edit:

Link to related open Ruby ticket

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:33:12+00:00Added an answer on June 2, 2026 at 10:33 pm

    I solved the problem. RVM wasn’t recognizing the readline installed. Funny how readline manages to screw up so many people’s installs.

    This command points rvm toward the right readline location

    rvm install 1.9.3 --with-gcc=clang --with-readline-dir=$rvm_path/usr
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to install ruby using RVM in Cygwin, but I'm getting the error:
When trying to install gems using rvm i get this error $ rvm gem
I'm trying to install Ruby 1.9.3 using rvm. However, when I type: rvm install
I'm trying to install Ruby on Rails using RVM. I am following this guide
Using Snow leopard, Rails 3.0.3, ruby 1.9.2p0 and RVM. When trying to install bundle
I'm trying to install Webiva (a Rails CMS) I’m using RVM to manage my
I'm trying to install rails 3.0.7 on Mac OSX. I'm using rvm and I've
I am trying to install ruby 1.9.2 from a ruby script using rvm which
I am trying to install PIL using PIP installer, and I'm getting this: llvm-gcc-4.2
I have been trying to install ruby 1.9.2 using rvm but I'm unable to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.