Projects

Ticket #699 (closed defect: fixed)

Opened 21 months ago

Last modified 21 months ago

While installing twt, failed compile in yajl

Reported by: roberto@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.7
Component: MacRuby Keywords:
Cc:

Description

twt needs the Yet-Another-JSON-Library gem (yajl). While trying to compile it, it fails with the following message (attached). This is is macruby 0.6 taken from the website.

Attachments

macruby-0.6-yajl-failed.txt Download (3.6 KB) - added by roberto@… 21 months ago.
output log

Change History

Changed 21 months ago by roberto@…

output log

Changed 21 months ago by martinlagardette@…

The issue being:

yajl_ext.c:116: warning: passing argument 2 of ‘rb_io_write’ makes pointer from integer without a cast
yajl_ext.c:116: error: too few arguments to function ‘rb_io_write’

I believe this is an issue with our MRI extension compatibility.

MacRuby:

rb_io_write(VALUE v, SEL sel, VALUE i)

Ruby 1.9:

rb_io_write(VALUE io, VALUE str)

Changed 21 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed

Should be fixed in r4059.

il0102a-dhcp93:macruby-trunk lrz$ sudo /usr/local/bin/macgem install twt
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
When you HTTParty, you must party hard!
Building native extensions.  This could take a while...
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
unknown: warning: ignoring alias
Successfully installed oauth-0.4.0
Successfully installed hashie-0.2.0
Successfully installed crack-0.1.6
Successfully installed httparty-0.5.2
Successfully installed yajl-ruby-0.7.6
Successfully installed twitter-0.9.5
Successfully installed twt-0.2.6
7 gems installed
il0102a-dhcp93:macruby-trunk lrz$ 

(The ignoring alias messages are weird.)

I am not sure the whole thing is functional after, feel free to open a new ticket if there are any problems :-)

Note: See TracTickets for help on using tickets.