[MacRuby-devel] Cannot compile RJB using MacRuby nightly
jsilverman2 at gmail.com
Tue Nov 13 01:28:31 PST 2012
Got it. I am also aware that Nokogiri will compile/install with MacRuby.
However, this is a poor indicator. Most other stuff seems to not work.
This is definitely a part of MacRuby that needs work, the C API
Interface. If you find anything out, please keep us informed.
On 13/11/2012 01:25, Tnarik Innael wrote:
> It's a wrapper to the Saxon XSLT2 processor, which is the only XSLT2 free implementation I've been able to find. I'm building it to avoid triggering command line processes and to get access to the full API.
> RJB in MacRuby is a test to see how much can I reuse and modularize code.
> RJB, in reality, it's mostly C, not Java, and there is no problem pacakging that along with JAR files for MRI, but I gather that MacRuby maybe have some issues compiling native code from gems if they are not coded targeting Objective-C specifically. The thing is, as Nokogiri compiled and installed successfully, I assumed it would be the aame for RJB.
> On 13 Nov 2012, at 08:11, J Silver <jsilverman2 at gmail.com> wrote:
>> MacRuby is an objective-C packaging system. Objective-C + Ruby yes, Java no. You won't be able to bundle the jvm in your app. Seek a non-java solution to accomplish whatever the gem is trying to do. What is the gem called? Perhaps there is an alternative?
>> On 13/11/2012 00:02, Eduardo G. Melguizo wrote:
>>> Hi all,
>>> I installed macruby-nightly from RVM, installed a few gems such as Nokogiri and modified a test XCode project scheme accordingly to get the gems to be known by XCode and it was a success!
>>> Now, one additional gem I would like to use have a dependency on RJB, as it contains a jar file. But the installation of RJB fails. It has a dependency on dl.h, a header that I have seen in MRI 1.9.2 and 1.9.3 inside a 1.9.1 folder (/Users/tnarik/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/dl.h), but not in MacRuby.
>>> I'm trying to identify it this file is needed at all of it it's part of some future MacRuby release. Or if what I'm trying to do here it's impossible and I should find an alternative without RJB dependencies.
>>> Any thoughts?
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
More information about the MacRuby-devel