Link against MacPorts Ruby instead of system Ruby

Chris Jones jonesc at hep.phy.cam.ac.uk
Sat Apr 26 09:27:15 PDT 2014


Hi,

> On 26 Apr 2014, at 04:38 pm, Kevin Walzer <kw at codebykevin.com> wrote:
> 
>> On 4/26/14, 10:21 AM, Christopher Jones wrote:
>> p.s.
>> 
>> You probably also should use the -I option, to tell gcc to take the ruby includes from /opt/local/include/ruby-2.1.0/ as well, otherwise it will pick up the system ones, and thus there will be a miss match.
> 
> ...and this proved unnecessary. So easy!

Do you not include any ruby headers in your code ? If you do, you should make sure to pick those matching the library you are using. It might well work without, but that will be just by pure chance..

> 
> -- 
> Kevin Walzer
> Code by Kevin/Mobile Code by Kevin
> http://www.codebykevin.com
> http://www.wtmobilesoftware.com
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users


More information about the macports-users mailing list