所有這些都是在我想安裝zena時開始的。但我搞砸安裝Ruby,寶石,MySQL的不同部分。到底 。我用正確安裝澤納結束了,但是當我執行:耙澤納:初始化,因爲它在教程說,我receve:安裝rmagick時出現紅寶石錯誤
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.1. Can't find Magick-config in /usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec
*** 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=/usr/local/bin/ruby
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
Building native extensions. This could take a while....
我希望我可以刪除一切,更重新正確安裝Ruby和它的全部。誰能幫我這個 ? 。感謝你們 !
是否遵循了[RMagick安裝常見問題解答(HTTP://rmagick.rubyforge。組織/安裝-的faq.html)?特別是,您需要安裝ImageMagick或類似的庫。 – 2011-05-15 19:03:59