PhpSwitcher error install php-imagick

  • Hallo,


    I wont to install php-imagick but I become a error.



    Is there a special command to install it.


    Kind regards
    Viktor


    PhpSwitcher: Version 2.3.2 (Build 2016121301)
    System: Debian 8.7
    i-MSCP: 1.3.14

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • @Viktor


    Please read the documentation. You are not using the correct pecl command.


    From the documentation

    Code
    1. If you want install a Pecl extension for a specific PHP version, you must not use the `pecl` or `phpize` commands that are shipped with your distribution. Instead, you must use the commands that are provided in the directory of the PHP version for which you want act.

    And what you do? You use the pecl command that is shipped with your distribution...


    The correct commands is:


    Shell-Script
    1. # cd /opt/phpswitcher/20170122/php7.1/bin# ./pecl install imagick

    For instance on my test system:

    Code
    1. root@srv01:/opt/phpswitcher/php7.1/bin# ./pecl install -f imagickdownloading imagick-3.4.3.tgz ...Starting to download imagick-3.4.3.tgz (245,410 bytes)...................................................done: 245,410 bytes19 source files, buildingrunning: phpizeConfiguring for:PHP Api Version: 20160303Zend Module Api No: 20160303Zend Extension Api No: 320160303Please provide the prefix of Imagemagick installation [autodetect] :building in /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3running: /tmp/pear/temp/imagick/configure --with-php-config=/opt/phpswitcher/php7.1/bin/php-config --with-imagickchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for cc... ccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether cc accepts -g... yeschecking for cc option to accept ISO C89... none neededchecking how to run the C preprocessor... cc -Echecking for icc... nochecking for suncc... nochecking whether cc understands -c and -o together... yeschecking for system library directory... libchecking if compiler supports -R... nochecking if compiler supports -Wl,-rpath,... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for PHP prefix... /opt/phpswitcher/php7.1checking for PHP includes... -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/libchecking for PHP extension directory... /opt/phpswitcher/php7.1/lib/php/20160303checking for PHP installed headers prefix... /opt/phpswitcher/php7.1/include/phpchecking if debug is enabled... nochecking if zts is enabled... nochecking for re2c... re2cchecking for re2c version... 0.13.5 (ok)checking for gawk... nochecking for nawk... nawkchecking if nawk is broken... nochecking whether to enable the imagick extension... yes, sharedchecking for pkg-config... /usr/bin/pkg-configchecking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't existchecking Testing /usr/bin/MagickWand-config... It existsfound in /usr/bin/MagickWand-configchecking if ImageMagick version is at least 6.2.4... found version 6.7.7 Q16checking for MagickWand.h or magick-wand.h header... /usr/include/ImageMagick/wand/MagickWand.hchecking PHP version is at least 5.1.3... yes. found 7.1.2libs-lMagickWand -lMagickCorechecking for MagickGetVersion... yeschecking for MagickSetImageInterpolateMethod... yeschecking how to print strings... printfchecking for a sed that does not truncate output... (cached) /bin/sedchecking for fgrep... /bin/grep -Fchecking for ld used by cc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking the name lister (/usr/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noopchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noopchecking for /usr/bin/ld option to reload object files... -rchecking for objdump... objdumpchecking how to recognize dependent libraries... pass_allchecking for dlltool... nochecking how to associate runtime and link libraries... printf %s\nchecking for ar... archecking for archiver @FILE support... @checking for strip... stripchecking for ranlib... ranlibchecking for gawk... (cached) nawkchecking command to parse /usr/bin/nm -B output from cc object... okchecking for sysroot... nochecking for mt... mtchecking if mt is a manifest tool... nochecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if cc supports -fno-rtti -fno-exceptions... nochecking for cc option to produce PIC... -fPIC -DPICchecking if cc PIC flag -fPIC -DPIC works... yeschecking if cc static flag -static works... yeschecking if cc supports -c -o file.o... yeschecking if cc supports -c -o file.o... (cached) yeschecking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... noconfigure: creating ./config.statusconfig.status: creating config.hconfig.status: executing libtool commandsrunning: make/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_file.c -o imagick_file.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_file.c -fPIC -DPIC -o .libs/imagick_file.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -o imagick_class.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -fPIC -DPIC -o .libs/imagick_class.o/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimagematte':/tmp/pear/temp/imagick/imagick_class.c:299:2: warning: 'MagickGetImageMatte' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:82) [-Wdeprecated-declarations]matte = MagickGetImageMatte(intern->magick_wand);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_paintfloodfillimage':/tmp/pear/temp/imagick/imagick_class.c:1284:3: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99) [-Wdeprecated-declarations]status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, NULL, x, y);^/tmp/pear/temp/imagick/imagick_class.c:1292:3: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99) [-Wdeprecated-declarations]status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, border_wand, x, y);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_recolorimage':/tmp/pear/temp/imagick/imagick_class.c:1774:2: warning: 'MagickRecolorImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:109) [-Wdeprecated-declarations]status = MagickRecolorImage(intern->magick_wand, order, array);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_colorfloodfillimage':/tmp/pear/temp/imagick/imagick_class.c:4315:2: warning: 'MagickColorFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:75) [-Wdeprecated-declarations]status = MagickColorFloodfillImage(intern->magick_wand, fill_wand, fuzz, border_wand, x, y);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_mapimage':/tmp/pear/temp/imagick/imagick_class.c:4743:2: warning: 'MagickMapImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:86) [-Wdeprecated-declarations]status = MagickMapImage(intern->magick_wand, intern_map->magick_wand, dither);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_mattefloodfillimage':/tmp/pear/temp/imagick/imagick_class.c:4784:2: warning: 'MagickMatteFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:88) [-Wdeprecated-declarations]status = MagickMatteFloodfillImage(intern->magick_wand, alpha, fuzz, color_wand, x, y);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_medianfilterimage':/tmp/pear/temp/imagick/imagick_class.c:4822:2: warning: 'MagickMedianFilterImage' is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:217) [-Wdeprecated-declarations]status = MagickMedianFilterImage(intern->magick_wand, radius);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_paintopaqueimage':/tmp/pear/temp/imagick/imagick_class.c:4904:2: warning: 'MagickPaintOpaqueImageChannel' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:104) [-Wdeprecated-declarations]status = MagickPaintOpaqueImageChannel(intern->magick_wand, channel, target_wand, fill_wand, fuzz);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_painttransparentimage':/tmp/pear/temp/imagick/imagick_class.c:4987:2: warning: 'MagickPaintTransparentImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:107) [-Wdeprecated-declarations]status = MagickPaintTransparentImage(intern->magick_wand, color_wand, alpha, fuzz);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_reducenoiseimage':/tmp/pear/temp/imagick/imagick_class.c:5151:2: warning: 'MagickReduceNoiseImage' is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:265) [-Wdeprecated-declarations]status = MagickReduceNoiseImage(intern->magick_wand, radius);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimageattribute':/tmp/pear/temp/imagick/imagick_class.c:6481:2: warning: 'MagickGetImageAttribute' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:59) [-Wdeprecated-declarations]attribute = MagickGetImageAttribute(intern->magick_wand, key);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimagechannelextrema':/tmp/pear/temp/imagick/imagick_class.c:6698:2: warning: 'MagickGetImageChannelExtrema' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:78) [-Wdeprecated-declarations]status = MagickGetImageChannelExtrema(intern->magick_wand, channel_type, &minima, &maxima);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimageextrema':/tmp/pear/temp/imagick/imagick_class.c:7039:2: warning: 'MagickGetImageExtrema' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:80) [-Wdeprecated-declarations]status = MagickGetImageExtrema(intern->magick_wand, &min, &max);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimageindex':/tmp/pear/temp/imagick/imagick_class.c:8151:2: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:65) [-Wdeprecated-declarations]status = MagickGetImageIndex(intern->magick_wand);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimagesize':/tmp/pear/temp/imagick/imagick_class.c:8272:2: warning: 'MagickGetImageSize' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:140) [-Wdeprecated-declarations]ZVAL_LONG(return_value, (long)MagickGetImageSize(intern->magick_wand));^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_setimageattribute':/tmp/pear/temp/imagick/imagick_class.c:8746:2: warning: 'MagickSetImageAttribute' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:111) [-Wdeprecated-declarations]status = MagickSetImageAttribute(intern->magick_wand, key, attribute);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_flattenimages':/tmp/pear/temp/imagick/imagick_class.c:9121:2: warning: 'MagickFlattenImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:132) [-Wdeprecated-declarations]tmp_wand = MagickFlattenImages(intern->magick_wand);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_averageimages':/tmp/pear/temp/imagick/imagick_class.c:10308:2: warning: 'MagickAverageImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:131) [-Wdeprecated-declarations]tmp_wand = MagickAverageImages(intern->magick_wand);^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_mosaicimages':/tmp/pear/temp/imagick/imagick_class.c:10811:2: warning: 'MagickMosaicImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:135) [-Wdeprecated-declarations]tmp_wand = MagickMosaicImages(intern->magick_wand);^/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickdraw_class.c -o imagickdraw_class.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickdraw_class.c -fPIC -DPIC -o .libs/imagickdraw_class.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixel_class.c -o imagickpixel_class.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixel_class.c -fPIC -DPIC -o .libs/imagickpixel_class.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -o imagickpixeliterator_class.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -fPIC -DPIC -o .libs/imagickpixeliterator_class.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_helpers.c -o imagick_helpers.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_helpers.c -fPIC -DPIC -o .libs/imagick_helpers.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick.c -o imagick.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick.c -fPIC -DPIC -o .libs/imagick.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickkernel_class.c -o imagickkernel_class.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickkernel_class.c -fPIC -DPIC -o .libs/imagickkernel_class.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=compile cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -o shim_im6_to_im7.lolibtool: compile: cc -fopenmp -I/usr/include/ImageMagick -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -fPIC -DPIC -o .libs/shim_im6_to_im7.o/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/opt/phpswitcher/php7.1/include/php -I/opt/phpswitcher/php7.1/include/php/main -I/opt/phpswitcher/php7.1/include/php/TSRM -I/opt/phpswitcher/php7.1/include/php/Zend -I/opt/phpswitcher/php7.1/include/php/ext -I/opt/phpswitcher/php7.1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -o imagick.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/modules imagick_file.lo imagick_class.lo imagickdraw_class.lo imagickpixel_class.lo imagickpixeliterator_class.lo imagick_helpers.lo imagick.lo imagickkernel_class.lo shim_im6_to_im7.lo -lMagickWand -lMagickCorelibtool: link: cc -shared -fPIC -DPIC .libs/imagick_file.o .libs/imagick_class.o .libs/imagickdraw_class.o .libs/imagickpixel_class.o .libs/imagickpixeliterator_class.o .libs/imagick_helpers.o .libs/imagick.o .libs/imagickkernel_class.o .libs/shim_im6_to_im7.o /usr/lib/x86_64-linux-gnu/libMagickWand.so /usr/lib/x86_64-linux-gnu/libMagickCore.so -O2 -fopenmp -pthread -Wl,-soname -Wl,imagick.so -o .libs/imagick.solibtool: link: ( cd ".libs" && rm -f "imagick.la" && ln -s "../imagick.la" "imagick.la" )/bin/bash /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/libtool --mode=install cp ./imagick.la /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/moduleslibtool: install: cp ./.libs/imagick.so /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/modules/imagick.solibtool: install: cp ./.libs/imagick.lai /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/modules/imagick.lalibtool: finish: PATH="/opt/phpswitcher/php7.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/modules----------------------------------------------------------------------Libraries have been installed in:/tmp/pear/temp/pear-build-root5fEesu/imagick-3.4.3/modulesIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following:- add LIBDIR to the `LD_LIBRARY_PATH' environment variableduring execution- add LIBDIR to the `LD_RUN_PATH' environment variableduring linking- use the `-Wl,-rpath -Wl,LIBDIR' linker flag- have your system administrator add LIBDIR to `/etc/ld.so.conf'See any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------Build complete.Don't forget to run 'make test'.running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3" installInstalling shared extensions: /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/lib/php/20160303/Installing header files: /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/include/php/running: find "/tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3" | xargs ls -dils6423 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.36460 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt6461 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher6462 4 drwxr-xr-x 4 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.16466 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/include6467 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/include/php6468 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/include/php/ext6469 4 drwxr-xr-x 2 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/include/php/ext/imagick6470 4 -rw-r--r-- 1 root root 1828 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/include/php/ext/imagick/php_imagick_shared.h6463 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/lib6464 4 drwxr-xr-x 3 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/lib/php6465 4 drwxr-xr-x 2 root root 4096 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/lib/php/201603036459 1104 -rwxr-xr-x 1 root root 1129170 mars 6 05:43 /tmp/pear/temp/pear-build-root5fEesu/install-imagick-3.4.3/opt/phpswitcher/php7.1/lib/php/20160303/imagick.soBuild process completed successfullyInstalling '/opt/phpswitcher/php7.1/include/php/ext/imagick/php_imagick_shared.h'Installing '/opt/phpswitcher/php7.1/lib/php/20160303/imagick.so'install ok: channel://pecl.php.net/imagick-3.4.3configuration option "php_ini" is not set to php.ini locationYou should add "extension=imagick.so" to php.ini
    Shell-Script
    1. root@srv01:/opt/phpswitcher/php7.1/bin# echo 'extension = imagick.so' >> /opt/phpswitcher/php7.1/etc/php/conf.d/modules.ini
    Shell-Script
    1. root@srv01:/opt/phpswitcher/php7.1/bin# ./php -i |grep imagick
    2. imagick
    3. imagick module => enabled
    4. imagick module version => 3.4.3
    5. imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
    6. imagick.locale_fix => 0 => 0
    7. imagick.progress_monitor => 0 => 0
    8. imagick.skip_version_check => 0 => 0
    9. root@srv01:/opt/phpswitcher/php7.1/bin#

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206