且构网

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

RMagick安装:找不到MagickWand.h

更新时间:2023-11-16 15:21:58

我的系统出现严重错误,非常糟糕,完全没问题,但我终于能够在安装后再次为Ruby 1.8.7安装RMagick

Something was severely wrong on my system, so badly that it was completely f*d up, but I was finally to able to install RMagick for Ruby 1.8.7 again after I installed

使用RVM安装新的Ruby版本 rvm install 1.8.7 还安装了新的GCC编译器:它删除了较旧的GCC版本4.6并安装了GCC版本4.9。显然,尽管pkg-config,GCC仍无法找到合适的标题。

The installation of a new Ruby version with RVM rvm install 1.8.7 also installed a new GCC compiler: it removed an older GCC version 4.6 and installed GCC version 4.9. Apparently GCC was not able to find the right headers despite pkg-config.