centos install imagemagick + rmagick

Posted by wxianfeng Mon, 23 Aug 2010 06:17:00 GMT

环境:centos 5.5 + imagemagick 6.2.8 + rmagick 1.15.17

原本想安装最新版的rmagick的,但是发现编译ImageMagick安装不是少这个就是少那个,一汽之下,最后还是 yum 安装的比较快。。。。

如果你已经yum安装了,但是想再编译安装,需要先卸载原来的:

>yum remove ImageMagick

安装过程:

yum install ImageMagick
yum install ImageMagick-devel
gem install rmagick -v=1.15.17 --no-rdoc --no-ri -- --disable-htmldoc # 注意后面的参数需要加上,没加上会报错

安装 rmagick时主要还有版本问题,出错的话,会提示你ImageMagick必须大于多少版本,那么如何查看ImageMagick版本?

>convert -version

SEE:
http://stackoverflow.com/questions/1254366/problem-installing-rmagick-rubygem-on-centos-5

This entry was posted on Mon, 23 Aug 2010 06:17:00 GMT and Posted in . You can follow any any response to this entry through the Atom feed. You can leave a comment or a trackback from your own site.

Tags , ,


Trackbacks

Use the following link to trackback from your own site:
http://wxianfeng.com/trackbacks?article_id=66

Comments

  1. Avatar
    Passenger ships Ancona Patras about {{count}} years ago:

    Thanks , I have recently been looking for information about this subject forr a lon time and yours is the best I have came upon so far.

    However, wnat in regards to the bottom line? Are you positive in regards to the source?

  2. Avatar
    Passenger ships Ancona Patras about {{count}} years ago:

    Thanks , I have recently been looking ffor information about this subject for
    a long time and yours is the best I have came upon so far.
    However, hat in regards to the bottom line? Are you positive in regards to the source?

  3. Avatar
    greece ferry about {{count}} years ago:

    Hello to every one, the contents existing at this web paye arre actually awesome
    foor people experience, well, kkeep uup the nice work fellows.

  4. Avatar
    greece ferry about {{count}} years ago:

    Hello to every one, thhe contents existing at this web page are actually awesome for people
    experience, well, keep up thee nice wok fellows.

Leave a comment