[MacPorts] #15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against
#15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against ------------------------------------------+--------------------------------- Reporter: trac.macports.org@iforgot.us | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ------------------------------------------+--------------------------------- This package does not provide a dylib to link against (it only provides a loadable bundle). After a lot of experimentation with the source, I found that adding {{{libtool -dynamic $(OBJS) -arch_only i386 -L/opt/local/lib -lruby -lcairo -lpthread -ldl -lm -o librbcairo.dylib}}} to the Makefile will produce librbcairo.dylib, which I can link against. -- Ticket URL: <http://trac.macports.org/ticket/15823> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against -------------------------------------------+-------------------------------- Reporter: trac.macports.org@iforgot.us | Owner: kimuraw@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------------+-------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => kimuraw@macports.org * milestone: => Port Bugs Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/15823#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against -------------------------------------------+-------------------------------- Reporter: trac.macports.org@iforgot.us | Owner: kimuraw@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------------+-------------------------------- Changes (by kimuraw@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
#15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against -------------------------------------------+-------------------------------- Reporter: trac.macports.org@iforgot.us | Owner: kimuraw@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------------+-------------------------------- Comment (by trac.macports.org@iforgot.us): You're right, I think I was trying to use Ruby in ways not meant to be. Thanks for the detailed reply. You can close this ticket. -- Ticket URL: <http://trac.macports.org/ticket/15823#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15823: ruby/rb-rcairo-1.6.2 Does not provide dylib to link against -------------------------------------------+-------------------------------- Reporter: trac.macports.org@iforgot.us | Owner: kimuraw@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: -------------------------------------------+-------------------------------- Changes (by kimuraw@macports.org): * status: assigned => closed * resolution: => wontfix -- Ticket URL: <http://trac.macports.org/ticket/15823#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts