[英]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.