小编Kla*_*uss的帖子

安装rmagick的Ruby Error

所以当我想安装zena时就开始了.但我搞砸了安装Ruby,gem,mysql的不同部分.到底 .我最终正确地安装了zena,但是当我执行时:rake zena:init正如它在教程中所说,我接受:

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 …
Run Code Online (Sandbox Code Playgroud)

ruby rmagick

4
推荐指数
1
解决办法
4354
查看次数

标签 统计

rmagick ×1

ruby ×1