Discover Centmin Mod today
Register Now

CentOS 7 Beta Branch ImageMagick-last remi dependency workaround for libwebp on el6

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 29, 2015.

Tags:
  1. BobbyWibowo

    BobbyWibowo Active Member

    197
    42
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +71
    Local Time:
    2:53 AM
    1.17.x
    10.3.x
    Happened 2 weeks ago, but I was on the .08 stable branch. And let me correct something: I could install ImageMagick from yum (I guess), but 15th command of centminmod kept reporting something wrong about MagickWand or something related to it:
    Code:
    Check for php extensions
    *************************************************
    * Installing imagick PHP Extension
    *************************************************
    /usr/local/src/centminmod
    cd /svr-setup
    1
    find . -name \*.gcno -o -name \*.gcda | xargs rm -f
    find . -name \*.lo -o -name \*.o | xargs rm -f
    find . -name \*.la -o -name \*.a | xargs rm -f 
    find . -name \*.so | xargs rm -f
    find . -name .libs -a -type d|xargs rm -rf
    rm -f libphp.la       modules/* libs/*
    Configuring for:
    PHP Api Version:         20131106
    Zend Module Api No:      20131226
    Zend Extension Api No:   220131226
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for a sed that does not truncate output... /usr/bin/sed
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether ccache gcc accepts -g... yes
    checking for ccache gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... ccache gcc -E
    checking for icc... no
    checking for suncc... no
    checking whether ccache 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... 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... re2c
    checking for re2c version... 0.14.3 (ok)
    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... Doesn't exist
    checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
    checking Testing /opt/bin/MagickWand-config... Doesn't exist
    checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
    configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
    /bin/sh /svr-setup/imagick-3.4.0RC5/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC5 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC5/include -I/svr-setup/imagick-3.4.0RC5/main -I/svr-setup/imagick-3.4.0RC5 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC5/imagick_file.c -o imagick_file.lo 
    /bin/sh /svr-setup/imagick-3.4.0RC5/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC5 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC5/include -I/svr-setup/imagick-3.4.0RC5/main -I/svr-setup/imagick-3.4.0RC5 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC5/imagick_class.c -o imagick_class.lo 
    mkdir .libs
    mkdir .libs
    mkdir: cannot create directory '.libs': File exists
     ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC5 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC5/include -I/svr-setup/imagick-3.4.0RC5/main -I/svr-setup/imagick-3.4.0RC5 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC5/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
     ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC5 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC5/include -I/svr-setup/imagick-3.4.0RC5/main -I/svr-setup/imagick-3.4.0RC5 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC5/imagick_class.c  -fPIC -DPIC -o .libs/imagick_class.o
    In file included from /svr-setup/imagick-3.4.0RC5/imagick_class.c:22:0:
    /svr-setup/imagick-3.4.0RC5/php_imagick_defs.h:29:31: fatal error: wand/MagickWand.h: No such file or directory
     #  include <wand/MagickWand.h>
                                   ^
    In file included from /svr-setup/imagick-3.4.0RC5/php_imagick_file.h:24:0,
                     from /svr-setup/imagick-3.4.0RC5/imagick_file.c:22:
    /svr-setup/imagick-3.4.0RC5/php_imagick_defs.h:29:31: fatal error: wand/MagickWand.h: No such file or directory
     #  include <wand/MagickWand.h>
                                   ^
    compilation terminated.
    compilation terminated.
    make: *** [imagick_file.lo] Error 1
    make: *** Waiting for unfinished jobs....
    make: *** [imagick_class.lo] Error 1
    /bin/sh /svr-setup/imagick-3.4.0RC5/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC5 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC5/include -I/svr-setup/imagick-3.4.0RC5/main -I/svr-setup/imagick-3.4.0RC5 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC5/imagick_file.c -o imagick_file.lo 
     ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC5 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC5/include -I/svr-setup/imagick-3.4.0RC5/main -I/svr-setup/imagick-3.4.0RC5 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC5/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
    In file included from /svr-setup/imagick-3.4.0RC5/php_imagick_file.h:24:0,
                     from /svr-setup/imagick-3.4.0RC5/imagick_file.c:22:
    /svr-setup/imagick-3.4.0RC5/php_imagick_defs.h:29:31: fatal error: wand/MagickWand.h: No such file or directory
     #  include <wand/MagickWand.h>
                                   ^
    compilation terminated.
    make: *** [imagick_file.lo] Error 1
    
    Copying imagick.ini > /etc/centminmod/php.d/imagick.ini
    
    service php-fpm restart
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    *************************************************
    * imagick PHP installed
    *************************************************
    
    Total ImagicK PHP Install Time: 3.990761105 seconds


     
  2. eva2000

    eva2000 Administrator Staff Member

    53,828
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    5:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that's imagick php extension NOT imagemagick yum issue

    changelog PECL :: imagick Changelog

    could be bug in 3.4.0RC5 or your source compiled system imagemagick messed up the headers so imagick php extension couldn't find them properly
     
  3. BobbyWibowo

    BobbyWibowo Active Member

    197
    42
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +71
    Local Time:
    2:53 AM
    1.17.x
    10.3.x
    Haven't done any manual build from source for ImageMagick back then, so possibly a bug with 3.4.0RC5.

    Then, is it safe to assume that reinstalling from YUM will work just fine now?
     
  4. BobbyWibowo

    BobbyWibowo Active Member

    197
    42
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +71
    Local Time:
    2:53 AM
    1.17.x
    10.3.x
    Alright, uninstalled ImageMagick that was installed from source with:
    Code:
    make uninstall
    on the source.
    After that installed all ImageMagick things with YUM:
    Code:
    yum install ImageMagick-last ImageMagick-last-c++ ImageMagick-last-c++-devel ImageMagick-last-devel ImageMagick-last-libs --enablerepo=remi
    After that ran centminmod's 15th option:
    Code:
    Check for php extensions
    Check for ImageMagicK System Updates (YUM)
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.linode.com
    * epel: mirror.symnds.com
    * extras: mirrors.linode.com
    * remi: remi.check-update.co.uk
    * remi-safe: remi.check-update.co.uk
    * rpmforge: repoforge.mirror.constant.com
    * updates: mirrors.linode.com
    No packages marked for update
    
    *************************************************
    * Installing imagick PHP Extension
    *************************************************
    /usr/local/src/centminmod
    cd /svr-setup
    1
    find . -name \*.gcno -o -name \*.gcda | xargs rm -f
    find . -name \*.lo -o -name \*.o | xargs rm -f
    find . -name \*.la -o -name \*.a | xargs rm -f
    find . -name \*.so | xargs rm -f
    find . -name .libs -a -type d|xargs rm -rf
    rm -f libphp.la       modules/* libs/*
    Configuring for:
    PHP Api Version:         20131106
    Zend Module Api No:      20131226
    Zend Extension Api No:   220131226
    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 whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether ccache gcc accepts -g... yes
    checking for ccache gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... ccache gcc -E
    checking for icc... no
    checking for suncc... no
    checking whether ccache 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... 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... re2c
    checking for re2c version... 0.14.3 (ok)
    checking for gawk... gawk
    checking whether to enable the imagick extension... yes, shared
    checking for pkg-config... /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.9.3 Q16
    checking for MagickWand.h or magick-wand.h header... user location /usr/include/ImageMagick-6/wand/MagickWand.h
    checking PHP version is at least 5.1.3... yes. found 5.6.18
    libs
    -lMagickWand-6.Q16 -lMagickCore-6.Q16
    
    
    checking for ld used by ccache gcc... /bin/ld
    checking if the linker (/bin/ld) is GNU ld... yes
    checking for /bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /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... 1572864
    checking command to parse /bin/nm -B output from ccache gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if ccache gcc supports -fno-rtti -fno-exceptions... no
    checking for ccache gcc option to produce PIC... -fPIC
    checking if ccache gcc PIC flag -fPIC works... yes
    checking if ccache gcc static flag -static works... no
    checking if ccache gcc supports -c -o file.o... yes
    checking whether the ccache gcc linker (/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
    checking whether the ccache g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for ccache g++ option to produce PIC...
    checking if ccache g++ static flag  works... yes
    checking if ccache g++ supports -c -o file.o... yes
    checking whether the ccache g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs... unsupported
    configure: creating ./config.status
    config.status: creating config.h
    config.status: config.h is unchanged
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagick_file.c -o imagick_file.lo
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagick_class.c -o imagick_class.lo
    mkdir .libs
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagick_class.c  -fPIC -DPIC -o .libs/imagick_class.o
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagickdraw_class.c -o imagickdraw_class.lo
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagickdraw_class.c  -fPIC -DPIC -o .libs/imagickdraw_class.o
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagickpixel_class.c -o imagickpixel_class.lo
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagickpixel_class.c  -fPIC -DPIC -o .libs/imagickpixel_class.o
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagickpixeliterator_class.c -o imagickpixeliterator_class.lo
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagickpixeliterator_class.c  -fPIC -DPIC -o .libs/imagickpixeliterator_class.o
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagick_helpers.c -o imagick_helpers.lo
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagick_helpers.c  -fPIC -DPIC -o .libs/imagick_helpers.o
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_getimagematte’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:299:2: warning: ‘MagickGetImageMatte’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:85) [-Wdeprecated-declarations]
      matte = MagickGetImageMatte(intern->magick_wand);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_paintfloodfillimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:1240:3: warning: ‘MagickPaintFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:102) [-Wdeprecated-declarations]
       status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, NULL, x, y);
       ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:1248:3: warning: ‘MagickPaintFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:102) [-Wdeprecated-declarations]
       status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, border_wand, x, y);
       ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_recolorimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:1729:2: warning: ‘MagickRecolorImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:116) [-Wdeprecated-declarations]
      status = MagickRecolorImage(intern->magick_wand, order, array);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_colorfloodfillimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:4258:2: warning: ‘MagickColorFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:78) [-Wdeprecated-declarations]
      status = MagickColorFloodfillImage(intern->magick_wand, fill_wand, fuzz, border_wand, x, y);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_mapimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:4684:2: warning: ‘MagickMapImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:89) [-Wdeprecated-declarations]
      status = MagickMapImage(intern->magick_wand, intern_map->magick_wand, dither);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_mattefloodfillimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:4723:2: warning: ‘MagickMatteFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:91) [-Wdeprecated-declarations]
      status = MagickMatteFloodfillImage(intern->magick_wand, alpha, fuzz, color_wand, x, y);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_medianfilterimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:4760:2: warning: ‘MagickMedianFilterImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/magick-image.h:222) [-Wdeprecated-declarations]
      status = MagickMedianFilterImage(intern->magick_wand, radius);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_paintopaqueimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:4841:2: warning: ‘MagickPaintOpaqueImageChannel’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:107) [-Wdeprecated-declarations]
      status = MagickPaintOpaqueImageChannel(intern->magick_wand, channel, target_wand, fill_wand, fuzz);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_painttransparentimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:4922:2: warning: ‘MagickPaintTransparentImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:110) [-Wdeprecated-declarations]
      status = MagickPaintTransparentImage(intern->magick_wand, color_wand, alpha, fuzz);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_reducenoiseimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:5085:2: warning: ‘MagickReduceNoiseImage’ is deprecated (declared at /usr/include/ImageMagick-6/wand/magick-image.h:269) [-Wdeprecated-declarations]
      status = MagickReduceNoiseImage(intern->magick_wand, radius);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_getimageattribute’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:6408:2: warning: ‘MagickGetImageAttribute’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:62) [-Wdeprecated-declarations]
      attribute = MagickGetImageAttribute(intern->magick_wand, key);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_getimagechannelextrema’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:6624:2: warning: ‘MagickGetImageChannelExtrema’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:81) [-Wdeprecated-declarations]
      status = MagickGetImageChannelExtrema(intern->magick_wand, channel_type, &minima, &maxima);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_getimageextrema’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:6961:2: warning: ‘MagickGetImageExtrema’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:83) [-Wdeprecated-declarations]
      status = MagickGetImageExtrema(intern->magick_wand, &min, &max);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_getimageindex’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:8069:2: warning: ‘MagickGetImageIndex’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:68) [-Wdeprecated-declarations]
      status = MagickGetImageIndex(intern->magick_wand);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_getimagesize’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:8184:2: warning: ‘MagickGetImageSize’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:147) [-Wdeprecated-declarations]
      ZVAL_LONG(return_value, (long)MagickGetImageSize(intern->magick_wand));
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_setimageattribute’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:8656:2: warning: ‘MagickSetImageAttribute’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:118) [-Wdeprecated-declarations]
      status = MagickSetImageAttribute(intern->magick_wand, key, attribute);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_flattenimages’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:9030:2: warning: ‘MagickFlattenImages’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:139) [-Wdeprecated-declarations]
      tmp_wand = MagickFlattenImages(intern->magick_wand);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_averageimages’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:10213:2: warning: ‘MagickAverageImages’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:138) [-Wdeprecated-declarations]
      tmp_wand = MagickAverageImages(intern->magick_wand);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_mosaicimages’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:10713:2: warning: ‘MagickMosaicImages’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:142) [-Wdeprecated-declarations]
      tmp_wand = MagickMosaicImages(intern->magick_wand);
      ^
    /svr-setup/imagick-3.4.0RC6/imagick_class.c: In function ‘zim_imagick_radialblurimage’:
    /svr-setup/imagick-3.4.0RC6/imagick_class.c:10843:2: warning: ‘MagickRadialBlurImageChannel’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:114) [-Wdeprecated-declarations]
      status = MagickRadialBlurImageChannel(intern->magick_wand, channel, angle);
      ^
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagick.c -o imagick.lo
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagick.c  -fPIC -DPIC -o .libs/imagick.o
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/imagickkernel_class.c -o imagickkernel_class.lo
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/imagickkernel_class.c  -fPIC -DPIC -o .libs/imagickkernel_class.o
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=compile ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-3.4.0RC6/shim_im6_to_im7.c -o shim_im6_to_im7.lo
    ccache gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-3.4.0RC6 -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-3.4.0RC6/shim_im6_to_im7.c  -fPIC -DPIC -o .libs/shim_im6_to_im7.o
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=link ccache gcc -DPHP_ATOM_INC -I/svr-setup/imagick-3.4.0RC6/include -I/svr-setup/imagick-3.4.0RC6/main -I/svr-setup/imagick-3.4.0RC6 -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-6  -DHAVE_CONFIG_H  -g -O2   -o imagick.la -export-dynamic -avoid-version -prefer-pic -module -rpath /svr-setup/imagick-3.4.0RC6/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-6.Q16 -lMagickCore-6.Q16
    ccache gcc -shared  .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  -lMagickWand-6.Q16 -lMagickCore-6.Q16  -Wl,-soname -Wl,imagick.so -o .libs/imagick.so
    creating imagick.la
    (cd .libs && rm -f imagick.la && ln -s ../imagick.la imagick.la)
    /bin/sh /svr-setup/imagick-3.4.0RC6/libtool --mode=install cp ./imagick.la /svr-setup/imagick-3.4.0RC6/modules
    cp ./.libs/imagick.so /svr-setup/imagick-3.4.0RC6/modules/imagick.so
    cp ./.libs/imagick.lai /svr-setup/imagick-3.4.0RC6/modules/imagick.la
    PATH="$PATH:/sbin" ldconfig -n /svr-setup/imagick-3.4.0RC6/modules
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /svr-setup/imagick-3.4.0RC6/modules
    
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify 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 variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during 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 for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    
    Build complete.
    Don't forget to run 'make test'.
    
    Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20131226/
    Installing header files:          /usr/local/include/php/
    
    Copying imagick.ini > /etc/centminmod/php.d/imagick.ini
    
    service php-fpm restart
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    *************************************************
    * imagick PHP installed
    *************************************************
    
    Total ImagicK PHP Install Time: 17.652297248 seconds
    No issue. php --ri imagick reported the version as the latest. Also tried to upload an image as attachment to the XenForo board, and it uploaded just fine as well. So I guess everything's fine, lol.

    On a side note, I can no longer use identify -version command. I guess the packages from yum won't add that thing?
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,828
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    5:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what does these commands now give ?
    Code:
    which identify
    updatedb
    locate bin/identify
    and
    Code:
    yum -q whatprovides */bin/identify --enablerepo=remi --disableplugin=priorities
    then try
    Code:
    yum -y reinstall ImageMagick-last --enablerepo=remi --disableplugin=priorities
     
  6. BobbyWibowo

    BobbyWibowo Active Member

    197
    42
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +71
    Local Time:
    2:53 AM
    1.17.x
    10.3.x
    Uhm, wait, what..!? For some reason, identify -version is working now..
    I tried to use:
    Code:
    which identify
    and it returned:
    Code:
    /usr/bin/identify
    That should be the actual path if it existed to begin with, so I tried to execute identify command, and apparently it returned all the ImageMagick things like version, etc...
    Oh well.. I guess it's all working fine now..
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,828
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    5:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yup looks like it's working now :)