Installing FileUtils error

Hi,

I am trying to install fileutils and I get this error:

Building native extensions. This could take a while...
ERROR: Error installing fileutils:
  ERROR: Failed to build gem native extension.

    /home/sebah/.rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.2. Can't find Magick-config in
/home/sebah/.rvm/gems/ruby-1.9.3-p392/bin:/home/sebah/.rvm/gems/ruby-1.9.3-p392@global/bin:/home/sebah/.rvm/rubies/ruby-1.9.3-p392/bin:/home/sebah/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

*** 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:
  --with-opt-dir
  --without-opt-dir
  --with-opt-include
  --without-opt-include=${opt-dir}/include
  --with-opt-lib
  --without-opt-lib=${opt-dir}/lib
  --with-make-prog
  --without-make-prog
  --srcdir=.
  --curdir
  --ruby=/home/sebah/.rvm/rubies/ruby-1.9.3-p392/bin/ruby

Can anyone help?

regards,
seba

···

--
Posted via http://www.ruby-forum.com/.

Maybe you should install ImageMagick:

   sudo apt-get install imagemagick

should do the trick, I think?

···

On Fri, May 31, 2013 at 1:01 PM, Sebastjan H. <lists@ruby-forum.com> wrote:

Can't install RMagick 2.13.2. Can't find Magick-config

Hans Mackowiak wrote in post #1110882:

you need the libmagickcore-dev package for building the gem

thank you. I also needed the "libmagickwand-dev"

fileutils have now installed.

kind regards,
seba

···

--
Posted via http://www.ruby-forum.com/\.

tamouse mailing lists wrote in post #1110859:

···

On Fri, May 31, 2013 at 1:01 PM, Sebastjan H. <lists@ruby-forum.com> > wrote:

Can't install RMagick 2.13.2. Can't find Magick-config

Maybe you should install ImageMagick:

   sudo apt-get install imagemagick

should do the trick, I think?

nope, ImageMagick is alredy installed. And it's odd, because I have
Rmagick 2 which should work with Ruby 1.9.

seba

--
Posted via http://www.ruby-forum.com/\.

Hmm, yeah, that is weird, then. I don't believe ImageMagick has special
-dev installs; I can certainly find Magick-config without them. I'm
assuming you can find Magick-config normall in the shell?

···

Sebastjan H. <lists@ruby-forum.com> wrote:

tamouse mailing lists wrote in post #1110859:
> On Fri, May 31, 2013 at 1:01 PM, Sebastjan H. <lists@ruby-forum.com> > > wrote:
>> Can't install RMagick 2.13.2. Can't find Magick-config
>
>
> Maybe you should install ImageMagick:
>
> sudo apt-get install imagemagick
>
> should do the trick, I think?

nope, ImageMagick is alredy installed. And it's odd, because I have
Rmagick 2 which should work with Ruby 1.9.

Tamara Temple wrote in post #1110945:

···

Sebastjan H. <lists@ruby-forum.com> wrote:

> should do the trick, I think?

nope, ImageMagick is alredy installed. And it's odd, because I have
Rmagick 2 which should work with Ruby 1.9.

Hmm, yeah, that is weird, then. I don't believe ImageMagick has special
-dev installs; I can certainly find Magick-config without them. I'm
assuming you can find Magick-config normall in the shell?

yes, I can confirm that.

regards,
seba

--
Posted via http://www.ruby-forum.com/\.