ruby on rails - rmagick install extconf.rb error -
hi i'm trying install rmagick
10 hours, frustration immense..
so here follows:
c:\>ruby -v ruby 2.2.4p230 (2015-12-16 revision 53155) [i386-mingw32] c:\>rails --version rails 5.0.0 c:\>gem --version 2.4.5.1
c:\ruby22\bin>convert -version invalid drive specification. c:\imagemagick-6.9.5-q16>convert -version version: imagemagick 6.9.5-3 q16 x86 2016-07-22 http://www.imagemagick.org copyright: copyright (c) 1999-2015 imagemagick studio llc license: http://www.imagemagick.org/script/license.php visual c++: 180040629 features: cipher dpc modules openmp delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pa ngocairo png ps rsvg tiff webp xml zlib
and when im trying install (i have devkit)
c:\ruby22>gem install rmagick -- --with-opt-dir=c:\imagemagick-6.9.5-q16 temporarily enhancing path include devkit... building native extensions with: '--with-opt-dir=c:\imagemagick-6.9.5-q16' take while... error: error installing rmagick: error: failed build gem native extension. c:/ruby22/bin/ruby.exe -r ./siteconf20160725-4412-1q7n0st.rb extconf.rb --wi th-opt-dir=c:\imagemagick-6.9.5-q16 *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. may need configuration options. provided configuration options: --with-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:/ruby22/bin/$(ruby_base_name) extconf.rb:110:in ``': no such file or directory - identify -version (errno::eno ent) extconf.rb:110:in `configure_compile_options' extconf.rb:16:in `initialize' extconf.rb:517:in `new' extconf.rb:517:in `<main>' extconf failed, exit code 1 gem files remain installed in c:/ruby22/lib/ruby/gems/2.2.0/gems/rmagick-2. 15.4 inspection. results logged c:/ruby22/lib/ruby/gems/2.2.0/extensions/x86-mingw32/2.2.0/rma gick-2.15.4/gem_make.out
i've tried many many solutions , nothing works , keep getting error.
i messed %path% ,tried different versions , read instructions , tried in 2 different machines. seems impossible me..
the suggested duplicate offers obsolete links lead nowhere, if duplicate of answered question , answer not date , offers no good. wish , came across answer while ago...
Comments
Post a Comment