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

  • SEARCH
  • Home
  • 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 9252933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:05:08+00:00 2026-06-18T11:05:08+00:00

I am unable to install Ruby REE with rvm install ree because the compiler

  • 0

I am unable to install Ruby REE with

rvm install ree

because the compiler and linker are looking for /opt/local. All I have in /opt/local is X11, because I don’t use MacPorts.

I installed my C/C++ compilers with the XCode command-line tools, not with https://github.com/kennethreitz/osx-gcc-installer. (Because I want XCode available to me and they are not compatible.)

The first reference to /opt/local in the rvm install log is:

make PREINCFLAGS='-I/opt/local/include' PRELIBS='-L/opt/local/lib -Wl,-rpath,/Users/brian/.rvm/rubies/ree-1.8.7-2012.02/lib -L/Users/brian/.rvm/rubies/ree-1.8.7-2012.02/lib -lsystem_allocator'

From there I get numerous errors about files it can’t find in /opt/local/include and /opt/local/lib (because those directories do not exist on my system).

I don’t know why the installer thinks it will find header files or libs in /opt/local, nor can I figure out how to get it to look in the right places.

Here are my GNU C++ and C compilers:

/usr/bin$ ll g+* gcc*
lrwxr-xr-x  1 root  wheel  12 Feb  4 11:58 g++@ -> llvm-g++-4.2
lrwxr-xr-x  1 root  wheel  12 Feb  4 12:16 g++-4.2@ -> llvm-g++-4.2
lrwxr-xr-x  1 root  wheel  12 Feb  4 11:58 gcc@ -> llvm-gcc-4.2
lrwxr-xr-x  1 root  wheel  12 Jan  6 21:11 gcc-4.2@ -> llvm-gcc-4.2

I use Homebrew, but I didn’t install anything compiler-related:

/usr/bin$ brew list
ack         coreutils   geoip       gnupg       libevent    little-cms2 ossp-uuid   qt          tmux
autoconf    ctags       gettext     htop-osx    libpng      macvim      phantomjs   readline    tree
automake    fontconfig  ghostscript imagemagick libtiff     memcached   pkg-config  redis       wget
cmake       freetds     gist        jbig2dec    libtool     mysql       postgresql  sqlite      xz
colordiff   freetype    git         jpeg        libyaml     ngrep       pstree      tig
  • 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-18T11:05:09+00:00Added an answer on June 18, 2026 at 11:05 am

    I figured out how to get past this. All the stuff about /opt/local was a red herring. The fact that I don’t have /opt/local was not causing any problems.

    The real problem was farther down in the install.log:

    /usr/include/tk.h:78:23: error: X11/Xlib.h: No such file or directory
    

    The fix is to use --without-tk --without-tcl when installing ree:

    rvm install ree --without-tk --without-tcl
    

    I’m still having other unrelated problems installing ree, but at least this part is no longer a problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to install ruby 1.9.2 using rvm but I'm unable to
I have a working install on my local machine, but was unable to do
I'm looking for a way to install rvm, install a specific ruby version (using
I'm trying to use config/environment.rb to install a ruby gem dependency (because I don't
I am unable to install this WP plugin http://wordpress.org/support/plugin/video-thumbnails Because it keeps telling me
I have just downloaded rvm to manage my ruby versioning. I have created a
I have xcode4.2 installed and because of that, I am unable to get gfortran
I have developed a module 'newpatient' which I am unable to install through a
When I run rvm install ruby-1.9.3 , I get this error message when configuring
I have installed Ruby through RVM as instructions on https://github.com/wayneeseguin/rvm#installation . For information I

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.