我那台G4因为硬盘经常报错,昨天终于抽空换块硬盘全新安装5.1 ,安装源是官方CD。这次准备专门做web服务,所以只安装了 bsd.mp,base,etc,man 这几个我认为必须的包。然后安装php-5.2.17和一些基本的扩展(mysqli,soap,curl,bz2,mcrypt,xsl),但在安装 gd库时出现问题:
请帮我看看该咋整;另外 5.1 R 的phpMyAdmin 3.4.9只支持 php 5.3.10 了,或者我抽空再试试 php-gd-5.3.10 是否正常,只是担心一些较早的php软件会有问题。# pkg_add php-gd-5.2.17p6
Can't install php-gd-5.2.17p6 because of libraries
|library X11.15.0 not found
| not found anywhere
|library Xpm.8.0 not found
| not found anywhere
|library freetype.18.1 not found
| not found anywhere
Direct dependencies for php-gd-5.2.17p6 resolve to php-5.2.17p8 png-1.5.6p0 t1lib-5.1.2 jpeg-8c
Full dependency tree is femail-chroot-0.98 libiconv-1.14 t1lib-5.1.2 gettext-0.18.1p1 jpeg-8c femail-0.98 php-5.2.17p8 png-1.5.6p0 libxml-2.7.8p4