Linux下编译安装GD2
所需软件包:
automake,libjpeg-devel,libpng-devel,freetype-devel,libtiff-devel,autoconf
# cd /usr/local/src
# tar xzvf gd-2.0.35.tar.gz
# cd gd-2.0.35
# aclocal
...warning: macro `AM_ICONV' not found in library
通过Google得知需要gettext-devel软件包,安装后正常生成。
# ./configure --prefix=/usr/local/gd2 --mandir=/usr/share/man
# make
Makefile.am:18: Libtool library used but `LIBTOOL' is undefined
Makefile.am:18:
Makefile.am:18: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:18: to `configure.ac' and run `aclocal' and `autoconf' again.
make: *** [Makefile.in] Error 1
# rpm -ivh libtool*
安装libtool软件包后重新运行编译安装成功。
# aclocal
# ./configure --prefix=/usr/local/gd2 --mandir=/usr/share/man
# make
# make install
欢迎转载本文,请注明来自:http://www.linuxsense.org
TAG: gd gd2 LIBTOOL
发布: 2008-5-05 15:29 作者: admin 来源: 本站原创 查看: 30次

最新评论
删除 引用 Guest (2008-6-04 00:11:36, 评分: 0 )