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.

Image::Magick Perl module installation failure

Discussion in 'General Discussion' started by bartek, Mar 27, 2007.

  1. bartek

    bartek Member

    Joined:
    Dec 19, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Attempting to install the Image Magick Perl Module results in a series of errors and failure.
    I believe the problem starts at line 884:
    Magick.xs:64:31: magick/MagickCore.h: No such file or directory

    but I'm attaching the entire log.

    Also, submitting a ticket theough WHM results in:

    Software error:

    YAML Error: Stream does not end with newline character
    Code: YAML_PARSE_ERR_NO_FINAL_NEWLINE
    Line: 0
    Document: 0
    at /usr/lib/perl5/site_perl/5.8.5/YAML.pm line 33

    For help, please send mail to the webmaster (adam@cpanel.net), giving this error message and the time and date of the error.

    (I did write to Adam)

    Any ideas how to get around it? I need this module to run something for a client... :(
     

    Attached Files:

  2. bartek

    bartek Member

    Joined:
    Dec 19, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Turns out this bug has been originally submitted just over a year ago (#3601)


    Is there a workaround to installing ImageMagick Perl modules?
     
  3. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    also interested to know as I need it for a project I have on atm
     
  4. Stephanie_R

    Stephanie_R Active Member

    Joined:
    Mar 1, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    It's better to install from source as the versions are constantly changing and the dependencies too.

    First remove any old RPM installations

    rpm -qa | grep -i Magick

    rpm -e anything that pops up.

    Go to your favourite install directory (/usr/src) whatever

    wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

    tar xvzf ImageMagick.tar.gz

    cd into the new folder (current version is ImageMagick-6.3.3)

    Configure it with whatever crazy stuff the customer needs:

    ./configure --enable-shared --with-modules --without-x --with-gs-font-dir=default --with-

    perl=yes --with-xml=yes --with-zlib=yes --with-jpeg=yes

    (And any other mindless stuff you feel like throwing in :)

    make && make install

    From the folder you are in:

    cd PerlMagick

    perl Makefile.PL

    make

    make install

    And you're all done.
     
Loading...

Share This Page