Difference between revisions of "RMagic installation"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 41: Line 41:
                   Check the config.log file for more detailed information.
                   Check the config.log file for more detailed information.
  ERROR:  Error installing gem rmagick-1.13.0.gem[.gem]: ERROR: Failed to build gem native extension.
  ERROR:  Error installing gem rmagick-1.13.0.gem[.gem]: ERROR: Failed to build gem native extension.
Info: '''http://rmagick.rubyforge.org/install-faq.html#libmagick'''

Revision as of 14:09, 7 December 2007

RMagick is responsible for drawing Graphs.

RMagick should be installed with install script. This is just the steps from this script to install it manually if installation by script failed.

Debian

apt-get -y install imagemagick libmagick9-dev
cd /usr/src
wget http://www.kolmisoft.com/files/packages/rmagick-1.13.0.gem
gem install rmagick-1.13.0.gem 

Centos 4

yum -y --enablerepo=c4-testing install ImageMagick ImageMagick-devel 
cd /usr/src
wget http://www.kolmisoft.com/files/packages/rmagick-1.13.0.gem
gem install rmagick-1.13.0.gem
#copy missing fonts
cp --reply=yes /usr/src/mor/centos/TrueType /usr/share/fonts/default

Centos 5/Fedora

yum -y install ImageMagick ImageMagick-devel 
cd /usr/src
wget http://www.kolmisoft.com/files/packages/rmagick-1.13.0.gem
gem install rmagick-1.13.0.gem
#copy missing fonts
cp --reply=yes /usr/src/mor/centos/TrueType /usr/share/fonts/default

Errors

Can't find libMagick or one of the dependent libraries

After

gem install rmagick-1.13.0.gem 

we get:

configure: error: Can't install RMagick. Can't find libMagick or one of the dependent libraries.
                 Check the config.log file for more detailed information.
ERROR:  Error installing gem rmagick-1.13.0.gem[.gem]: ERROR: Failed to build gem native extension.

Info: http://rmagick.rubyforge.org/install-faq.html#libmagick