lamp 一键安装包,安装imagick
最新的1.3按照个这个链接里的操作
https://www.vpser.net/manage/lnmp-php-install-ext.html
操作下来不能make
root@raspberrypi:~/lnmp1.3-full/src# cd imagick-3.4.2
root@raspberrypi:~/lnmp1.3-full/src/imagick-3.4.2# ls
ChangeLog imagickdraw_class.c php_imagick_file.h
config.m4 imagick_file.c php_imagick.h
config.w32 imagick_helpers.c php_imagick_helpers.h
CREDITS imagickkernel_class.c php_imagick_macros.h
examples imagickpixel_class.c php_imagick_shared.h
imagemagick.m4 imagickpixeliterator_class.cshim_im6_to_im7.c
imagick.c LICENSE shim_im6_to_im7.h
imagick_class.cphp_imagick_defs.h tests
root@raspberrypi:~/lnmp1.3-full/src/imagick-3.4.2# /usr/local/php/bin/phpize
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
root@raspberrypi:~/lnmp1.3-full/src/imagick-3.4.2# ./configure --with-php-config=/usr/local/php/bin/php-config
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 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 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... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (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.
root@raspberrypi:~/lnmp1.3-full/src/imagick-3.4.2# make && make install
make: *** No targets specified and no makefile found.Stop.
root@raspberrypi:~/lnmp1.3-full/src/imagick-3.4.2# ls
acinclude.m4 examples Makefile.global
aclocal.m4 imagemagick.m4 Makefile.objects
autom4te.cacheimagick.c missing
build imagick_class.c mkinstalldirs
ChangeLog imagickdraw_class.c php_imagick_defs.h
config.guess imagick_file.c php_imagick_file.h
config.h.in imagick_helpers.c php_imagick.h
config.log imagickkernel_class.c php_imagick_helpers.h
config.m4 imagickpixel_class.c php_imagick_macros.h
config.nice imagickpixeliterator_class.cphp_imagick_shared.h
config.sub include run-tests.php
configure install-sh shim_im6_to_im7.c
configure.in LICENSE shim_im6_to_im7.h
config.w32 ltmain.sh tests
CREDITS Makefile.fragments
root@raspberrypi:~/lnmp1.3-full/src/imagick-3.4.2# make
make: *** No targets specified and no makefile found.Stop.
root@raspberrypi:~/lnmp1.3-full/src/imagick-3.4.2#
求军哥指导。 https://www.vpser.net/manage/lnmp-lnmpa-imagemagick-install-tutorial.html
应该是这个教程 https://lnmp.org/faq/addons.html
页:
[1]