在 gentoo 错误上安装 imagick



当我使用此命令pecl install imagick安装适用于 php 的 imagick 时,我收到此错误消息:

libtool: Version mismatch error.  This is libtool 2.2.6b, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
libtool: and run autoconf again.
make: *** [imagick_file.lo] Erreur 63

我找到了另一个具有相同错误但应用程序安装不同的问题的解决方案,但它仍然不起作用:libtool 版本不匹配错误

请问如何解决这个问题?

此解决方案似乎可以解决此问题。见于错误 #58979

wget http://pecl.php.net/get/imagick
tar xvzf imagick
cd ./imagick-3.2.0RC1
phpize
aclocal
libtoolize --force
autoheader
autoconf
./configure
make && make install

有一个可用的电子构建。我会试一试:

$ eix imagick
* dev-php/pecl-imagick
     Available versions:  3.0.1-r1 3.1.0_rc2 ~3.1.2 ~3.2.0_rc1 {examples PHP_TARGETS="php5-3 php5-4 php5-5"}
     Homepage:            http://pecl.php.net/imagick
     Description:         PHP wrapper for the ImageMagick library.

如果有错误报告,请查看 gentoo bugzilla,并尽量不要从 portage 外部安装软件包,因为它往往会破坏东西!通常至少有一些黑客可以让ebuild工作。

如果没有,就给它一两天...

最新更新