且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Mac OS X上安装Rmagick时出错

更新时间:2022-11-25 19:41:20

我强烈建议你试试自制软件,这是macports的绝佳替代品:

I would strongly recommend you try homebrew, which is a great replacement for macports:

  • http://brew.sh
  • http://github.com/mxcl/homebrew

一旦你得到安装好自制软件,你应该可以非常轻松地安装imagemagick和rmagick:

Once you get homebrew installed, you should be able to install imagemagick and rmagick very easily:

brew install imagemagick     # will take a while!
gem install rmagick

此处更多信息:

http://www.codedrop.ca/blog/archives/214

此处:

http://weblogs.manas.com.ar/mverzilli/2010/05/ 19 /安装最rmagick-宝石中最无痛路与 - homebrewinstall最rmagick-宝石中最无痛路与 - homebrewinstall最rmagick - 宝石在-the- painless-way-with-homebrewinstall-the-rmagick-gem-in /

更新:(感谢 JJD 此答案

尝试安装l如果您在安装chiliproject时遇到问题,请不要使用openpmp:

Try to install without openpmp if you are having trouble with a chiliproject install:

brew install imagemagick --disable-openmp

UPDATE X2 :(感谢 Ramon Araujo 评论

UPDATE X2: (thanks to Ramon Araujo's comment)

如果您以前使用自制软件安装了imagemagick,则必须在再次安装之前取消链接:

If you have previously installed imagemagick with homebrew, you will have to unlink it before you install again:

brew unlink imagemagick