rmagick-temp / rmagick

An interface to the ImageMagick and GraphicsMagick image processing libraries.
http://rmagick.rubyforge.org/
MIT License
790 stars 102 forks source link

Installation instructions #112

Open creativetags opened 10 years ago

creativetags commented 10 years ago

Just thought these simple instructions might be helpful for someone

Step 1. Download rmagick Step 2. Install rmagick Step 3. Insert magic Step 4. Working well Step 5. No longer working Step 6. Go to step 3

whiteshooz commented 10 years ago

Super witty, however maybe suggest the following install help:

[linux] $ sudo apt-get install libmagickwand-dev

[centOs] $ yum install ImageMagick-devel

[mac] use Homebrew $ brew install imagemagick

jakef commented 9 years ago

Hrm. Gem install rmagick is failing for me as well. Worked on Friday. :(

radubogdan commented 9 years ago

Worked few weeks ago and now is failing. Nothing have been changed.

I know is very hard to maintain and to keep it working on different platforms, but updating wiki might be a good start. I can't find why is not working.

imagemagick is already the newest version.
libmagickcore-dev is already the newest version.
libmagickwand-dev is already the newest version.
$ gem install rmagick -v '2.13.2'
Building native extensions.  This could take a while...           
ERROR:  Error installing rmagick:
    ERROR: Failed to build gem native extension.

    /home/dot/.rbenv/versions/2.0.0-p353/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/dot/.rbenv/versions/2.0.0-p353/bin:/home/dot/.rbenv/libexec:/home/dot/.rbenv/plugins/ruby-build/bin:/home/dot/perl5/bin:/home/dot/opt/bin:/home/dot/.rbenv/bin:/home/dot/perl5/bin:/home/dot/.rbenv/shims:/home/dot/opt/bin:/home/dot/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/dot/opt/algs4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/dot/opt/algs4/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.

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/dot/.rbenv/versions/2.0.0-p353/bin/ruby

Gem files will remain installed in /home/dot/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rmagick-2.13.2 for inspection.
Results logged to /home/dot/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rmagick-2.13.2/ext/RMagick/gem_make.out
bf4 commented 9 years ago

Please review https://github.com/rmagick/rmagick/issues/120 we have lost ownership of this repo