LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 879|回复: 1

我在fedora4下无法安装GD2,请教!

[复制链接]
发表于 2006-1-17 21:43:06 | 显示全部楼层 |阅读模式
我下载GD的源码包安装之后,用phpinfo察看,还是没有gd2

====================================
这是我输入的命令:
[root@localhost] ./configure
[root@localhost] make
[root@localhost] make test
[root@localhost] make install

然后我通过php源码包直接安装gd,提示:

gcc:sapi/cli/php_cli.o:No such file or directory
gcc:sapi/cli/getopt.o:No such file or directory
make:***[sapi/cli/php]错误1

====================================
这是我输入的命令:
./configure --prefix=/usr/local/php --with-gd=/usr/local/gd2/


请问如何处理

谢谢!
发表于 2006-1-18 09:45:41 | 显示全部楼层
看我http://www.linuxsir.cn/bbs/showthread.php?t=239850帖中的最后的sarg的部分,安装GD需要PNGLIB,Freetype等库的支持,要分别安装。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表