安装完libxml2后重新configure php 这样再configure php时结果还提示错误,具体的信息忘记记下来了,大体的意思是说没有找到iconv和libiconv请reinstall iconv,这时候已经是晚上10点多了,我怒了,决定试一下ports安装iconv和libiconv.(这下子我是实在没有耐心了)
#whereis iconv
根据提示到相应的目录下iconvpath指相应的目录(当时系统提示的信息具体是什么我记不清了)
#cd iconvpath
然后开始安装
#make install clean
执行上述命令时出/usr/ports/distfiles下没有找到文件,然后出现一个连接到ftp下载的信息,没办法我这个机器不能上外面,我只能用另一台机器上那个ftp上下载软件然后再放到/usr/ports/distfiles这里,重新make install clean 结果又提示缺少什么软件,我就这样一个一个的下载下来放到/usr/ports/distfiles里面
按照上述的方式又安装了libiconv
本已经编译安装了perl 后来一想反正是要ports,就再ports一下这个perl吧
就这样又ports安装了perl一次.
这一切准备完毕
再重新开始的信息configure PHP
这一次没问题了
过几分钟后出现如下提示:
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you d#loadModule php4_module modules/libphp4.so not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+