Does MacPort come with an alternative GCC for compiling Ruby 1.8.7 with RVM

Lawrence Velázquez larry.velazquez at gmail.com
Fri Mar 23 19:59:42 PDT 2012


On Mar 23, 2012, at 10:44 p.m., Behrang Saeedzadeh wrote:

> As you know Ruby1.8.7 cannot be compiled with XCode 4.2 unless it is an upgrade from an earlier version.

I actually did not know this.

> Is there something similar in MacPorts that can help with this situation?

Yes. If you try to install the Ruby 1.8 port on a system without GCC, MacPorts automatically compiles Apple's GCC and uses it.

    % port deps ruby
    Full Name: ruby @1.8.7-p358_0+thread_hooks
    Build Dependencies:   apple-gcc42
    Library Dependencies: libiconv, readline, openssl, zlib, ncurses, gdbm

vq



More information about the macports-users mailing list