failed ubuntu install
nickblock opened this issue · 6 comments
sudo gem install teapot
`Building native extensions. This could take a while...
ERROR: Error installing teapot:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.2/ext
/usr/bin/ruby2.3 mkrf_conf.rb
current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.2/ext
/usr/bin/ruby2.3 -rubygems /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake RUBYARCHDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2 RUBYLIBDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2`
Ubuntu 16.04
Hi, yeah, I think there is a bug in Rainbow on Ubuntu - I recall seeing this in completely unrelated (to teapot) ruby systems. I will check it out, thanks.
Here it is: ku1ik/rainbow#44 and the solution was to use something other than Rainbow...
It looks like this will be fixed in Rainbow 3.0 but I'm not sure what the schedule to release that is...
Can you try the following:
gem install rainbow -v 2.1.0
then
gem install teapot
and let me know the output of both. Thanks.
It looks like the author of Rainbow would like you to try the current head.
I installed the rainbow 2.1.0, apparently successfully,
But I still get the same error (ERROR: Failed to build gem native extension), when doing "gem install teapot"
Sorry I'm not familiar with gem at all so I wouldn't know where to start checking out a repos and using that. I just came here from reddit, someone recommended this as a package manager for c++. Maybe I'll give it another go at a later date! Cheers.