如何在Ubuntu 10.04上安装ImageMagic 6.6.2(lucid)清晰的ImageMagic版本(6.5.2)
它非常重要,因为我需要与SVG grafics工作,在我的本地电脑我有Ubuntu的11.04和ImageMagic 6.6.2和一切工作正常,在服务器我有6.5 …我有问题。 重新安装Ubuntu到11. *这是没有解决scheme。
我试着从ubuntu 10.04(lucid)更改/etc/apt/source.list,从Ubuntu 11.04(natty)列表并更新ImageMagic。 在这个动作后,我有ImageMagic 6.6.2(我看了phpinfo()),但ImageMagick现在不工作。 如果我尝试做任何行动,我会得到错误:
[错误] 8996#0:* 19983在stderr中发送了FastCGI:“PHP致命错误:未捕获的exception'ImagickException'带有消息'no decode delegate for this image format`/ tmp / magick-XXnYKWKC'error / constituent.c / ReadImage / 532'
它如何修复? 或者如何返回到旧版本imagemagick?
问题,如果我尝试从源安装:
/tmp/image/ImageMagick-6.7.2-7# ./configure configuring ImageMagick 6.7.2-7 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking whether build environment is sane... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/tmp/image/ImageMagick-6.7.2-7': configure: error: C compiler cannot create executables See `config.log' for more details /tmp/image/ImageMagick-6.7.2-7#
为什么这是个问题? 这是Ubuntu的LTS版本,显然你想坚持稳定的版本(不错的select)。 如果你想拥有更新版本的ImageMagick,那么为什么不升级Ubuntu本身呢? 之间的一切都是不必要的工作加上麻烦。
顺便说一下Ubuntu 10.04上的ImageMagick版本是6.5.7.8。 所以你必须至less更新。
Ubuntu 10.04中的ImageMagick版本是6.5.7。 第1步是将您的机器更新到该版本。 之后,你有两个path可供select:
libc6和libc-bin ,所以很有可能遇到一些问题。 为什么不简单地编译所需的ImageMagick版本(如果不想混淆系统软件包,可能会使用不同的前缀),
$ tar xvfz ImageMagick.tar.gz $ cd ImageMagick- * $ ./configure $ make $ sudo make install
参考: http : //www.imagemagick.org/script/install-source.php? ImageMagick = j5jdjn9mfvhul1r9rno3p50r85# unix