Mac Rmagick won't install with Xcode 4.2

前端 未结 4 454
粉色の甜心
粉色の甜心 2020-12-02 11:56

I just got a new macbook pro and trying to setup my dev environment. I downloaded xcode 4.2 from the app store and installed it, after this i installed homebrew and RVM. Ima

相关标签:
4条回答
  • 2020-12-02 12:07

    For people who want source installation, you can download the source code repository and issue this command in the imagemagick source code directory.

    ./configure --disable-openmp

    It will work similar to the brew version above but with source code compilation instead.

    0 讨论(0)
  • 2020-12-02 12:13

    I tried your solution (full of hope) but It did not work for me unfortunately. Finally I managed to make it work by reinstalling imagemagick without openmp support (this is the library responsible for lgomp)

    using Homebrew:

    brew install imagemagick --disable-openmp
    

    then rmagick installed without any problems.

    0 讨论(0)
  • 2020-12-02 12:20

    I tried to download and install 4.1 for lion and this didn't even install (without a proper error message). Now a colleague gave me this great link to GCC for Mac which worked like a charm: https://github.com/kennethreitz/osx-gcc-installer

    Don't forget to download the v2 if you run on > 10.7.0

    0 讨论(0)
  • 2020-12-02 12:20

    I ran into this problem using Macports but there are no guides so I'll add one here:

    1. uninstall ImageMagick: 'sudo port uninstall ImageMagick' // and any dependents
    2. download Portfile-ImageMagick.diff from here
    3. Follow guide (transcribed below): 'cd $(port dir ImageMagick)' 'patch -p0 < (downloaded patch file)'
    4. 'sudo port install ImageMagick +no_openmp'
    0 讨论(0)
提交回复
热议问题