Uni9K1ng 发表于 2018-2-15 19:37:06

ImageMagic lnmp1.5安装失败

PHP7.1 mariadb10.1 centos7.2


checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/imagemagick/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/imagemagick/bin/Wand-config... Doesn't exist
checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/bin/Wand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/Wand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/Wand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/Wand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/Wand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
make: *** No targets specified and no makefile found.Stop.
imagick install failed!

licess 发表于 2018-2-17 14:58:50

提供的安装错误信息有限没法说
只有提示imagemagick 不存在

Uni9K1ng 发表于 2018-2-20 16:40:38



log~

Uni9K1ng 发表于 2018-2-20 16:40:56

回复 2# 的帖子

我把log弄出来啦~麻烦您看下~谢啦

licess 发表于 2018-2-20 19:48:25

CCLD   utilities/magick
MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `WebPMemoryWriterClear'
collect2: error: ld returned 1 exit status

可能与webp有问题,你系统源有问题
Total download size: 15 k
Downloading packages:
http://mirror01.idc.hinet.net/EPEL/7/x86_64/repodata/ec90587c6956d92f0d498b4fc9c87262c3dfcd3e207bcc67faf1432f604d97e6-prestodelta.xml.gz: HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

warning: /var/cache/yum/x86_64/7/epel/packages/epel-release-7-11.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for epel-release-7-11.noarch.rpm is not installed
修正好系统源后重新安装试一下

还不行的话可以更换imagemagick的版本试试

goldeagle 发表于 2018-2-21 17:40:40

错误依旧

MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `WebPMemoryWriterClear'
collect2: error: ld returned 1 exit status
make: *** Error 1
make: Leaving directory `/root/lnmp1.5/src/ImageMagick-7.0.7-15'
make: *** Error 2
imagick-3.4.3.tgz
Uncompress imagick-3.4.3.tgz...
cd imagick-3.4.3...
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718
Zend Extension Api No:   320170718
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... 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/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-zts-20170718
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
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... /bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/imagemagick/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/imagemagick/bin/Wand-config... Doesn't exist
checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/bin/Wand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/Wand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/Wand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/Wand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/Wand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
make: *** No targets specified and no makefile found.Stop.
imagick install failed!
以上是日志代码,系统源已经换成阿里云的

Uni9K1ng 发表于 2018-2-21 22:58:30

回复 5# 的帖子

换了网易和阿里云的源都测试了 错误依旧,明天试试换imagemagick的版本试试

licess 发表于 2018-2-22 09:19:47

回复 7# 的帖子

换最新版imagemagick试试

Uni9K1ng 发表于 2018-2-24 09:43:52

回复 8# 的帖子

现在好了~谢谢~~~
页: [1]
查看完整版本: ImageMagic lnmp1.5安装失败