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 >= 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. Check the mkmf.log file for more
details. You may need configuration options.
What do I need to do?
Install the headers for ImageMagick. If 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. However, if you're using Ubuntu you can just use synaptic to install rmagick and save yourself a bunch of hassle
···
=======================================================================
This email, including any attachments, is only for the intended
addressee. It 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
altered or corrupted during transmission.
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 >= 1.8.2... yes
checking for gcc... yes
checking for Magick-config... yes
checking for ImageMagick version >= 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 pm, 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 >= 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. Check the mkmf.log file for more
> details. You may need configuration options.
> What do I need to do?
Install the headers for ImageMagick. If 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. However, if you're using
Ubuntu you can just use synaptic to install rmagick and save yourself a
bunch of hassle
=======================================================================
This email, including any attachments, is only for the intended
addressee. It 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
altered or corrupted during transmission.
I have fixed the problem above. I am running os x 10.5.6.
I am now getting a different error.
(snip)
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, 5:23 pm, Tim Hunter <TimHun...@nc.rr.com> wrote:
Rong wrote:
> I have fixed the problem above. I am running os x 10.5.6.
> I am now getting a different error.
(snip)
> 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, 10:02 pm, Rong <ron.gr...@gmail.com> wrote:
Don't know where it is.
On Feb 26, 5:23 pm, Tim Hunter <TimHun...@nc.rr.com> wrote:
> Rong wrote:
> > I have fixed the problem above. I am running os x 10.5.6.
> > I am now getting a different error.
> (snip)
> > 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.
def try_do(src, command, &b)
unless have_devel?
raise <<MSG
The complier failed to generate an executable file.
You have to install development tools first.
MSG
end
src = create_tmpsrc(src, &b)
xsystem(command)
ensure
log_src(src)
rm_rf 'conftest.dSYM'
end
···
On Feb 26, 10:02 pm, Rong <ron.gr...@gmail.com> wrote:
Don't know where it is.
On Feb 26, 5:23 pm, Tim Hunter <TimHun...@nc.rr.com> wrote:
> Rong wrote:
> > I have fixed the problem above. I am running os x 10.5.6.
> > I am now getting a different error.
> (snip)
> > 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.