[MacPorts] #15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against
MacPorts
noreply at macports.org
Thu Jul 3 04:28:33 PDT 2008
#15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against
-------------------------------------------+--------------------------------
Reporter: trac.macports.org at iforgot.us | Owner: kimuraw at macports.org
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
-------------------------------------------+--------------------------------
Changes (by kimuraw at macports.org):
* status: new => assigned
Comment:
This port "rb-rcairo" provides an extension module for Ruby.
To provide a dynamic library, like you said, is not Ruby's way.
You can load the bundle with the following code.
from RUBY:
{{{
require 'cairo'
}}}
from C:
{{{
include <ruby.h>
include <rb_cairo.h>
:
rb_require("cairo");
}}}
or link libcairo and use C API of libcairo.
I do not think the librbcairo.dylib is needed.
Please tell me what do you want to do.
--
Ticket URL: <http://trac.macports.org/ticket/15823#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list