if ! test -x "`$php_shtool path $PHP_AUTOCONF`"; then cat <<EOF Cannot find autoconf. Please check your autoconf installation and the \$PHP_AUTOCONF environment variable is set correctly and then rerun this script. EOF exit 1 fi if ! test -x "`$php_shtool path $PHP_AUTOHEADER`"; then cat <<EOF Cannot find autoheader. Please check your autoconf installation and the \$PHP_AUTOHEADER environment variable is set correctly and then rerun this script. EOF exit 1 fi }
刚找了php.in文件,我的这个错误出现在phpize_check_autotool函数上,如下,请帮忙看看
phpize_check_autotools()
{
test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf
test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader
if ! test -x "`$php_shtool path $PHP_AUTOCONF`"; then
cat <<EOF
Cannot find autoconf. Please check your autoconf installation and the \$PHP_AUTOCONF
environment variable is set correctly and then rerun this script. EOF
exit 1
fi
if ! test -x "`$php_shtool path $PHP_AUTOHEADER`"; then
cat <<EOF
Cannot find autoheader. Please check your autoconf installation and the \$PHP_AUTOHEADER
environment variable is set correctly and then rerun this script. EOF
exit 1
fi
}