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.

pecl imagick install problem

Discussion in 'General Discussion' started by brij, May 5, 2017.

Tags:
  1. brij

    brij Registered

    Joined:
    Apr 10, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Reseller Owner
    first time to install "Imagick" i get :-
    Code:
    downloading imagick-3.4.3.tgz ...
    Starting to download imagick-3.4.3.tgz (245,410 bytes)
    ............done: 245,410 bytes
    19 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20131106
    Zend Module Api No:      20131226
    Zend Extension Api No:   220131226
    Please provide the prefix of Imagemagick installation [autodetect] : building in /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3
    running: /root/tmp/pear/imagick/configure --with-php-config=/usr/local/bin/php-config --with-imagick
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    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 cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -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... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-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-20131226
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable the imagick extension... yes, shared
    checking for pkg-config... /usr/bin/pkg-config
    checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
    checking Testing /usr/bin/MagickWand-config... It exists
    found in /usr/bin/MagickWand-config
    checking if ImageMagick version is at least 6.2.4... found version 6.7.2 Q16
    checking for MagickWand.h or magick-wand.h header... /usr/include/ImageMagick/wand/MagickWand.h
    checking PHP version is at least 5.1.3... yes. found 5.6.21
    libs
    -lMagickWand -lMagickCore
    
    
    checking for MagickGetVersion... yes
    checking for MagickSetImageInterpolateMethod... yes
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking the maximum length of command line arguments... 392832
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC
    checking if cc PIC flag -fPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... yes
    checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    
    creating libtool
    appending configuration tag "CXX" to libtool
    configure: creating ./config.status
    config.status: creating config.h
    running: make
    /bin/sh /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick   -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/imagick/imagick_file.c -o imagick_file.lo
    mkdir .libs
     cc -fopenmp -I/usr/include/ImageMagick -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/imagick/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
    /bin/sh /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick   -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/imagick/imagick_class.c -o imagick_class.lo
     cc -fopenmp -I/usr/include/ImageMagick -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/imagick/imagick_class.c  -fPIC -DPIC -o .libs/imagick_class.o
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_getimagematte':
    /root/tmp/pear/imagick/imagick_class.c:299: warning: 'MagickGetImageMatte' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:82)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_paintfloodfillimage':
    /root/tmp/pear/imagick/imagick_class.c:1284: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99)
    /root/tmp/pear/imagick/imagick_class.c:1292: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_recolorimage':
    /root/tmp/pear/imagick/imagick_class.c:1774: warning: 'MagickRecolorImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:109)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_colorfloodfillimage':
    /root/tmp/pear/imagick/imagick_class.c:4315: warning: 'MagickColorFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:75)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_mapimage':
    /root/tmp/pear/imagick/imagick_class.c:4743: warning: 'MagickMapImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:86)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_mattefloodfillimage':
    /root/tmp/pear/imagick/imagick_class.c:4784: warning: 'MagickMatteFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:88)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_medianfilterimage':
    /root/tmp/pear/imagick/imagick_class.c:4822: warning: 'MagickMedianFilterImage' is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:212)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_paintopaqueimage':
    /root/tmp/pear/imagick/imagick_class.c:4904: warning: 'MagickPaintOpaqueImageChannel' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:104)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_painttransparentimage':
    /root/tmp/pear/imagick/imagick_class.c:4987: warning: 'MagickPaintTransparentImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:107)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_reducenoiseimage':
    /root/tmp/pear/imagick/imagick_class.c:5151: warning: 'MagickReduceNoiseImage' is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:260)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_getimageattribute':
    /root/tmp/pear/imagick/imagick_class.c:6481: warning: 'MagickGetImageAttribute' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:59)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_getimagechannelextrema':
    /root/tmp/pear/imagick/imagick_class.c:6698: warning: 'MagickGetImageChannelExtrema' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:78)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_getimageextrema':
    /root/tmp/pear/imagick/imagick_class.c:7039: warning: 'MagickGetImageExtrema' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:80)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_getimageindex':
    /root/tmp/pear/imagick/imagick_class.c:8151: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:65)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_getimagesize':
    /root/tmp/pear/imagick/imagick_class.c:8272: warning: 'MagickGetImageSize' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:140)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_setimageattribute':
    /root/tmp/pear/imagick/imagick_class.c:8746: warning: 'MagickSetImageAttribute' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:111)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_flattenimages':
    /root/tmp/pear/imagick/imagick_class.c:9121: warning: 'MagickFlattenImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:132)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_averageimages':
    /root/tmp/pear/imagick/imagick_class.c:10308: warning: 'MagickAverageImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:131)
    /root/tmp/pear/imagick/imagick_class.c: In function 'zim_imagick_mosaicimages':
    /root/tmp/pear/imagick/imagick_class.c:10811: warning: 'MagickMosaicImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:135)
    /bin/sh /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick   -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/imagick/imagickdraw_class.c -o imagickdraw_class.lo
     cc -fopenmp -I/usr/include/ImageMagick -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/imagick/imagickdraw_class.c  -fPIC -DPIC -o .libs/imagickdraw_class.o
    /bin/sh /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick   -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/imagick/imagickpixel_class.c -o imagickpixel_class.lo
     cc -fopenmp -I/usr/include/ImageMagick -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/imagick/imagickpixel_class.c  -fPIC -DPIC -o .libs/imagickpixel_class.o
    /bin/sh /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick   -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/imagick/imagickpixeliterator_class.c -o imagickpixeliterator_class.lo
     cc -fopenmp -I/usr/include/ImageMagick -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/imagick/imagickpixeliterator_class.c  -fPIC -DPIC -o .libs/imagickpixeliterator_class.o
    /bin/sh /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick   -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/imagick/imagick_helpers.c -o imagick_helpers.lo
     cc -fopenmp -I/usr/include/ImageMagick -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/imagick/imagick_helpers.c  -fPIC -DPIC -o .libs/imagick_helpers.o
    /bin/sh /root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick   -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/imagick/imagick.c -o imagick.lo
     cc -fopenmp -I/usr/include/ImageMagick -I. -I/root/tmp/pear/imagick -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/include -I/root/tmp/pear/pear-build-rootkZwXr5/imagick-3.4.3/main -I/root/tmp/pear/imagick -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 -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/imagick/imagick.c  -fPIC -DPIC -o .libs/imagick.o
    In file included from /usr/local/include/php/ext/spl/spl_iterators.h:27,
                     from /root/tmp/pear/imagick/imagick.c:37:
    /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory
    In file included from /usr/local/include/php/ext/spl/spl_iterators.h:27,
                     from /root/tmp/pear/imagick/imagick.c:37:
    /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before 'pcre'
    make: *** [imagick.lo] Error 1
    ERROR: `make' failed
    The imagick.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20131226
    Tidying /usr/local/cpanel/3rdparty/php/56/etc/php.ini...
    No changes
    Tidying /usr/local/lib/php.ini...
    No changes
    
    
    And second day i try again and i get:-
    Code:
    Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Thu May  4 21:13:36 2017)
    Tuned C compiler not available because it is not enabled....Done
    CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
    Method: Using Perl Expect, Installer: cpanm
    --perl is deprecated since it's known to be fragile in figuring out dependencies. Run `/scripts/cpan_sandbox/x86_64/perl -S cpanm` instead.
    cpanm (App::cpanminus) 1.7039 on perl 5.010001 built for x86_64-linux-thread-multi
    Work directory is /home/.cpanm/work/1493968474.29582
    You have make /usr/bin/make
    Falling back to HTTP::Tiny 0.056
    You have /bin/tar: tar (GNU tar) 1.23
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later .
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    
    Written by John Gilmore and Jay Fenlason.
    You have /usr/bin/unzip
    Testing connection speed...(using fast method)...Done
    Ping:0.0242810249328613 (ticks) Testing connection speed to mirrors.kernel.org using pureperl...(cached .. 27100.31 bytes/s)...Done
    Ping:0.0381851196289062 (ticks) Testing connection speed to cpan.llarian.net using pureperl...(cached .. 15171.67 bytes/s)...Done
    Ping:0.0759100914001465 (ticks) Testing connection speed to cpan.mirrors.tds.net using pureperl...(cached .. 8401.72 bytes/s)...Done
    Ping:0.074552059173584 (ticks) Testing connection speed to cpan.uchicago.edu using pureperl...(cached .. 7562.86 bytes/s)...Done
    Ping:0.0556681156158447 (ticks) Testing connection speed to cpan.mirrors.hoobly.com using pureperl...(cached .. 7500.80 bytes/s)...Done
    Five usable mirrors located
    Ping:1000 (ticks) Testing connection speed to 69.73.140.17 using pureperl...(using cached speed)...Done
    Ping:0.0273020267486572 (ticks) Testing connection speed to 69.50.192.73 using pureperl...(using cached speed)...Done
    Ping:0.0388419628143311 (ticks) Testing connection speed to 208.109.109.239 using pureperl...(using cached speed)...Done
    Three usable fallback mirrors located
    Fetching The Comprehensive Perl Archive Network - www.cpan.org (connected:0).......(request attempt 1/12)...Resolving mirrors.kernel.org...(resolve attempt 1/65)...@149.20.37.36......receiving......request success......Done
    Mirror Check passed for mirrors.kernel.org (/index.html)
    Searching on cpanmetadb ...
    Searching Wx::Perl::Imagick on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/Wx::Perl::Imagick) ...
    Source: fastest CPAN mirror ... --> Working on Wx::Perl::Imagick
    Fetching http://mirrors.kernel.org/cpan///authors/id/J/JO/JOUKE/Wx-Perl-Imagick-0.02.tar.gz ... OK
    Unpacking Wx-Perl-Imagick-0.02.tar.gz
    Wx-Perl-Imagick-0.02/
    Wx-Perl-Imagick-0.02/Changes
    Wx-Perl-Imagick-0.02/lib/
    Wx-Perl-Imagick-0.02/lib/Wx/
    Wx-Perl-Imagick-0.02/lib/Wx/Perl/
    Wx-Perl-Imagick-0.02/lib/Wx/Perl/Imagick.pm
    Wx-Perl-Imagick-0.02/Makefile.PL
    Wx-Perl-Imagick-0.02/MANIFEST
    Wx-Perl-Imagick-0.02/META.yml
    Wx-Perl-Imagick-0.02/README
    Wx-Perl-Imagick-0.02/t/
    Wx-Perl-Imagick-0.02/t/00-load.t
    Wx-Perl-Imagick-0.02/t/pod-coverage.t
    Wx-Perl-Imagick-0.02/t/pod.t
    Entering Wx-Perl-Imagick-0.02
    Checking configure dependencies from META.yml
    Configuring Wx-Perl-Imagick-0.02 ... Running Makefile.PL
    [2017-05-05 02:14:44 -0500] info [cpanm] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
    info [cpanm] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
    
    
    perl-64bit-hack: enabled
    Checking if your kit is complete...
    Looks good
    Warning: prerequisite Image::Magick 0 not found.
    Warning: prerequisite Wx 0 not found.
    Could not open 'lib\Wx\Perl\Imagick.pm': No such file or directory at /usr/share/perl5/ExtUtils/MM_Unix.pm line 2627.
    N/A
    ! Configure failed for Wx-Perl-Imagick-0.02. See /home/.cpanm/work/1493968474.29582/build.log for details.
    Perl Expect failed with non-zero exit status: 256
    
    All available perl module install methods have failed
    
     
    #1 brij, May 5, 2017
    Last edited by a moderator: May 5, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can run the following command to verify the required packages are installed:

    Code:
    yum install ImageMagick ImageMagick-devel pcre-devel
    Then, use the following command to install the PECL module for PHP 7.0:

    Code:
    /opt/cpanel/ea-php70/root/usr/bin/pecl install imagick
    If that succeeds, run this command:

    Code:
    echo 'extension=imagick.so' > /opt/cpanel/ea-php70/root/etc/php.d/imagick.ini
    Note that you'd change "php70" with the version of PHP you want to install the PECL module on, and use the same steps for each PHP version installed on your system.

    Thank you.
     
Loading...

Share This Page