Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 160 Vote(s) - 3.36 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't install RMagick 2.13.1. Can't find MagickWand.h.

#11
On Mac OS X 10.9, try to update your Xcode if there's a warning about it.
$ brew doctor
I you found some warning, do:
$ sudo /Developer/Library/uninstall-developer-folder

Then try:
$ bundle install
again

That worked fine for me.
Reply

#12
I updated to Mountain Lion and started getting this same problem. I had to re-install brew, XCode, the XCode tools - pretty much the whole environment!

I eventually solved this problem using the answer from phopkins above...

brew install pkgconfig

Once that was successfully completed (I had to delete some old symlinks first) then I was able to successfully install the RMagick gem
Reply

#13
On CentOS 6.5 x64, it was pretty easy:

yum install ImageMagick ImageMagick-devel

gem install rmagick -v '2.13.2'
Reply

#14
I was able to fix this by upgrading to 2.13.2
Reply

#15
I had a problem after update to Maverics.
It have lost a lot of linkings.
In my case I had to refresh links to pkg-config

brew unlink pkg-config
brew link pkg-config

Then installing rmagick worked like a charm.
Reply

#16
I ran into this because I'd run OS X's Migration Assistant and nothing was relinked after the migration. You need to check the output of `Wand-config --ldflags --libs`. In my case it gave:

$ Wand-config --ldflags --libs
/usr/local/bin/Wand-config: line 50: pkg-config: command not found
/usr/local/bin/Wand-config: line 53: pkg-config: command not found

After relinking pkg-config, libpng, and libfreetype, that became:

$ Wand-config --ldflags --libs
-L/usr/local/Cellar/imagemagick/6.8.8-9/lib -lMagickWand-6.Q16 -lMagickCore-6.Q16
-L/usr/local/Cellar/imagemagick/6.8.8-9/lib -lMagickWand-6.Q16 -lMagickCore-6.Q16

And then:

$ gem install rmagick
Building native extensions. This could take a while...
Successfully installed rmagick-2.13.2
Parsing documentation for rmagick-2.13.2
Done installing documentation for rmagick after 4 seconds
1 gem installed

Reply

#17
For Ubuntu:

sudo apt-get install imagemagick libmagickwand-dev
gem install rmagick
Reply

#18
Try reinstalling both Imagemagick and PkgConfig. That should fix it for Mavericks

- `brew update && brew upgrade`
- `brew reinstall imagemagick`
- `brew reinstall pkgconfig`
Reply

#19
This worked for me on Mac OsX

Install Imagemagick:

brew remove imagemagick
brew install imagemagick

Make sure pkg-config is correctly linked:

brew uninstall pkg-config
brew install pkg-config
brew unlink pkg-config && brew link pkg-config

Install gem

gem install rmagick
Reply

#20
All brew options failed to install rmagick 2.13.1 on yosemite 10.10

this worked
get the latest RVM
> \curl -sSL

[To see links please register here]

| bash -s stable --ruby
> rvm install 2.1.1
> rvm use 2.1.1
>
> download and install the package file

[To see links please register here]


(I used pacifist to install)

Confirm location of MagickCore.pc file
>mdfind magickcore.pc

eg. /opt/ImageMagick/lib/pkgconfig/MagickCore.pc

> Manually download rmagick-2.15.2.gem file

[To see links please register here]


from that dir
> sudo C_INCLUDE_PATH=/opt/ImageMagick/include/ImageMagick-6/ PKG_CONFIG_PATH=/opt/ImageMagick/lib/pkgconfig gem install --local rmagick-2.15.2.gem

If you are having issues with bundle installer still complaining about 2.13.1

In your gem file / gem.lock file upgrade ALL dependencies
> rmagick (2.13.1) - > rmagick (>= 2.15.2)
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through