On Apr 26, 2014, at 13:03, Christopher Jones wrote: > You should try looking around in the includes directory a bit …. > > ruby/config.h exists in > > /opt/local/include/ruby-2.1.0/x86_64-darwin13 > > so it looks like you need to add > > -I/opt/local/include/ruby-2.1.0/x86_64-darwin13 > > to your compilation command. No idea if this is normal ruby behaviour, as I > said I am not a user or ruby.
You’ll want to let pkg-config find those values for you. On my system, I get: $ pkg-config ruby-2.1 --cflags -I/opt/local/include/ruby-2.1.0/universal-darwin13 -I/opt/local/include/ruby-2.1.0 $ pkg-config ruby-2.1 --libs -L/opt/local/lib -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -lruby.2.1.0 -lpthread -ldl -lobjc $ _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
