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 Installation problem please help

Discussion in 'General Discussion' started by soul3, Mar 15, 2008.

  1. soul3

    soul3 Member

    Joined:
    Mar 13, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have install imagemagick through cpanel I have cpanel with Centos when I install it through cpanel I got an error.

    downloading imagick-2.1.1.tgz ...
    Starting to download imagick-2.1.1.tgz (74,980 bytes)
    .................done: 74,980 bytes
    5 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20041225
    Zend Module Api No: 20060613
    Zend Extension Api No: 220060519
    1. Please provide the prefix of Imagemagick installation : autodetect

    1-1, 'all', 'abort', or Enter to continue: building in /root/tmp/pear-build-root/imagick-2.1.1
    running: /root/tmp/pear/imagick/configure --with-imagick
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether gcc and cc understand -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
    checking for PHP installed headers prefix... /usr/local/include/php
    checking for re2c... no
    configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable the imagick extension... yes, shared
    checking whether to enable the imagick GraphicsMagick backend... no
    checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
    ERROR: `/root/tmp/pear/imagick/configure --with-imagick' failed
    The imagick.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613


    Someone please tell me how ca I fix this error.

    Regards,
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Is your tmp/ mounted with noexec? If so, remove noexec for the install.
     
  3. soul3

    soul3 Member

    Joined:
    Mar 13, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for your reply can you please explane me how do I know tmp/ mounted with noexec? how can I remove noexec for the installation ?
     
  4. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    In ssh session, you can type:
    mount

    Locate your tmp entry and check the options.
     
  5. johnmigen

    johnmigen Active Member

    Joined:
    Jan 19, 2008
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    You may want to do a manual install instead, if unmounting and mounting don't seemed appealing to you.

    First, remove any old RPM installs:
    rpm -qa | grep -i Magick
    rpm -e anything that pops up

    Install ImageMagick
    yum install glib
    yum install glib2
    yum install libpng
    yum install libjpeg
    yum install libtiff
    yum install ghostscript
    yum install freetype
    yum install ImageMagick
    yum install ImageMagick-perl

    Reference from:
    http://wiki.movabletype.org/Installation_of_ImageMagick
     
  6. big

    big Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    thanks thanks thanks thanks
     
  7. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Just type 'umount -l /tmp' and redo the IM install.
    Once done, type 'mount /tmp'.
     
Loading...

Share This Page