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

gem install fails with ruby 2.7.2 #2

Open
ghost opened this issue Nov 10, 2020 · 3 comments
Open

gem install fails with ruby 2.7.2 #2

ghost opened this issue Nov 10, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 10, 2020

Hello, I have problem with this gem + ruby 2.7.2:

[13:31:19] xspaniki:project457 git:(upgrade-ruby-to-2.7.2*) $ gem install digest-whirlpool
Building native extensions. This could take a while...
ERROR:  Error installing digest-whirlpool:
	ERROR: Failed to build gem native extension.

    current directory: /Users/xspaniki/.rvm/gems/ruby-2.7.2/gems/digest-whirlpool-1.0.3/ext/digest/whirlpool
/Users/xspaniki/.rvm/rubies/ruby-2.7.2/bin/ruby -I /Users/xspaniki/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0 -r ./siteconf20201110-10852-1xgz174.rb extconf.rb
checking for ruby/digest.h... yes
creating Makefile

current directory: /Users/xspaniki/.rvm/gems/ruby-2.7.2/gems/digest-whirlpool-1.0.3/ext/digest/whirlpool
make "DESTDIR=" clean

current directory: /Users/xspaniki/.rvm/gems/ruby-2.7.2/gems/digest-whirlpool-1.0.3/ext/digest/whirlpool
make "DESTDIR="
compiling whirlpool-algorithm.c
make: *** No rule to make target `/Users/xspaniki/.rvm/rubies/ruby-2.7.2/include/ruby-2.7.0/digest.h', needed by `whirlpool.o'.  Stop.

make failed, exit code 2

Gem files will remain installed in /Users/xspaniki/.rvm/gems/ruby-2.7.2/gems/digest-whirlpool-1.0.3 for inspection.
Results logged to /Users/xspaniki/.rvm/gems/ruby-2.7.2/extensions/x86_64-darwin-19/2.7.0/digest-whirlpool-1.0.3/gem_make.out
@borfd
Copy link

borfd commented May 19, 2022

Any luck solving this issue?

@borfd
Copy link

borfd commented May 20, 2022

Feel free to use my fork which has been updated to work with Ruby 3 :) https://github.com/borfd/ruby-digest-whirlpool

@gtk2105
Copy link

gtk2105 commented Nov 18, 2022

Feel free to use my fork which has been updated to work with Ruby 3 :) https://github.com/borfd/ruby-digest-whirlpool

Hi borfd,

Are you still using SecGen?

This seems to continue with issues as the Ruby versions increase. I have found that both digest-sha3 & digest-whirlpool depends on Ruby 2.2.

Was your solution to simply fork the specific repositories and change the gemspec file, or is there more to it than that?

I look forward to your response.

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

2 participants