ianlevesque / ruby-lzma

Simple ruby wrappers for LZMA compression and decompression. Fully functional, on Ruby, JRuby, and MacRuby.
12 stars 5 forks source link

The gem does not build for jruby 1.7.2 #2

Open charl opened 11 years ago

charl commented 11 years ago

$ gem install ruby-lzma GET http://rubygems.org/latest_specs.4.8.gz 302 Moved Temporarily [...] /home/charl/.rvm/gems/jruby-1.7.2@thoth/gems/ruby-lzma-0.4.3/test/test_lzma.rb Building native extensions. This could take a while... ERROR: Error installing ruby-lzma: ERROR: Failed to build gem native extension.

    /home/charl/.rvm/rubies/jruby-1.7.2/bin/jruby extconf.rb

NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS or modify .jrubyrc to enable.

(root) at /home/charl/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/mkmf.rb:8 require at org/jruby/RubyKernel.java:1027 (root) at /home/charl/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1 (root) at extconf.rb:1

Gem files will remain installed in /home/charl/.rvm/gems/jruby-1.7.2@thoth/gems/ruby-lzma-0.4.3 for inspection. Results logged to /home/charl/.rvm/gems/jruby-1.7.2@thoth/gems/ruby-lzma-0.4.3/ext/gem_make.out

$ ruby -v jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on OpenJDK 64-Bit Server VM 1.6.0_24-b24 [linux-amd64]

ianlevesque commented 11 years ago

You can build the jruby version from the Rakefile, but yeah this should probably get fixed.