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

Jeff Singleton gvibe06 at gmail.com
Sat Mar 24 00:13:56 PDT 2012


Behrang, you should know that the developers of RVM did not build RVM with
Mac OS X in mind.  You will have to do a lot of manual configuration before
you can get it to work the way you want it.

It would be be easier to manually build Ruby in your $HOME folder, then
just install Gems with the MacPorts paths in your environment so that
dependencies are picked up.

I had to do this for both Ruby and a threaded Perl so that I could have my
cake and eat it to.

Jeff

On Sat, Mar 24, 2012 at 12:53 AM, Ryan Schmidt <ryandesign at macports.org>wrote:

>
> On Mar 24, 2012, at 00:27, Behrang Saeedzadeh wrote:
>
> > Also looks like the non-Apple versions of GCC are not compilable on Lion
> anymore:
> >
> > sudo port install gcc42
> > Password:
> > --->  Fetching archive for gcc42
> > --->  Attempting to fetch gcc42-4.2.4_2.darwin_11.x86_64.tbz2 from
> http://packages.macports.org/gcc42
> > --->  Fetching gcc42
> > Error: gcc42 does not build on Snow Leopard or later.
> > Error: Target org.macports.fetch returned: unsupported platform
> > Log for gcc42 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc42/gcc42/main.log
> > Error: Status 1 encountered during processing.
> > To report a bug, see <http://guide.macports.org/#project.tickets>
>
> Certainly not something as ancient as gcc42. Newer ones should work though.
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120324/db765939/attachment.html>


More information about the macports-users mailing list