Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Image::Magick error

Discussion in 'General Discussion' started by NNNils, Jun 20, 2003.

  1. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    166
    When trying to install Image::Magick I get this error:

    /bin/sh ../mkinstalldirs /usr/include/magick
    mkdir -p -- /usr/include/magick
    mkdir: cannot create directory `/usr/include/magick': File exists
    make[2]: *** [install-includeHEADERS] Error 1
    make[2]: Leaving directory
    `/home/cpmagickbuild/magick/ImageMagick-5.5.1/magick'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory
    `/home/cpmagickbuild/magick/ImageMagick-5.5.1/magick'
    make: *** [install-recursive] Error 1

    When looking in /usr/include I see a red colored "file" magick with a @ behind it.

    Should I delete that?

    cPanel.net Support Ticket Number:
     
  2. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    166
    It seems the fact that it is red means the location it is linking to is dead. I now unlinked it and will try installing again.

    cPanel.net Support Ticket Number:
     
  3. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    166
    Getting same error again:

    /bin/sh ../mkinstalldirs /usr/include/magick
    mkdir -p -- /usr/include/magick
    mkdir: cannot create directory `/usr/include/magick': File exists
    make[2]: *** [install-includeHEADERS] Error 1
    make[2]: Leaving directory `/home/cpmagickbuild/magick/ImageMagick-5.5.1/magick'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/home/cpmagickbuild/magick/ImageMagick-5.5.1/magick'
    make: *** [install-recursive] Error 1


    File seems to be created during install process. It tries to link to:

    /usr/X11R6/include/X11/magick/magick

    Which does not exist.

    Any ideas?
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    The following worked for me:

    mkdir /home/cpim
    cd /home/cpim
    /scripts/installrpm ImageMagick
    /scripts/installrpm ImageMagick-devel
    wget http://layer1.cpanel.net/magick.tar.gz
    tar zxvf magick.tar.gz
    cd magick
    sh install

    cPanel.net Support Ticket Number:
     
  5. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    166
    Tried that, same error.

    cPanel.net Support Ticket Number:
     
  6. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    166
    Bump!

    Any other suggestions?

    cPanel.net Support Ticket Number:
     
  7. WebmastTroy

    WebmastTroy Well-Known Member

    Joined:
    Apr 28, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    306
    I ran into a few problems with the install and ended up doing it manually. :rolleyes:

    cPanel.net Support Ticket Number:
     
  8. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    166
    I solved it by manually creating the directory:

    /usr/X11R6/include/X11/magick/magick

    and then running install from whm
     
  9. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    Congrats. Glad you got that solved.:)

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice