Comments (9)
I've also been seeing reports of this same error from reviewers of my book.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/jimmy/.rvm/rubies/ruby-2.1.4/bin/ruby -r ./siteconf20141113-3423-1p94z7i.rb extconf.rb
make "DESTDIR=" clean
make: *** No rule to make target `clean'. Stop.
make "DESTDIR="
make: Nothing to be done for `all'.
make "DESTDIR=" install
curl http://s3.amazonaws.com/kindlegen/kindlegen_linux_2.6_i386_v2_9.tar.gz -o kindlegen_linux_2.6_i386_v2_9.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.3M 100 10.3M 0 0 6271k 0 0:00:01 0:00:01 --:--:-- 6482k
tar zxf kindlegen_linux_2.6_i386_v2_9.tar.gz
cp */kindlegen kindlegen
cp: cannot stat `*/kindlegen': No such file or directory
make: *** [kindlegen] Error 1
make install failed, exit code 2
Gem files will remain installed in /home/jimmy/.rvm/gems/ruby-2.1.4@r4iabook/gems/kindlegen-2.9.3 for inspection.
Results logged to /home/jimmy/.rvm/gems/ruby-2.1.4@r4iabook/extensions/x86_64-linux/2.1.0/kindlegen-2.9.3/gem_make.out
An error occurred while installing kindlegen (2.9.3), and Bundler cannot continue.
Make sure that `gem install kindlegen -v '2.9.3'` succeeds before bundling.
from kindlegen.
i had that error too
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
make "DESTDIR=" clean
make: *** No hay ninguna regla para construir el objetivo «clean». Alto.
make "DESTDIR="
make: No se hace nada para «all».
make "DESTDIR=" install
curl http://s3.amazonaws.com/kindlegen/kindlegen_linux_2.6_i386_v2_9.tar.gz -o kindlegen_linux_2.6_i386_v2_9.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.3M 100 10.3M 0 0 22731 0 0:07:55 0:07:55 --:--:-- 23805
tar zxf kindlegen_linux_2.6_i386_v2_9.tar.gz
cp /kindlegen kindlegen
cp: no se puede efectuar `stat' sobre «/kindlegen»: No existe el archivo o el directorio
make: *** [kindlegen] Error 1
make install failed, exit code 2
Gem files will remain installed in /tmp/bundler20141113-16125-ee8o86/kindlegen-2.9.3/gems/kindlegen-2.9.3 for inspection.
Results logged to /tmp/bundler20141113-16125-ee8o86/kindlegen-2.9.3/extensions/x86_64-linux/2.1.0-static/kindlegen-2.9.3/gem_make.out
An error occurred while installing kindlegen (2.9.3), and Bundler cannot
continue.
Make sure that gem install kindlegen -v '2.9.3'
succeeds before bundling.
=====another log======
cleopatra@cleopatra:~/Descargas/kindlegen-master/ext$ sudo gem install kindlegen
Building native extensions. This could take a while...
ERROR: Error installing kindlegen:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
make "DESTDIR=" clean
make: *** No hay ninguna regla para construir el objetivo «clean». Alto.
make "DESTDIR="
make: No se hace nada para «all».
make "DESTDIR=" install
curl http://s3.amazonaws.com/kindlegen/kindlegen_linux_2.6_i386_v2_9.tar.gz -o kindlegen_linux_2.6_i386_v2_9.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.3M 100 10.3M 0 0 56700 0 0:03:10 0:03:10 --:--:-- 47067
tar zxf kindlegen_linux_2.6_i386_v2_9.tar.gz
cp /kindlegen kindlegen
cp: no se puede efectuar `stat' sobre «/kindlegen»: No existe el archivo o el directorio
make: *** [kindlegen] Error 1
make install failed, exit code 2
cleopatra@cleopatra:~$ ruby -v
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-linux]
cleopatra@cleopatra:~$ bundle -v
Bundler version 1.7.5
cleopatra@cleopatra:~$ gem -v
2.2.2
from kindlegen.
Same error here.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/becky/.rubies/ruby-2.1.4/bin/ruby extconf.rb
make "DESTDIR=" clean
make: *** No rule to make target 'clean'. Stop.
make "DESTDIR="
make: Nothing to be done for 'all'.
make "DESTDIR=" install
curl http://s3.amazonaws.com/kindlegen/kindlegen_linux_2.6_i386_v2_9.tar.gz -o kindlegen_linux_2.6_i386_v2_9.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.3M 100 10.3M 0 0 501k 0 0:00:21 0:00:21 --:--:-- 1381k
tar zxf kindlegen_linux_2.6_i386_v2_9.tar.gz
cp */kindlegen kindlegen
cp: cannot stat ‘*/kindlegen’: No such file or directory
Makefile:13: recipe for target 'kindlegen' failed
make: *** [kindlegen] Error 1
make install failed, exit code 2
Gem files will remain installed in /home/becky/.gem/ruby/2.1.4/gems/kindlegen-2.9.3 for inspection.
Results logged to /home/becky/.gem/ruby/2.1.4/extensions/x86_64-linux/2.1.0-static/kindlegen-2.9.3/gem_make.out
An error occurred while installing kindlegen (2.9.3), and Bundler cannot continue.
Make sure that `gem install kindlegen -v '2.9.3'` succeeds before bundling.
Ruby 2.1.4p265, Ubuntu 14.10.
from kindlegen.
Same error with Ruby 2.1.1. Some debugging shows that the zip file structure has changed, and it doesn't create a sub directory anymore and it explodes kindlegen
file in the current directory.
HEAD to the zip file URL shows Last-Modified: Tue, 11 Nov 2014 16:12:28 GMT
and homebrew formula shows a different SHA1 as the current one (and brew install kindlegen
fails with the SHA1 mismatch), so I'd say Amazon has overwritten the zip file with the different file structure in it.
from kindlegen.
I just released 2.9.3.1, fixed error caused by changing amazon's zip format. thanks @miyagawa san!
It fails test yet on ruby 2.1.5, but works well.
from kindlegen.
And released 2.9.4, fixed testing error on ruby 2.1.5
from kindlegen.
Thank you very much @tdtds!
from kindlegen.
yes, thanks @tdtds. 2.9.4 is working perfectly for me now
from kindlegen.
thank you @tdtds!
from kindlegen.
Related Issues (18)
- Error installing kindlegen from rubygems HOT 2
- Failure installing gem with jruby HOT 2
- Add Windows support HOT 1
- bundle install error - gem kindlegen HOT 1
- Support for Ruby 1.9.3? HOT 1
- License? HOT 1
- cURL command not found HOT 4
- How to install "kindlegen" HOT 1
- ENOENT when running from jRuby on Windows7 HOT 4
- Fails to install on Windows
- Add Windows CI HOT 1
- 64-bit native kindlegen executable for Mac HOT 8
- kindlegen without internet connectivity HOT 2
- KindleGen binaries are no longer available for download HOT 7
- Require pull request reviews before merging HOT 3
- Lack of integrity verification of downloaded external dependencies
- Gem fails to install on MacOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kindlegen.