bzip2-ruby icon indicating copy to clipboard operation
bzip2-ruby copied to clipboard

Native extension fails to build for JRuby, Rubinius and ruby-head

Open koraktor opened this issue 14 years ago • 3 comments

Please see this build of steam-condenser for more details.

At least compatibility with ruby-head should be fixed.

koraktor avatar Nov 01 '11 15:11 koraktor

+1. Same here: http://travis-ci.org/#!/sickill/ascii.io/jobs/806154

How difficult would be to use FFI for native extension? If you consider FFI I may try to implement it and send pull request.

ku1ik avatar Mar 07 '12 10:03 ku1ik

ruby-head has been fixed with 46939f3521eed0f12157c3a20a1a077cf51d17d1.

For Rubinius see #15.

koraktor avatar May 08 '13 05:05 koraktor

I am not able to compile this gem under JRuby ...

Getting this error: cc -I. -I. -I/usr/local/rvm/rubies/jruby-1.7.4/lib/native/include/ruby -I. -DHAVE_BZLIB_H -fPIC -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions -Wall -funroll-loops -DRUBY_19_COMPATIBILITY -m64 -c bzip2.c bzip2.c:8:21: fatal error: ruby/io.h: No such file or directory compilation terminated. make: *** [bzip2.o] Error 1

Can you help?

adriantoman avatar Apr 25 '14 08:04 adriantoman