Hi all,
I’ve been trying to install GraphicsMagick with RMagic. I’ve tried
ImageMagick with RMagic as well. I’ve tried the installations using
Darwin
Ports, Gems and from source. Nothing seems to work properly.
My specs:
ruby --version
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0]
rails --version
Rails 1.1.0
convert -version
Version: ImageMagick 6.1.8 04/05/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
Some of the error messages I’ve received while using GraphicsMagick are
as
follows: (and I did download the 1.1.7 source from GraphicsMagick’s
site)
[This happened when I was trying to execute a short Ruby script from
within
Textmate]
RuntimeError: This version of RMagick was created to run with
GraphicsMagick
1.1.7 but GraphicsMagick 1.1.6 is installed on this system. You should
either 1) refer to the RMagick README file to learn how to create a
version
of RMagick for GraphicsMagick 1.1.6, or 2) download GraphicsMagick
1.1.7from
http://www.GraphicsMagick.org/ and install it.
[Appeared during the compiling of GraphicsMagick]
This installation of RMagick 1.10.1 is configured for
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0] and GraphicsMagick 1.1.7.
[Also appeared during the compiling of GraphicsMagick]
/usr/local/lib/ruby/gems/1.8/gems/rmagick-1.10.1/ext/RMagick/RMagick.bundle:
This version of RMagick was created to run with GraphicsMagick
1.1.7(RuntimeError)
but GraphicsMagick 1.1.6 is installed on this system. You should either
- refer to the RMagick README file to learn how to create
a version of RMagick for GraphicsMagick 1.1.6, or - download GraphicsMagick 1.1.7 from http://www.GraphicsMagick.org/
and
install it. from /usr/local/lib/ruby/gems/1.8/gems/rmagick-1.10.1
/lib/RMagick.rb:11
from Adispatch.rb:2
When executing this tiny bit of code below using GraphicsMagick I
receive an
error of "RMagick: unable to open X server `'.
require ‘RMagick’
include Magick
cat = ImageList.new(“presentation.jpg”)
cat.display
exit
Am I getting close?
Thank you in advance!
Dave H.