FreeBSD/PHP-5.2.1

configure: error: libxml2 version 2.6.11 or greater required.

PHP5.1.1 をインストールしていたら、下記のようなエラーが。OSが一昔前のモノでしたので、libxml2のバージョンを上げろということらしい。

checking for xml2-config path... /usr/bin/xml2-config
configure: error: libxml2 version 2.6.11 or greater required.

http://xmlsoft.org/ から、libxml2の最新バージョン(libxml2-2.6.30.tar.gz)を取得して、インストールしました。

./configure
make
make install