default userpic

MT install can't find ImageMagick

Vote 0 Votes

My mt-check.cgi page says that ImageMagick is not installed:

Image::Magick
Your server does not have Image::Magick installed, or Image::Magick requires another module that is not installed. This module is needed if you would like to be able to create thumbnails of uploaded images. Please consult the installation instructions for help in installing Image::Magick.

However, it is installed, and the pertinent files (e.g. /usr/bin/convert and /usr/bin/mogrify) are present and working, although I do have a custom version of ImageMagick installed that is provided by my host (ImageMagick version 6.3.5.9-1.1eapps).

How do I convince MT that ImageMagick is installed and point it to the correct location?

Reported on Movable Type 4.2

6 Replies

| Add a Reply
  • Do you have the Perl module "PerlMagick" installed as well?

  • That was exactly the issue. Thanks!

    • This problem has come up more than once, it strikes me that mt-check should include perlmagick as a separate line. Or at least specify it rather than saying "another module that is not installed".

  • I am having a similar issue. I am using Leopard 10.5.6 and, as far as I can tell, have installed ImageMagick and PerlMagick but mt-check is saying it is not installed.

    When I run this command:
    perl -e "use Image::Magick" it returns no results. From what I am told this means I have a successful installation of ImageMagick and PerlMagick. However, the pertinent files such as convert and mogrify are located in /opt/bin/ which from what I read above is not the right location.

    This is my own server and I have root access if I need it. I installed ImageMagick via macports from my admin account like so:

    sudo port install ImageMagick +perl

    I received no errors upon installation. Is there something else I need to do? I am assuming my issue is purely dependent on the /opt/bin/ file location because I can't seem to find anyone else with files located there. Any help would be greatly appreciated.

    Thanks!!

    • MacPorts installs its own copy of Perl and Perl modules into /opt/local. Movable Type's CGI scripts point to /usr/bin/perl which is the system Perl interpreter. You'll need to change the first line of each CGI file to point to the MacPorts copy.

  • Thanks for the reply!

    I did this and MT now has found Image::Magick but it doesn't see all of the other modules now. Which I guess is to be expected since it is pointing to a new location. I only changed mt-check.cgi for testing purposes.

    MT is already in use so I cannot install all of the, now 'not installed', modules such as DBD::SQLite and Mail::Sendmail and have the migration be seemless...or can I? Is there a way to move the database over to a new installation of SQLite? I am assuming that will be the main thing I need to migrate in order to keep the current user accounts.

    Is there a way to use both locations for the .cgi scripts?

    Thanks again for your help!!

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012