Ron Green
2/26/2009 9:55:00 PM
I have fixed the problem above. I am running os x 10.5.6.
I am now getting a different error.
Last login: Thu Feb 26 15:26:59 on ttys000
ronald-greens-imac:~ ron$ convert logo: logo.gif
ronald-greens-imac:~ ron$ display logo.gif
X connection to /tmp/launch-30Nznb/:0 broken (explicit kill or server
shutdown).
ronald-greens-imac:~ ron$ sudo gem install rmagick
Password:
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install rmagick
checking for Ruby version >=3D 1.8.2... yes
checking for gcc... yes
checking for Magick-config... yes
checking for ImageMagick version >=3D 6.3.0... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... *** 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.
On Feb 26, 2:15=A0pm, Michael Malone <michael.mal...@tait.co.nz> wrote:
> Rong wrote:
> > I installed the ImageMagick binary but when I try to install RMagick
> > (gem) I get the foloowing error-
> > /usr/local/bin/ruby extconf.rb install rmagick
> > checking for Ruby version >=3D 1.8.2... yes
> > checking for gcc... yes
> > checking for Magick-config... no
> > Can't install RMagick 2.9.1. Can't find Magick-config in /usr/local/
> > bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/
> > X11/bin:/usr/local/git/bin
>
> > *** extconf.rb failed ***
> > Could not create Makefile due to some reason, probably lack of
> > necessary libraries and/or headers. =A0Check the mkmf.log file for more
> > details. =A0You may need configuration options.
>
> > What do I need to do?
>
> Install the headers for ImageMagick. =A0If you're using a distro with a
> package manager, it will probably end in -dev.
>
> Ok, I just looked in the Ubuntu 8.10 manager and you want something
> along the lines of libgraphicsmagick1-dev
>
> But that's just a guess, I don't know exactly. =A0However, if you're usin=
g
> Ubuntu you can just use synaptic to install rmagick and save yourself a
> bunch of hassle :)
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> This email, including any attachments, is only for the intended
> addressee. =A0It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
> =A0altered or corrupted during transmission.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D