Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
koraktor opened this issue Nov 1, 2011 · 3 comments
Open

Comments

@koraktor
Copy link
Contributor

koraktor commented Nov 1, 2011

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

At least compatibility with ruby-head should be fixed.

@ku1ik
Copy link

ku1ik commented Mar 7, 2012

+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.

@koraktor
Copy link
Contributor Author

koraktor commented May 8, 2013

ruby-head has been fixed with 46939f3.

For Rubinius see #15.

@adriantoman
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants