If you’ve also been running into those PHP_AUTOCONF errors when trying to build php modules on FreeBSD, then you’ll be interested in this. The following two commands fixed the problem for me:
ln -s /usr/local/bin/autoheader-2.59 /usr/local/bin/autoheader259
ln -s /usr/local/bin/autoconf-2.59 /usr/local/bin/autoconf259
The error message I was getting is as follows:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script
05-October-2007 Update
If you’re seeing this problem again with autoconf 2.61 and php 5.2.4 on FreeBSD 6.2, the new fix is to run these commands (assuming you are using a c shell):
setenv PHP_AUTOCONF autoconf-2.61
setenv PHP_AUTOHEADER autoheader-2.61









