The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ImageMagick - Where To Start

Discussion in 'General Discussion' started by ShelaghG, Feb 23, 2007.

  1. ShelaghG

    ShelaghG Active Member

    Joined:
    Apr 11, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I'm trying to install this for use with MovableType and am getting nowhere fast. I've tried installing it as a PerlModule in WHM and just get loads of errors. I went to the IM website and there is a tar file there and some instructions however they don't say where to PUT the tar file on my server - presumably I don't want it in my root folder! Some articles I've seen talk about libraries, others about perl modules. All I want are some reasonably simple instructions on what to get from where, where to upload it and how to install it? I seem to be hoping for the sun, moon and stars :eek:
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    If your try to install ImageMagick, this link may help http://www.tweakgeek.com/node/57

    we've used it on server boxes w/Cpanel and worked quiet well.

    Mickalo
     
  3. ShelaghG

    ShelaghG Active Member

    Joined:
    Apr 11, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I already saw that link but the page is blank :confused:
     
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Here is it in a nutshell:
    =================================================================
    REF URL: http://www.tweakgeek.com/node/57
    CHECK CURRENT VERSION:

    $> convert -v | head -n 1 | cut -c 22-26


    This will return a version, it might be 6.0.0, or 6.0.5 or even maybe 5.x.
    However, the current version of ImageMagick and the most secure is 6.1.5,
    so assuming you aren't using 6.1.5 the following is how to quickly and easily upgrade.

    You will need to determine where your ImageMagick is installed, to do this type:

    $> which convert

    This will return a path, on cPanel servers it'll most likely be either
    /usr/bin/convert or /usr/local/bin/convert. Keep this setting available as you
    will need it later. Please remember however, you only want to use /usr or /usr/local/,
    do not include "bin/convert" in the path.
    Code:
    INSTALL:
    
    $> wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
    $> gunzip -c ./ImageMagick.tar.gz | tar xvf -
    $> cd ./ImageMagick-6.3.1
    $> ./configure --prefix=/usr/local
    $> make
    $> make install
    
    $> cd ./PerlMagick
    $> perl ./Makefile.PL
    $> make
    $> make install
    
    Mickalo
     
  5. ShelaghG

    ShelaghG Active Member

    Joined:
    Apr 11, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for that, I'll give it a go :)
     
  6. ShelaghG

    ShelaghG Active Member

    Joined:
    Apr 11, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    It worked perfectly :D Thank you very much for posting those instructions.
     
  7. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    glad to help. This has been posted several times here :)

    Mickalo
     
Loading...

Share This Page