On Apr 21, 2009, at 3:11 PM, Matt Aimonetti wrote:
hpricot uses a C extension which is not compatible with MacRuby yet. I'm planning on working with Aaron Patterson who wrote nokogiri during RailsConf. The hope is to have nokogiri compatible with macruby 0.5 pretty soon. In the mean time, HotCocoa has a XML parser which works pretty well, check the hotcocoa mappings + do a search on this mailing list to find a quick example wrote by Rich Kilmer.
- Matt
On Tue, Apr 21, 2009 at 3:00 PM, s.ross
<cwdinfo@gmail.com> wrote:
I've been toying around with MacRuby and I'm particularly interested in the MVC stuff that's been mentioned of late. I decided to do a proof of concept that consumes an XML-RPC Web service and wanted to parse it using hpricot. But... the gem won't build. Questions: Is it just me or has this been an issue for others? If it's just me, any ideas how to get the gem to build?
Here's the error
$ sudo macgem install hpricot
Password:
Building native extensions. This could take a while...
ERROR: Error installing hpricot:
ERROR: Failed to build gem native extension.
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/bin/macruby extconf.rb install hpricot
checking for main() in -lc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Thanks,
Steve
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel