VPS侦探论坛

 找回密码
 注册
查看: 3352|回复: 2

lamp 一键安装包,安装imagick

[复制链接]
发表于 2016-10-9 14:04:57 | 显示全部楼层 |阅读模式

最新的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.c  shim_im6_to_im7.c
imagick.c        LICENSE                       shim_im6_to_im7.h
imagick_class.c  php_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.cache  imagick.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.c  php_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#


求军哥指导。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-10-9 14:44:11 | 显示全部楼层


https://www.vpser.net/manage/lnmp-lnmpa-imagemagick-install-tutorial.html

应该是这个教程
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-10-9 15:32:54 | 显示全部楼层
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 19:39 , Processed in 0.025733 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表