在Suse中安装libgd2

我通常在CentOS和Ubuntu机器上工作,但是我一直在试图在Suse(Suse Enterprise Server 11 x86_64)上安装libgd2。 大量的谷歌search指向我安装gd,但这是版本1.即使是一个zyppersearch“gd”只会产生“gd – 使用PNG和JPEG输出程序的绘图库”。 最终,我试图安装Perl的GD模块,但它依赖于libgd2,并尝试从源安装错误后也抛出错误。 大部分…

configure.ac:51: warning: macro `AM_ICONV' not found in library configure.ac:51: error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Failed 

在CentOS和Ubuntu上安装libgd2是一个单线程,就是这样,但不幸的是我试图让它在Suse上工作。

有没有人曾经在Suse盒子上安装libgd2? 或者如果你知道zypper的魔法命令,那也太棒了。

非常感谢! 珍妮

安装开发库的gettext(gettext-devel在opensuse,我猜),清理一切,再次configuration。