user-pic

How to install Image::Magick to run on MTOS 4.1

Vote 0 Votes

I managed to setup my first test run of MTOS 4.1 and Photo Gallery 2.0. It appears that I have everything working correctly except for Image Magick. I ran mt-check.cgi and it states that Image:Magick is not installed.

I've downloaded and unzipped the files, read the docs but it is not very clear to me as to how to go about getting it either copied or installed on my webserver which is hosted on the web.

Any assistance would be greatly appreciated.

5 Replies

| Add a Reply
  • Aaah, yes. Image::Magick - the perl module and graphics manipulation utility we all love.

    So - installing ImageMagick can go one of two ways:

    • the lucky way
    • the hard and often cumbersome/time-consuming way

    Let's first hope you can get lucky.

    If you have command line access and root access to your machine (which is sometimes lucky in and of itself), you can try to install IM via apt or yum.

    If using yum, you will want to execute:

    > yum install ImageMagick
    > yum install ImageMagick-perl (I think)
    

    If this doesn't work - don't force anything. Just accept that installation is going to get less easy.

    At this point you may want to consider installing from source. You should therefore visit the ImageMagick homepage, download the source tarball and proceed from there according to their instructions.

    Remember the ImageMagick source tarball has PerlMagick (the perl modules and libraries MT requires) bundled with it. So once ImageMagick is installed, navigate to the PerlMagick directory inside of the source tarball and run as root:

    > perl Makefile.PL
    > make
    > make test
    > make install
    
  • Turns out my hosting services does not allow command line access due to security reasons. Furthermore, they couldn't even tell me if their server guys could perform the install upon my request. Final words over the phone with support were "If they can install it, they will...but you wont know it is installed until you perform another mt-check... and if they could not or wont install it ever they'll never contact me to let me know.". At this point all I can say is "I really love those support guys at Yahoo Hosting". Seems I'll have to start looking for another hosting service if I ever want to use ImageMagick.

    Thank you Byrne. (I'll try it on a spare box I have at home and see how far I get.)

    • Ah, yet another person who has gotten shafted by Yahoo. I'd recommend taking a look at Hosting Matters. They do a very good job of providing a stable, ssh-accessible environment for hosting Movable Type. I've been using them for a few years and can say that they're a top notch MT host.

  • I have the same problem so I used yum to install:

    ImageMagick, ImageMagick-devel, ImageMagic-perl

    and then ran

    perl -MImage::Magick -e 1

    which came back without an error unlike before but MT still does not see it.

    Is there a path directive or something that points MT to ImageMagick?

  • I finally managed to get ImageMagick to work with MT. There are some crucial steps that I had to follow for Linux Fedora Core 7 Linux running on a GoDaddy Virtual Server (Virtuozzo) server with Plesk 8.60. The exact flavor of Unix is important since all of these elements affect how MT and its components are set up and interact.

    Problem: System Info showed as ImageMagick not installed even after it was installed

    1. Use Yum or rpm to install the correct package for your system (compiling and installing is very tricky best left to experts)

    2. I had to install the following modules

      yum install ImageMagick yum install ImageMagick-devel [this may not be necessary]

      yum-install ImageMagick-perl

    restart apache just in case and restart your browser just in case.

    There are numerous other pitfalls some of which may be an unusual location for the ImageMagick path in which case you can create links but I do not know of a config directive to point to ImageMagick path in MT like for Sendmail etc

    All this assumes you have root access to the server or can persuade the sysadmin to do the right things for you.

Add a Reply

Forum Groups

79 280

Last Topic: How can I know the query parameters?? by 10takashi on Nov 26, 2008

9 21

Last Topic: Adding List of Recent Members by oliver on Dec 19, 2008

189 562

Last Topic: Frequently Asked Questions? by Mike T on Dec 24, 2008

60 221

Last Topic: Installing to domain web root by Jason Ricketts on Dec 23, 2008

36 94

Last Topic: test by test on Dec 23, 2008

12 41

Last Topic: Publisher Machine with READ ONLY DB by Ashish Nagpal on Dec 11, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

11 52

Last Topic: MTComments out of context by Culture Snob on Dec 4, 2008

code.sixapart.com

70 268

Last Topic: Action Stream cron job on media temple (GS) by tiptap on Dec 21, 2008