view · edit · sidebar · attach · print · history

Installing gem RMagick 2.9.0 on Windows Vista

<< Rdoc | Index | RubyXL >>

If you encounter this error

C:\>gem install -v=2.9.0 rmagick
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing rmagick:
        ERROR: Failed to build gem native extension.

C:/Ruby-1.8.6-oniguruma/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.2... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.9.0. Can't find Magick-config in
C:\devkit\bin;C:\devkit\mingw\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Ruby-1.8.6-oniguruma\bin;C:\Ruby-1.8.6-p369-oniguruma\bin;C:\tools;C:\Program Files\PostgreSQL\8.4\bin;C:\Program F
iles\7-Zip;C:\Program Files\GnuWin32\bin;C:\Program Files\Git\bin;C:\Users\zdavatz\software\rubyinstaller\sandbox\devkit\bin

*** 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:

then see this

now I am trying

 gem install -v=2.9.0 rmagick --platform=ruby -- --with-opt-lib=C:/ImageMagick/6.6.7-Q16/lib --with-opt-include=C:/ImageMagick/6.6.7-Q16/include

Did not work for me, see

but this did work for me

then do

 gem install gem install rmagick-2.12.0-x86-mswin32.gem

that results in

 CORE_RL_magick_.dll nicht gefunden.

set the correct PATH

 C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Ruby187\bin;C:\Ruby-1.8.6-p369-oniguruma\bin;C:\tools;C:\Program Files\PostgreSQL\8.4\bin;C:\Program Files\7-Zip;C:\Program Files\GnuWin32\bin;C:\Program Files\Git\bin;C:\Users\zdavatz\software\rubyinstaller\sandbox\devkit\bin;C:\ImageMagick-6.5.6-Q8;
view · edit · sidebar · attach · print · history
Page last modified on March 22, 2011, at 04:46 PM