[英]Unable to get ImageMagick version *** extconf.rb failed ***
我已经多次搜索该错误,并从其网站获得了安装rMagick win-32的说明。 但是,win32版本看起来已经废止了,因为我有1.9.3,所以它是为Ruby 1.8.6制作的。
有人可以帮我安装这个宝石吗? 为此我真的不敢在计算机上安装imageMagick,因为在接下来的几周中,代码将被转移到其他PC上,等等。(学校作业,你知道我的工作方式)。 这样看来,可以将imageMagick与该gem一起安装(到目前为止,这是我的最佳选择)。 但是,我无法弄清楚这个错误,因为在这些方面我是一个相当大的n00b。
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
Ongeldige stationsspecificatie.
Unable to get ImageMagick version
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby
Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9
.1/gems/rmagick-2.13.1 for inspection.
Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rmagick-2
.13.1/ext/RMagick/gem_make.out
An error occured while installing rmagick (2.13.1), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.
您需要安装开发包:
sudo apt-get install libmagick++-dev
希望这可以帮助 :)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.