Error installing kindlegen from rubygems
Closed this issue · 2 comments
ramnathv commented
I am getting the following error when trying to install kindlegen. Any ideas on what could be going wrong?
$ gem install kindlegen
Building native extensions. This could take a while...
ERROR: Error installing kindlegen:
ERROR: Failed to build gem native extension.
/Users/ramnathvaidyanathan/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
make
make: Nothing to be done for `all'.
make install
curl http://s3.amazonaws.com/kindlegen/KindleGen_Mac_i386_v2_4.zip -o KindleGen_Mac_i386_v2_4.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8150k 100 8150k 0 0 418k 0 0:00:19 0:00:19 --:--:-- 434k
tar zxf KindleGen_Mac_i386_v2_4.zip
gzip: stdin has more than one entry--rest ignored
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Child returned status 2
tar: Error exit delayed from previous errors
make: *** [kindlegen] Error 2
Gem files will remain installed in /Users/ramnathvaidyanathan/.rvm/gems/ruby-1.9.2-p290/gems/kindlegen-2.4.0 for inspection.
Results logged to /Users/ramnathvaidyanathan/.rvm/gems/ruby-1.9.2-p290/gems/kindlegen-2.4.0/ext/kindlegen/gem_make.out
tdtds commented
Thanks for your report. The tarball of kindlegen for MacOS made by ZIP, but tar command cannot extract it.
Then I use unzip command on MacOS.
I was released new 2.4.1 gem. Try again later please.
ramnathv commented
Perfect. It worked this time! Thanks for fixing it so promptly.